📄 stimulus.h
字号:
//FILE: stimulus.h (systemc)//# vim600:sw=2:tw=0:fdm=marker//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// See processor.h//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#ifndef STIMULUS_H#define STIMULUS_H#include "opcodes.h"#include "mem_arch.h"// Module definitionSC_MODULE(stimulus) { // Ports sc_port<bus_if> bus_p; sc_inout_resolved reset_p; sc_out<bool> abort_p; // Constructor declarations stimulus(sc_module_name nm); // Process declarations void stimulus_thread(); void monitor_method(); // Helper functions void write_instr( unsigned opcode, unsigned operand1=0, unsigned operand2=0 ); unsigned pc;};#endif//Portions COPYRIGHT (C) 2004 Eklectic Ally, Inc.------------------{{{//// Permission granted for anybody to use this template provided this //// acknowledgement of Eklectic Ally, Inc. remains. ////-----------------------------------------------------------------}}}////END $Id: stimulus.h,v 1.1 2004/02/22 19:50:51 dcblack Exp $
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -