Sign in
foss-fpga-tools
/
yosys-symbiflow-plugins
/
8bd2e514898a5f2f3d8f37cf1636ad1fe2906dd6
/
.
/
ql-iob-plugin
/
tests
/
sdiomux
/
design.v
blob: 1aa05fb258771b68109903eb5a0754509ae83144 [
file
] [
log
] [
blame
]
module
top
(
input wire clk
,
output wire
[
3
:
0
]
led
,
inout wire io
);
reg
[
3
:
0
]
r
;
initial r
<=
0
;
always
@(
posedge clk
)
r
<=
r
+
io
;
assign led
=
{
r
[
0
],
r
[
1
],
r
[
2
],
r
[
3
]};
assign io
=
r
[
0
]
?
1
:
1
'bz;
endmodule