Make the window bigger to see more of it. The Java code to generate the PRN codes is based on Basic code by Tom Clark. These generators are designed to be implemented in hardware. I'm not used to bit twiddling in Java, so I might not have done this the fastest way. Note that all PRNs in this demo are drawn according to their binary values, not their code state values.
Time is shown increasing to the right.
This shows chip by chip how a correlation could be calculated. Again, the window only shows the first part. It only calculates the part that shows. This one will check the correlation for all lags. It checks the correlation using the number of chips specified in the width box.