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