Sign in
gem5
/
public
/
gem5
/
985dd1ea9d5483964192f5a29e7513492c6e158e
/
.
/
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
;
}