diff options
author | gatecat <gatecat@ds0.me> | 2021-06-15 17:39:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-15 17:39:23 +0100 |
commit | ded32f33906e2547eec68d91715c0759290c6a1f (patch) | |
tree | f2e5654bf8b2a5398e159572e0dd8257832b5817 /fpga_interchange/examples/tests/ram_nexus/run_nexus.tcl | |
parent | b77119e1a3c3b1fff8a62f38fc56900e10a4fa2e (diff) | |
parent | 9df05c4f984d554f868437f79872404707a7658f (diff) | |
download | nextpnr-ded32f33906e2547eec68d91715c0759290c6a1f.tar.gz nextpnr-ded32f33906e2547eec68d91715c0759290c6a1f.tar.bz2 nextpnr-ded32f33906e2547eec68d91715c0759290c6a1f.zip |
Merge pull request #728 from YosysHQ/gatecat/nexus-ram
interchange/nexus: Add RAM techmap rule and a RAM test
Diffstat (limited to 'fpga_interchange/examples/tests/ram_nexus/run_nexus.tcl')
-rw-r--r-- | fpga_interchange/examples/tests/ram_nexus/run_nexus.tcl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fpga_interchange/examples/tests/ram_nexus/run_nexus.tcl b/fpga_interchange/examples/tests/ram_nexus/run_nexus.tcl new file mode 100644 index 00000000..4ea5e282 --- /dev/null +++ b/fpga_interchange/examples/tests/ram_nexus/run_nexus.tcl @@ -0,0 +1,15 @@ +yosys -import + +read_verilog $::env(SOURCES) + +synth_nexus -nolutram -nowidelut -noccu2 -nodsp +techmap -max_iter 1 -map $::env(TECHMAP) + +# opt_expr -undriven makes sure all nets are driven, if only by the $undef +# net. +opt_expr -undriven +opt_clean + +setundef -zero -params + +write_json $::env(OUT_JSON) |