engine.h
来自「Kluwer.Academic.Pub.Systemc.From.The.Gro」· C头文件 代码 · 共 30 行
H
30 行
#ifndef Engine_H#define Engine_H//BEGIN Engine.h//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//See convertible.h for more information//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#include <systemc.h>struct FuelMix;struct Exhaust;struct Cylinder;SC_MODULE(Engine) { // Sub-module instances FuelMix* fuelmix_i; Exhaust* exhaust_i; Cylinder* cyl_i1; Cylinder* cyl_i2; // Constructor SC_HAS_PROCESS(Engine); Engine(sc_module_name nm); // Processes void Engine_thread(void);};#endif//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//END $Id: Engine.h,v 1.4 2004/04/15 17:38:04 dcblack Exp $
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?