mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
26caf997d3
- Driving all values from the command line - Standardizing around "OH_" to avoid name conflicts - Driving seed as a parameter value
7 lines
185 B
Bash
Executable File
7 lines
185 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
# LFSR
|
|
iverilog -DOH_CTRL="8'h12" -DOH_N=5 sim.v tb_oh_lfsr.v -y ../rtl/ -y . ; ./a.out
|
|
iverilog -DOH_CTRL="8'h9" -DOH_N=4 sim.v tb_oh_lfsr.v -y ../rtl/ -y . ; ./a.out
|