diff options
author | Lofty <dan.ravensloft@gmail.com> | 2022-02-24 20:29:43 +0000 |
---|---|---|
committer | Lofty <dan.ravensloft@gmail.com> | 2022-02-24 20:38:56 +0000 |
commit | fbb02e286047108dbfbd6bd71cddc777a6752ecf (patch) | |
tree | 316cbbac172ddec7a2f0e7383f60911fe0ebbfd3 /generic/viaduct/okami/synth_okami.tcl | |
parent | 440d7e394e5643a59dbd5a4b7af47a1c8902d7a0 (diff) | |
download | nextpnr-fbb02e286047108dbfbd6bd71cddc777a6752ecf.tar.gz nextpnr-fbb02e286047108dbfbd6bd71cddc777a6752ecf.tar.bz2 nextpnr-fbb02e286047108dbfbd6bd71cddc777a6752ecf.zip |
okami: new Viaduct arch
Diffstat (limited to 'generic/viaduct/okami/synth_okami.tcl')
-rw-r--r-- | generic/viaduct/okami/synth_okami.tcl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/generic/viaduct/okami/synth_okami.tcl b/generic/viaduct/okami/synth_okami.tcl new file mode 100644 index 00000000..1a0212eb --- /dev/null +++ b/generic/viaduct/okami/synth_okami.tcl @@ -0,0 +1,24 @@ +# Usage +# tcl synth_okami.tcl {out.json} + +yosys read_verilog -lib [file dirname [file normalize $argv0]]/okami_prims.v +yosys hierarchy -check -top top +yosys proc +yosys flatten +yosys tribuf -logic +yosys deminout +yosys synth -run coarse +yosys memory_map +yosys opt -full +yosys iopadmap -bits -inpad INBUF O:PAD -outpad OUTBUF I:PAD +yosys techmap -map +/techmap.v +yosys opt -fast +yosys dfflegalize -cell \$_DFF_P_ 0 +yosys abc -lut 4 -dress +yosys clean +yosys techmap -map [file dirname [file normalize $argv0]]/okami_map.v +yosys clean +yosys hierarchy -check +yosys stat + +if {$argc > 0} { yosys write_json [lindex $argv 0] } |