Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to ex_adder
ex_adder
: driver.cpp
File driver.cpp,
210 bytes
(added by
fpecheux
,
15 years ago
)
Line
1
// File : driver.cpp
2
#include
"driver.h"
3
4
void
driver
::
prc_driver
()
5
{
6
sc_uint
<
3
>
pattern
;
7
pattern
=
0
;
8
9
while
(
1
)
10
{
11
d_a
=
pattern
[
0
];
12
d_b
=
pattern
[
1
];
13
d_cin
=
pattern
[
2
];
14
wait
(
5
,
SC_NS
);
15
pattern
++
;
16
}
17
}
18
Download in other formats:
Original Format