mirror of https://github.com/YosysHQ/yosys.git
hierarchy - proc reorder
This commit is contained in:
parent
7785f23719
commit
0d60902fd9
|
@ -1,5 +1,6 @@
|
|||
read_verilog add_sub.v
|
||||
hierarchy -top top
|
||||
proc
|
||||
equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
read_verilog adffs.v
|
||||
design -save read
|
||||
|
||||
proc
|
||||
hierarchy -top adff
|
||||
proc
|
||||
equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||
cd adff # Constrain all select calls below inside the top module
|
||||
|
@ -10,8 +10,8 @@ select -assert-count 1 t:TRELLIS_FF
|
|||
select -assert-none t:TRELLIS_FF %% t:* %D
|
||||
|
||||
design -load read
|
||||
proc
|
||||
hierarchy -top adffn
|
||||
proc
|
||||
equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||
cd adffn # Constrain all select calls below inside the top module
|
||||
|
@ -20,8 +20,8 @@ select -assert-count 1 t:LUT4
|
|||
select -assert-none t:TRELLIS_FF t:LUT4 %% t:* %D
|
||||
|
||||
design -load read
|
||||
proc
|
||||
hierarchy -top dffs
|
||||
proc
|
||||
equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||
cd dffs # Constrain all select calls below inside the top module
|
||||
|
@ -30,8 +30,8 @@ select -assert-count 1 t:LUT4
|
|||
select -assert-none t:TRELLIS_FF t:LUT4 %% t:* %D
|
||||
|
||||
design -load read
|
||||
proc
|
||||
hierarchy -top ndffnr
|
||||
proc
|
||||
equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||
cd ndffnr # Constrain all select calls below inside the top module
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
read_verilog dffs.v
|
||||
design -save read
|
||||
|
||||
proc
|
||||
hierarchy -top dff
|
||||
proc
|
||||
equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||
cd dff # Constrain all select calls below inside the top module
|
||||
|
@ -10,8 +10,8 @@ select -assert-count 1 t:TRELLIS_FF
|
|||
select -assert-none t:TRELLIS_FF %% t:* %D
|
||||
|
||||
design -load read
|
||||
proc
|
||||
hierarchy -top dffe
|
||||
proc
|
||||
equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||
cd dffe # Constrain all select calls below inside the top module
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
read_verilog latches.v
|
||||
design -save read
|
||||
|
||||
proc
|
||||
hierarchy -top latchp
|
||||
proc
|
||||
# Can't run any sort of equivalence check because latches are blown to LUTs
|
||||
synth_ecp5
|
||||
cd latchp # Constrain all select calls below inside the top module
|
||||
|
@ -13,8 +13,8 @@ select -assert-none t:LUT4 %% t:* %D
|
|||
|
||||
|
||||
design -load read
|
||||
proc
|
||||
hierarchy -top latchn
|
||||
proc
|
||||
# Can't run any sort of equivalence check because latches are blown to LUTs
|
||||
synth_ecp5
|
||||
cd latchn # Constrain all select calls below inside the top module
|
||||
|
@ -24,8 +24,8 @@ select -assert-none t:LUT4 %% t:* %D
|
|||
|
||||
|
||||
design -load read
|
||||
proc
|
||||
hierarchy -top latchsr
|
||||
proc
|
||||
# Can't run any sort of equivalence check because latches are blown to LUTs
|
||||
synth_ecp5
|
||||
cd latchsr # Constrain all select calls below inside the top module
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
read_verilog logic.v
|
||||
hierarchy -top top
|
||||
proc
|
||||
equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
read_verilog macc.v
|
||||
proc
|
||||
hierarchy -top top
|
||||
proc
|
||||
# Blocked by issue #1358 (Missing ECP5 simulation models)
|
||||
#equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
equiv_opt -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
read_verilog mul.v
|
||||
hierarchy -top top
|
||||
proc
|
||||
# Blocked by issue #1358 (Missing ECP5 simulation models)
|
||||
#equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
equiv_opt -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
read_verilog mux.v
|
||||
design -save read
|
||||
|
||||
proc
|
||||
hierarchy -top mux2
|
||||
proc
|
||||
equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||
cd mux2 # Constrain all select calls below inside the top module
|
||||
|
@ -10,8 +10,8 @@ select -assert-count 1 t:LUT4
|
|||
select -assert-none t:LUT4 %% t:* %D
|
||||
|
||||
design -load read
|
||||
proc
|
||||
hierarchy -top mux4
|
||||
proc
|
||||
equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||
cd mux4 # Constrain all select calls below inside the top module
|
||||
|
@ -22,8 +22,8 @@ select -assert-count 2 t:PFUMX
|
|||
select -assert-none t:LUT4 t:L6MUX21 t:PFUMX %% t:* %D
|
||||
|
||||
design -load read
|
||||
proc
|
||||
hierarchy -top mux8
|
||||
proc
|
||||
equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||
cd mux8 # Constrain all select calls below inside the top module
|
||||
|
@ -34,8 +34,8 @@ select -assert-count 2 t:PFUMX
|
|||
select -assert-none t:LUT4 t:L6MUX21 t:PFUMX %% t:* %D
|
||||
|
||||
design -load read
|
||||
proc
|
||||
hierarchy -top mux16
|
||||
proc
|
||||
equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
||||
cd mux16 # Constrain all select calls below inside the top module
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
read_verilog rom.v
|
||||
hierarchy -top top
|
||||
proc
|
||||
flatten
|
||||
equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check
|
||||
|
|
Loading…
Reference in New Issue