Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
3f4e38faba84ce292e5f05601b70dd598f686411
/
.
/
SVIncCompil
/
Testcases
/
YosysTests
/
simple
/
expose_dff
/
top.v
blob: 68b9338bafe0eed03a260c34e87eefed6da0aa35 [
file
] [
log
] [
blame
]
module
dffr
(
input d
,
clk
,
output reg q
);
always
@(
posedge clk
)
q
<=
d
;
endmodule
module
top
(
input clk
,
input a
,
output b
);
dffr u_dffr
(
.
clk
(
clk
),
`ifndef BUG
.d (a ),
`
else
.
d
(
1
'b1 ),
`endif
.q (b )
);
endmodule