monitor.cpp
来自「一个全加器的systemc代码」· C++ 代码 · 共 11 行
CPP
11 行
// monitor.cpp
#include "monitor.h"
void monitor::prc_monitor(){
outfile << "At time " << sc_time_stamp() << "::";
outfile << "(a, b, carry_in):";
outfile << m_a << m_b << m_cin;
outfile << "(sum, carry_out):" << m_sum
<< m_cout << endl;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?