📄 resp_rtl.cpp
字号:
//BEGIN resp_rtl.cpp (systemc)//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//See resp_rtl.h for more information//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#include "resp_rtl.h"void resp_rtl::resp_method(void) { bool val = irq_ip->read(); cout << "INFO: " << name() << " Port irq_ip is " << val << " Received event at " << sc_time_stamp() << endl;}//end resp_rtl::resp_method//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//END $Id: resp_rtl.cpp,v 1.2 2004/03/14 01:28:58 dcblack Exp $
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -