99 GPS C/A PRN Generator

99 : 0b 001 100 011 : GPS C/A PRN Generator

Select Project 1 2 3 4 5 6 7 8 9 ON SW2

How it works

Two LFSRs are constructed per the GPS ICD, and the first is added to selected taps of the second to produce the selected final PRN sequence.

How to test

With io_in[2:7] set to 2 to select PRN2, reset and then drive the clock; the output sequence on io_out[2] will start with 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1.

IO

# Input Output
0 clock G1
1 reset G2
2 prn[0] Selected PRN
3 prn[1] none
4 prn[2] none
5 prn[3] none
6 prn[4] none
7 none none