GPS (Global Positioning System) plays a crucial role in modern navigation and positioning applications. Traditional research and development of GPS signals require expensive hardware equipment, limiting the flexibility and scalability of the system. In this paper, an open-source software called GNU Radio is utilized to construct a GPS signal simulation system, leveraging its rich modules and signal processing libraries. The GPS baseband signals are generated using signal processing modules provided by GNU Radio. Appropriate noise and interference are added to simulate the signal characteristics in real-world environments. Both single-channel and multi-channel signal models are presented. By comparing the generated GPS signals with those from hardware-based simulators, the results demonstrate that the GPS software simulator based on GNU Radio can produce high-quality GPS signals with excellent flexibility and adjustability.