2020-11-26 21:30:48 -06:00
|
|
|
read_verilog ../common/mux.v
|
|
|
|
design -save read
|
|
|
|
|
|
|
|
hierarchy -top mux2
|
|
|
|
proc
|
2023-08-29 03:21:58 -05:00
|
|
|
equiv_opt -assert -map +/lattice/cells_sim_xo2.v synth_lattice -family xo2 # equivalency check
|
2020-11-26 21:30:48 -06:00
|
|
|
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
|
|
|
|
select -assert-count 1 t:LUT4
|
2023-03-18 12:12:02 -05:00
|
|
|
select -assert-none t:LUT4 t:TRELLIS_IO %% t:* %D
|
2020-11-26 21:30:48 -06:00
|
|
|
|
|
|
|
design -load read
|
|
|
|
hierarchy -top mux4
|
|
|
|
proc
|
2023-08-29 03:21:58 -05:00
|
|
|
equiv_opt -assert -map +/lattice/cells_sim_xo2.v synth_lattice -family xo2 # equivalency check
|
2020-11-26 21:30:48 -06:00
|
|
|
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
|
|
|
|
select -assert-count 2 t:LUT4
|
|
|
|
|
2023-03-18 12:12:02 -05:00
|
|
|
select -assert-none t:LUT4 t:TRELLIS_IO %% t:* %D
|
2020-11-26 21:30:48 -06:00
|
|
|
|
|
|
|
design -load read
|
|
|
|
hierarchy -top mux8
|
|
|
|
proc
|
2023-08-29 03:21:58 -05:00
|
|
|
equiv_opt -assert -map +/lattice/cells_sim_xo2.v synth_lattice -family xo2 # equivalency check
|
2020-11-26 21:30:48 -06:00
|
|
|
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
|
|
|
|
select -assert-count 5 t:LUT4
|
|
|
|
|
2023-03-18 12:12:02 -05:00
|
|
|
select -assert-none t:LUT4 t:TRELLIS_IO %% t:* %D
|
2020-11-26 21:30:48 -06:00
|
|
|
|
|
|
|
design -load read
|
|
|
|
hierarchy -top mux16
|
|
|
|
proc
|
2023-08-29 03:21:58 -05:00
|
|
|
equiv_opt -assert -map +/lattice/cells_sim_xo2.v synth_lattice -family xo2 # equivalency check
|
2020-11-26 21:30:48 -06:00
|
|
|
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
|
2021-11-09 04:22:48 -06:00
|
|
|
select -assert-max 12 t:LUT4
|
2020-11-26 21:30:48 -06:00
|
|
|
|
2023-03-18 12:12:02 -05:00
|
|
|
select -assert-none t:LUT4 t:TRELLIS_IO %% t:* %D
|