Sign in
◑
Theme
foss-fpga-tools
/
third_party
/
Surelog
/
4e2abbf559b85d1c0b1dffd013a27b4b8c78dd2c
/
.
/
src
/
Testcases
/
YosysTests
/
simple
/
extract_counter
/
top.v
blob: 4f015ecab7a7ae40e5a343267267eaaa14c22a83 [
file
]
module
top
(
out
,
clk
,
reset
);
output
[
7
:
0
]
out
;
input clk
,
reset
;
reg
[
7
:
0
]
out
;
always
@(
posedge clk
,
posedge reset
)
if
(
reset
)
begin
out
<=
8
'b0 ;
end else
`ifndef BUG
out <= out + 1;
`else
out <= out - 1'
bZ
;
`endif
endmodule