add TCL script for firmware creation
This commit is contained in:
parent
a9c0d91341
commit
e93fb454bf
1 changed files with 12 additions and 0 deletions
12
top.tcl
Normal file
12
top.tcl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
yosys -import
|
||||
read_verilog -D$::env(IC) -noautowire -sv top.sv
|
||||
puts "device is $::env(IC)" ;
|
||||
|
||||
#yosys proc
|
||||
procs
|
||||
# the above are the same, see: http://www.clifford.at/yosys/cmd_tcl.html
|
||||
|
||||
opt -full
|
||||
alumacc
|
||||
share -aggressive
|
||||
synth_ice40 -abc2 -top top -blif top.blif
|
||||
Loading…
Reference in a new issue