URL
https://opencores.org/ocsvn/cpu8080/cpu8080/trunk
Subversion Repositories cpu8080
[/] [cpu8080/] [trunk/] [project/] [isim/] [work/] [cpu__tbw/] [cpu__tbw.h] - Rev 2
Go to most recent revision | Compare with Previous | Blame | View Log
//////////////////////////////////////////////////////////////////////////////// // ____ ____ // / /\/ / // /___/ \ / // \ \ \/ // \ \ Copyright (c) 2003-2004 Xilinx, Inc. // / / All Right Reserved. // /___/ /\ // \ \ / \ // \___\/\___\ //////////////////////////////////////////////////////////////////////////////// #ifndef H_workMcpu__tbw_H #define H_workMcpu__tbw_H #ifdef _MSC_VER #pragma warning(disable: 4355) #endif #ifdef __MINGW32__ #include "xsimMinGW.h" #else #include "xsim.h" #endif class workMcpu__tbw : public HSim__s5{ public: workMcpu__tbw(const char *instname); ~workMcpu__tbw(); void setDefparam(); void constructObject(); void moduleInstantiate(HSimConfigDecl *cfg); void connectSigs(); void reset(); virtual void archImplement(); HSim::ValueS* up1Func(HSim::VlogVarType& outVarType, int& outNumScalars, int inNumScalars); class cu0 : public HSimVlogTask{ public: HSim__s3 uv[1]; cu0(workMcpu__tbw* arch ); HSimVlogTaskCall * createTaskCall(HSim__s7 * process ); void deleteTaskCall(HSimVlogTaskCall *p ); void reset(); void constructObject(); int getSizeForArg(int argNumber); workMcpu__tbw* Arch ; HSimVector<HSimRegion *> activeInstanceList ; HSimVector<HSimRegion *> availableTaskCallObjList ; ~cu0(); bool disable(HSim__s7* proc); }; cu0 u0; class cu1 : public HSimVlogTask{ public: HSim__s3 uv[1]; cu1(workMcpu__tbw* arch ); HSimVlogTaskCall * createTaskCall(HSim__s7 * process ); void deleteTaskCall(HSimVlogTaskCall *p ); void reset(); void constructObject(); int getSizeForArg(int argNumber); workMcpu__tbw* Arch ; HSimVector<HSimRegion *> activeInstanceList ; HSimVector<HSimRegion *> availableTaskCallObjList ; ~cu1(); bool disable(HSim__s7* proc); }; cu1 u1; class cu2 : public HSimVlogTask{ public: HSim__s3 uv[1]; cu2(workMcpu__tbw* arch ); HSimVlogTaskCall * createTaskCall(HSim__s7 * process ); void deleteTaskCall(HSimVlogTaskCall *p ); void reset(); void constructObject(); int getSizeForArg(int argNumber); workMcpu__tbw* Arch ; HSimVector<HSimRegion *> activeInstanceList ; HSimVector<HSimRegion *> availableTaskCallObjList ; ~cu2(); bool disable(HSim__s7* proc); }; cu2 u2; class cu3 : public HSimVlogTask{ public: HSim__s3 uv[1]; cu3(workMcpu__tbw* arch ); HSimVlogTaskCall * createTaskCall(HSim__s7 * process ); void deleteTaskCall(HSimVlogTaskCall *p ); void reset(); void constructObject(); int getSizeForArg(int argNumber); workMcpu__tbw* Arch ; HSimVector<HSimRegion *> activeInstanceList ; HSimVector<HSimRegion *> availableTaskCallObjList ; ~cu3(); bool disable(HSim__s7* proc); }; cu3 u3; class cu4 : public HSimVlogTask{ public: HSim__s3 uv[1]; cu4(workMcpu__tbw* arch ); HSimVlogTaskCall * createTaskCall(HSim__s7 * process ); void deleteTaskCall(HSimVlogTaskCall *p ); void reset(); void constructObject(); int getSizeForArg(int argNumber); workMcpu__tbw* Arch ; HSimVector<HSimRegion *> activeInstanceList ; HSimVector<HSimRegion *> availableTaskCallObjList ; ~cu4(); bool disable(HSim__s7* proc); }; cu4 u4; class cu5 : public HSimVlogTask{ public: HSim__s3 uv[1]; cu5(workMcpu__tbw* arch ); HSimVlogTaskCall * createTaskCall(HSim__s7 * process ); void deleteTaskCall(HSimVlogTaskCall *p ); void reset(); void constructObject(); int getSizeForArg(int argNumber); workMcpu__tbw* Arch ; HSimVector<HSimRegion *> activeInstanceList ; HSimVector<HSimRegion *> availableTaskCallObjList ; ~cu5(); bool disable(HSim__s7* proc); }; cu5 u5; HSim__s1 us[7]; HSim__s3 uv[7]; HSimVlogParam up[3]; }; #endif
Go to most recent revision | Compare with Previous | Blame | View Log