Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
356a4bf2123fc606ca19fbed9b9c535f149fdec5
/
.
/
SVIncCompil
/
Testcases
/
YosysTests
/
regression
/
issue_00084
/
top.v
blob: ac22790fe3d5b912b5348e267f6ccef265cd00e1 [
file
] [
log
] [
blame
]
module
top
(
addr
,
ce
,
q
,
clk
);
input clk
;
input
[
9
:
0
]
addr
;
input ce
;
output reg
[
7
:
0
]
q
;
reg
[
7
:
0
]
ram
[
1023
:
0
];
always
@(
posedge clk
)
begin
if
(
ce
)
begin
q
<=
ram
[
addr
];
end
end
endmodule