repo.or.cz
/
ghdl-vlg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
verilog: add sv_maps iterators
[ghdl-vlg.git]
/
testsuite
/
synth
/
assign01
/
mem02.v
blob
96d9c7f1a3506ca353cb378c115811b20b2f5e1c
1
module
mem02
(
output
[
0
:
7
]
r
,
input
[
0
:
7
]
v
,
2
input
[
0
:
3
]
addr
,
input
clk
);
3
reg
[
7
:
0
]
mem
[
3
:
0
];
4
5
always
@(
posedge
clk
)
6
mem
[
addr
] <=
v
;
7
8
assign
r
=
mem
[
addr
];
9
endmodule