51 sc_signal<bool>&
data;
54 RDY ( sc_module_name NAME,
56 sc_signal<bool>& DATA )
77 cout <<
"\nSTART OF SIM -- CLOCK AT NEGEDGE (10,30,50,...) " << endl;
78 cout << sc_time_stamp() <<
" : "
79 <<
" ready[S] = " <<
data
83 a = 0; cout <<
"\t\t\t a = 0 " << endl;
84 cout << sc_time_stamp() <<
" : "
85 <<
" ready[S] = " <<
data
88 data.write(0); cout <<
" ready = 0 " << endl;
89 cout << sc_time_stamp() <<
" : "
90 <<
" ready[S] = " <<
data
93 wait(); cout <<
"\nCLK " << endl;
94 cout << sc_time_stamp() <<
" : "
95 <<
" ready[S] = " <<
data
99 a = 1; cout <<
"\t\t a = 1 " << endl;
100 cout << sc_time_stamp() <<
" : "
101 <<
" ready[S] = " <<
data
104 data.write(1); cout <<
" ready = 1 " << endl;
105 cout << sc_time_stamp() <<
" : "
106 <<
" ready[S] = " <<
data
109 wait(); cout <<
"\nCLK " << endl;
110 cout << sc_time_stamp() <<
" : "
111 <<
" ready[S] = " <<
data
115 a = 0; cout <<
"\t\t a = 0 " << endl;
116 cout << sc_time_stamp() <<
" : "
117 <<
" ready[S] = " <<
data
120 data.write(0); cout <<
" ready = 0 " << endl;
121 cout << sc_time_stamp() <<
" : "
122 <<
" ready[S] = " <<
data
125 wait(); cout <<
"\nCLK " << endl;
126 cout << sc_time_stamp() <<
" : "
127 <<
" ready[S] = " <<
data
131 a = 1; cout <<
"\t\t a = 1 " << endl;
132 cout << sc_time_stamp() <<
" : "
133 <<
" ready[S] = " <<
data
136 data.write(1); cout <<
" ready = 1 " << endl;
137 cout << sc_time_stamp() <<
" : "
138 <<
" ready[S] = " <<
data
141 wait(); cout <<
"\nCLK " << endl;
142 cout << sc_time_stamp() <<
" : "
143 <<
" ready[S] = " <<
data
#define SC_CTHREAD(name, clk)
#define SC_HAS_PROCESS(name)