OpenCores
URL https://opencores.org/ocsvn/nlprg/nlprg/trunk

Subversion Repositories nlprg

[/] [nlprg/] [trunk/] [README.md] - Diff between revs 2 and 3

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 2 Rev 3
# NLPRG
# NLPRG
This project provides an example of a non-linear pseudo random generator ( nlprg ). The nlprg can produce a pseudo-random sequence with a period of 2^n numbers, where n is the numbers of registers.
This project provides an example of a non-linear pseudo random generator ( nlprg ). The nlprg can produce a pseudo-random sequence with a period of 2^n numbers, where n is the numbers of registers.
For more information an circuit examples visit my blog at https://fdblog.xyz/circuits/non-linear-pseudo-random-generator-introduction/
For more information an circuit examples visit my blog at https://fdblog.xyz/circuits/non-linear-pseudo-random-generator-introduction/
You can find the circuit schematic in the doc folder.
You can find the circuit schematic in the doc folder.
 
 
After running the simulation ( for example by running : iverilog nlprng8_tb.v ; ./a.out ), you should find the resulting sequence in the tb/log and all the waves in the tb/wave.
Assuming you have icarus verilog installed, you can run the simulation going in trunk, cd trunk, and then, source runsim.sh, the output of the runsim.sh command is the pseudo-random sequence ( 2nd column ).
 
 
 
The resulting sequence is stored in the tb/log and all the waves are in the tb/wave.
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.