2023-10-09 13:13:42 +02:00
|
|
|
read_verilog ../../common/add_sub.v
|
2021-03-17 03:34:30 +01:00
|
|
|
hierarchy -top top
|
2023-07-07 15:27:21 +02:00
|
|
|
equiv_opt -assert -map +/quicklogic/pp3/cells_sim.v synth_quicklogic -family pp3 # equivalency check
|
2021-03-17 03:34:30 +01:00
|
|
|
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
|
2021-04-12 11:33:40 +02:00
|
|
|
select -assert-count 2 t:LUT2
|
|
|
|
|
select -assert-count 8 t:LUT3
|
|
|
|
|
select -assert-count 2 t:LUT4
|
2021-03-17 03:34:30 +01:00
|
|
|
select -assert-count 8 t:inpad
|
|
|
|
|
select -assert-count 8 t:outpad
|
|
|
|
|
select -assert-none t:LUT2 t:LUT3 t:LUT4 t:inpad t:outpad %% t:* %D
|