Sign in
gem5
/
amd
/
gem5
/
7cab8db5a9dab67a53906a3416100a2642d350b7
/
.
/
src
/
systemc
/
tests
/
systemc
/
communication
/
sc_export
/
test02
/
test02.cpp
blob: f044fc741c2254ba5ef829bda71e4e116cf4533b [
file
] [
log
] [
blame
]
#include
"systemc.h"
SC_MODULE
(
X
)
{
SC_CTOR
(
X
)
{
a
(
b
);
}
sc_export
<
sc_signal_inout_if
<int>
>
a
;
sc_export
<
sc_signal_inout_if
<int>
>
b
;
};
int
sc_main
(
int
argc
,
char
*
argv
[])
{
sc_clock clock
;
X x
(
"x"
);
sc_start
(
1
,
SC_NS
);
return
0
;
}