Sign in
foss-fpga-tools
/
symbiflow-arch-defs
/
refs/heads/gsoc-2023-dsp
/
.
/
xilinx
/
xc7
/
tests
/
simple_ff
/
simple_ff_full.v
blob: b30cf2ea4b72b52303653c1184f61f99ef909199 [
file
] [
log
] [
blame
] [
edit
]
module
top
(
input wire clk
,
input wire
[
15
:
0
]
sw
,
output wire
[
15
:
0
]
led
,
input wire rx
,
output wire tx
);
wire gclk
;
BUFG bufg
(.
I
(
clk
),
.
O
(
gclk
));
FDCE
#(
.
INIT
(
0
),
)
fdse
(
.
Q
(
led
[
0
]),
.
C
(
gclk
),
.
CE
(
sw
[
0
]),
.
D
(
sw
[
1
]),
.
CLR
(
sw
[
2
])
);
endmodule