Cross Reference: test04.cpp
xref: /gem5/src/systemc/tests/systemc/communication/sc_export/test04/test04.cpp
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /gem5/src/systemc/tests/systemc/communication/sc_export/test04/
test04.cpp revision 12855:588919e0e4aa
1955SN/A#include "systemc.h"
2955SN/A
31762SN/ASC_MODULE(X)
4955SN/A{
5955SN/A	SC_CTOR(X) : a("a")
6955SN/A	{
7955SN/A	}
8955SN/A	sc_export<sc_signal_inout_if<int> > a;
9955SN/A};
10955SN/A
11955SN/Aint sc_main(int argc, char* argv[])
12955SN/A{
13955SN/A	X        x("x");
14955SN/A
15955SN/A	sc_start(1, SC_NS);
16955SN/A	return 0;
17955SN/A}
18955SN/A

Indexes created Thu Sep 26 06:36:22 EDT 2019