?? monitor.h
字號(hào):
// monitor.h
#include <iostream>
#include <fstream>
#include "systemc.h"
SC_MODULE(monitor){
sc_in<bool> m_a, m_b, m_cin, m_sum, m_cout;
ofstream outfile;
void prc_monitor();
SC_CTOR(monitor){
SC_METHOD(prc_monitor);
sensitive << m_a << m_b << m_cin << m_sum << m_cout;
outfile.open("result.txt");
}
};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -