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
/
module02
/
module01.v
blob
7de44b0372be31fcc47fc123dbd39365795e91aa
1
module
module01b
(
input
clk
,
2
input
rst
,
3
output reg
[
7
:
0
]
val
,
4
output
one
);
5
always
@(
posedge
clk
)
6
if
(
rst
)
7
val
<=
0
;
8
else
9
val
<=
val
+ 1
;
10
11
assign
one
=
val
==
1
;
12
endmodule
13
14
module
module01
(
input
clk
,
15
input
rst
,
16
output
[
7
:
0
]
val
,
17
output
one
);
18
module01b
dut
(
.
one
(
one
),
.
val
(
val
),
.
rst
(
rst
),
.
clk
(
clk
));
19
endmodule
// module01