Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
e911119afa19222dc9bbad9ba934f3d965e34302
/
.
/
SVIncCompil
/
Testcases
/
YosysTests
/
regression
/
scripts
/
issue_01128.ys
blob: 53dce4e23570d25e79b65bcd26170a77ebd863c2 [
file
] [
log
] [
blame
]
read_verilog
../
top
.
v
insbuf
# select just the $_BUF_ from w1 to w2 as @buf
select
-
set
buf w
:
w1
%
coe1 w
:
w1
%
d
# set the keep attribute for the $_BUF_ from w1 to w2
setattr
-
set
keep
1
@buf
opt_clean
select
-
assert
-
count
1
t
:
$_BUF_