Pn code generators

mar05

Intro:

    There are 3 types of pn code generators in use at the observatory:
  1. pncmem: pncode with 64k mem.
  2. pnclong : long code generator 2^39-1 length.
  3. pn128: pncode with 64K mem and 128K codes.
Documents:



Some specs are:
 





















128 length pncode generator.

    This generator was created from a spare pncode memory board in mar05. The memory is 4 bits by 64K. In the standard 64K mem board B3  is  the code output and B0 being the marker (software determined). To get to 128K-1 (131071) B2 is also used to output the pncode. The starting phase offset functionality had to be sacrificed to get this to work. The pn128 board always starts at phase 0. The board functionality is best show with a pnCode of length 7. Let C1 thru C7 be the 7 pncode values then:
 
 
memAdr B3 (StartAdr) B2 (CodeLen)
0 C4 C7
1 C3 C6
2 C2 C5
3 C1 x

    The code has been spread over the two bits. The number of bits in each col are not the same since the codelengths are always odd and odd number are not divisible by two.
    The codeLen register and startAdr Register are now used to specify the length of B2 and B3. When the start command is received, the generator goes to the startAdr memory location and starts counting down to 0. When it reaches mem0, it resets to  the codelen memory location and then continues counting down to 0. At the end of the B2 countdown,  it goes back to startAdr memory and starts with B3 again. The X location is only accessed at the start of the B3 countdown (start of the code). The marker has been loaded into B1,B0 for this memory location.
    Any length code is allowable up to 128K (although the datataking software loads only valid pn codes). The only drawback to this device is that does not let you change the code start address. For datatking this means that the decoded echo will start with the round trip time.

Software:

Be careful with configuration. You should stop the generator before configuring.


<- page up
home_~phil