mirror of https://github.com/YosysHQ/yosys.git
Remove tech independent synthesis
This commit is contained in:
parent
388eb3288c
commit
9224b3bc17
|
@ -1,6 +1,5 @@
|
||||||
read_verilog add_sub.v
|
read_verilog add_sub.v
|
||||||
hierarchy -top top
|
hierarchy -top top
|
||||||
synth -flatten -run coarse # technology-independent coarse grained synthesis
|
|
||||||
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40 # equivalency check same as technology-dependent fine-grained synthesis
|
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40 # equivalency check same as technology-dependent fine-grained synthesis
|
||||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||||
cd top # Constrain all select calls below inside the top module
|
cd top # Constrain all select calls below inside the top module
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
read_verilog adffs.v
|
read_verilog adffs.v
|
||||||
proc
|
proc
|
||||||
async2sync
|
async2sync
|
||||||
synth -flatten -run coarse # technology-independent coarse grained synthesis
|
flatten
|
||||||
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40 # equivalency check same as technology-dependent fine-grained synthesis
|
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40 # equivalency check same as technology-dependent fine-grained synthesis
|
||||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||||
cd top # Constrain all select calls below inside the top module
|
cd top # Constrain all select calls below inside the top module
|
||||||
select -assert-count 1 t:SB_DFF
|
select -assert-count 1 t:SB_DFF
|
||||||
select -assert-count 1 t:SB_DFFE
|
select -assert-count 1 t:SB_DFFN
|
||||||
select -assert-count 4 t:SB_LUT4
|
select -assert-count 2 t:SB_DFFSR
|
||||||
#select -assert-none t:SB_LUT4 t:SB_DFFR t:SB_DFFE t:$_DFFSR_NPP_ t:$_DFFSR_PPP_ %% t:* %D
|
select -assert-count 7 t:SB_LUT4
|
||||||
write_verilog adffs_synth.v
|
select -assert-none t:SB_DFF t:SB_DFFN t:SB_DFFSR t:SB_LUT4 %% t:* %D
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
read_verilog dffs.v
|
read_verilog dffs.v
|
||||||
hierarchy -top top
|
hierarchy -top top
|
||||||
synth -flatten -run coarse # technology-independent coarse grained synthesis
|
proc
|
||||||
|
flatten
|
||||||
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40 # equivalency check same as technology-dependent fine-grained synthesis
|
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40 # equivalency check same as technology-dependent fine-grained synthesis
|
||||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||||
cd top # Constrain all select calls below inside the top module
|
cd top # Constrain all select calls below inside the top module
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
read_verilog div_mod.v
|
read_verilog div_mod.v
|
||||||
hierarchy -top top
|
hierarchy -top top
|
||||||
synth -flatten -run coarse # technology-independent coarse grained synthesis
|
flatten
|
||||||
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40 # equivalency check same as technology-dependent fine-grained synthesis
|
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40 # equivalency check same as technology-dependent fine-grained synthesis
|
||||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||||
cd top # Constrain all select calls below inside the top module
|
cd top # Constrain all select calls below inside the top module
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
read_verilog latches.v
|
read_verilog latches.v
|
||||||
synth_ice40
|
synth_ice40
|
||||||
select -assert-count 5 t:SB_LUT4
|
cd top
|
||||||
#select -assert-none t:SB_LUT4 %% t:* %D
|
select -assert-count 4 t:SB_LUT4
|
||||||
|
select -assert-none t:SB_LUT4 %% t:* %D
|
||||||
write_verilog latches_synth.v
|
write_verilog latches_synth.v
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
read_verilog memory.v
|
read_verilog memory.v
|
||||||
synth_ice40
|
synth_ice40
|
||||||
|
cd top
|
||||||
select -assert-count 1 t:SB_RAM40_4K
|
select -assert-count 1 t:SB_RAM40_4K
|
||||||
write_verilog memory_synth.v
|
write_verilog memory_synth.v
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
read_verilog mul.v
|
read_verilog mul.v
|
||||||
hierarchy -top top
|
hierarchy -top top
|
||||||
#synth -flatten -run coarse # technology-independent coarse grained synthesis
|
|
||||||
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40 -dsp # equivalency check same as technology-dependent fine-grained synthesis
|
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40 -dsp # equivalency check same as technology-dependent fine-grained synthesis
|
||||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||||
cd top # Constrain all select calls below inside the top module
|
cd top # Constrain all select calls below inside the top module
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
read_verilog mux.v
|
read_verilog mux.v
|
||||||
synth_ice40
|
proc
|
||||||
|
flatten
|
||||||
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40
|
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40
|
||||||
design -load postopt
|
design -load postopt
|
||||||
select -assert-count 20 t:SB_LUT4
|
cd top
|
||||||
select -assert-count 1 t:SB_CARRY
|
select -assert-count 19 t:SB_LUT4
|
||||||
|
select -assert-none t:SB_LUT4 %% t:* %D
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
read_verilog tribuf.v
|
read_verilog tribuf.v
|
||||||
hierarchy -top top
|
hierarchy -top top
|
||||||
synth -flatten -run coarse # technology-independent coarse grained synthesis
|
proc
|
||||||
equiv_opt -map +/ice40/cells_sim.v synth_ice40 # equivalency check same as technology-dependent fine-grained synthesis
|
flatten
|
||||||
|
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40 # equivalency check same as technology-dependent fine-grained synthesis
|
||||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||||
cd top # Constrain all select calls below inside the top module
|
cd top # Constrain all select calls below inside the top module
|
||||||
select -assert-count 1 t:$_TBUF_
|
select -assert-count 1 t:$_TBUF_
|
||||||
|
|
Loading…
Reference in New Issue