blob: 07539010eab2a4e4a3c6c0c6a61cb28966b62584 [file] [log] [blame]
yosys -import
if { [info procs read_sdc] == {} } { plugin -i sdc }
yosys -import ;# ingest plugin commands
read_verilog $::env(DESIGN_TOP).v
synth_xilinx
create_clock -period 10 clk
propagate_clocks
write_sdc $::env(DESIGN_TOP)_1.sdc
write_json $::env(DESIGN_TOP).json
design -push
read_json $::env(DESIGN_TOP).json
write_sdc $::env(DESIGN_TOP)_2.sdc