50 sc_signal<bool>&
reset;
51 sc_signal<bool>& in_ok;
52 sc_signal<bool>& out_ok;
53 const sc_signal<bool>& instrb;
54 const sc_signal<bool>& outstrb;
59 STIM( sc_module_name NAME,
61 sc_signal<bool>& RESET,
62 sc_signal<bool>& IN_OK,
63 sc_signal<bool>& OUT_OK,
64 const sc_signal<bool>& INSTRB,
65 const sc_signal<bool>& OUTSTRB,
89 a1 (A1), a2(A2), a3(A3), a4(A4),
90 a5 (A5), a6(A6), a7(A7), a8(A8),
91 d1 (D1), d2(D2), d3(D3), d4(D4),
92 d5 (D5), d6(D6), d7(D7), d8(D8)
129 do {
wait(); }
while (instrb == 0);
145 do {
wait(); }
while (outstrb == 0);
149 cout <<
"\n" << endl;
150 cout <<
"\t\t INPUT DATA \t\t SORTED DATA" << endl;
151 cout <<
"\t\t " <<
a1.read().to_int() <<
" \t\t "
152 << d1.read().to_int() << endl;
153 cout <<
"\t\t " << a2.read().to_int() <<
" \t\t "
154 << d2.read().to_int() << endl;
155 cout <<
"\t\t " << a3.read().to_int() <<
" \t\t "
156 << d3.read().to_int() << endl;
157 cout <<
"\t\t " << a4.read().to_int() <<
" \t\t "
158 << d4.read().to_int() << endl;
159 cout <<
"\t\t " << a5.read().to_int() <<
" \t\t "
160 << d5.read().to_int() << endl;
161 cout <<
"\t\t " << a6.read().to_int() <<
" \t\t "
162 << d6.read().to_int() << endl;
163 cout <<
"\t\t " << a7.read().to_int() <<
" \t\t "
164 << d7.read().to_int() << endl;
165 cout <<
"\t\t " << a8.read().to_int() <<
" \t\t "
166 << d8.read().to_int() << endl;
167 cout <<
"\n" << endl;