https://github.com/osqzss/gps-sdr-sim
(Seriously: Don't do this unless you're taking extreme care not to radiate outside your lab.)