Fix comments

This commit is contained in:
Eddie Hung 2019-08-22 12:35:35 -07:00
parent 9224b3bc17
commit f9906eed68
8 changed files with 11 additions and 10 deletions

View File

@ -1,6 +1,6 @@
read_verilog add_sub.v read_verilog add_sub.v
hierarchy -top top hierarchy -top top
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
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 11 t:SB_LUT4 select -assert-count 11 t:SB_LUT4

View File

@ -1,8 +1,8 @@
read_verilog adffs.v read_verilog adffs.v
proc proc
async2sync async2sync # converts async flops to a 'sync' variant clocked by a 'super'-clock
flatten 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
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

View File

@ -2,7 +2,7 @@ read_verilog dffs.v
hierarchy -top top hierarchy -top top
proc proc
flatten 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
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

View File

@ -1,7 +1,7 @@
read_verilog div_mod.v read_verilog div_mod.v
hierarchy -top top hierarchy -top top
flatten 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
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 88 t:SB_LUT4 select -assert-count 88 t:SB_LUT4

View File

@ -2,4 +2,5 @@ read_verilog memory.v
synth_ice40 synth_ice40
cd top cd top
select -assert-count 1 t:SB_RAM40_4K select -assert-count 1 t:SB_RAM40_4K
select -assert-none t:SB_RAM40_4K %% t:* %D
write_verilog memory_synth.v write_verilog memory_synth.v

View File

@ -1,6 +1,6 @@
read_verilog mul.v read_verilog mul.v
hierarchy -top top hierarchy -top top
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
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_MAC16 select -assert-count 1 t:SB_MAC16

View File

@ -1,8 +1,8 @@
read_verilog mux.v read_verilog mux.v
proc proc
flatten flatten
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40 equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40 # equivalency check
design -load postopt design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
cd top cd top # Constrain all select calls below inside the top module
select -assert-count 19 t:SB_LUT4 select -assert-count 19 t:SB_LUT4
select -assert-none t:SB_LUT4 %% t:* %D select -assert-none t:SB_LUT4 %% t:* %D

View File

@ -2,7 +2,7 @@ read_verilog tribuf.v
hierarchy -top top hierarchy -top top
proc proc
flatten 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
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_