1 | // File : monitor.cpp |
---|
2 | #include "monitor.h" |
---|
3 | |
---|
4 | void monitor::prc_monitor() |
---|
5 | { |
---|
6 | cout << "At time " << sc_time_stamp() << "::"; |
---|
7 | cout << "(a, b, carry_in): "; |
---|
8 | cout << m_a << m_b << m_cin; |
---|
9 | cout << " (sum, carry_out): " << m_sum << m_cout << endl; |
---|
10 | } |
---|
11 | |
---|