Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
3f4e38faba84ce292e5f05601b70dd598f686411
/
.
/
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_