Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
356a4bf2123fc606ca19fbed9b9c535f149fdec5
/
.
/
SVIncCompil
/
Testcases
/
YosysTests
/
simple
/
dff_d0
/
top.v
blob: d0fa718e1705c0b4cc2fbef10e42980a39695909 [
file
] [
log
] [
blame
]
module
dff
(
clk
,
d
,
q
);
input clk
;
input d
;
output reg q
;
always
@(
posedge clk
)
q
<=
d
;
endmodule
module
top
(
input clk
,
input a
,
output b
);
dff u_dff
(
.
clk
(
clk
),
`ifndef BUG
.d (1'b0 ),
`
else
.
d
(
a
),
`endif
.q (b )
);
endmodule