Basic structure of modules
The tutorial is followed by https://github.com/RobertBaruch/nmigen-tutorial/ Thumbs up for his contributions.
|
|
Elaborating a module
|
|
- main(module, ports=[
], platform=" ") translate the given module into verilog. This is call elaboration. All elaborate() medthod will have its platform argument set to the given platform like particular chips or evaluation boards.
python3 thing.py generate -t [v|il] > thing.[v|il]
If you encounter any error message, Back to day00 and install the pre-requisties.
- Choose RTLIL if using yosys.