cd adff # Constrain all select calls below inside the top module
select -assert-count 1 t:BUFG
select -assert-count 1 t:FDCE
+
select -assert-none t:BUFG t:FDCE %% t:* %D
+
design -load read
proc
hierarchy -top adffn
select -assert-count 1 t:BUFG
select -assert-count 1 t:FDCE
select -assert-count 1 t:LUT1
+
select -assert-none t:BUFG t:FDCE t:LUT1 %% t:* %D
+
design -load read
proc
hierarchy -top dffs
select -assert-count 1 t:BUFG
select -assert-count 1 t:FDRE
select -assert-count 1 t:LUT2
+
select -assert-none t:BUFG t:FDRE t:LUT2 %% t:* %D
+
design -load read
proc
hierarchy -top ndffnr
select -assert-count 1 t:BUFG
select -assert-count 1 t:FDRE_1
select -assert-count 1 t:LUT2
-select -assert-none t:BUFG t:FDRE_1 t:LUT2 %% t:* %D
\ No newline at end of file
+
+select -assert-none t:BUFG t:FDRE_1 t:LUT2 %% t:* %D