⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 decoder.h

📁 改进的基于6个mips核的NOC网络
💻 H
字号:
/* *  TU Eindhoven *  Eindhoven, The Netherlands * *  Name            :   decoder.h * *  Author          :   Sander Stuijk (sander@ics.ele.tue.nl) * *  Date            :   July 23, 2002 * *  Function        :   Decoder * *  History         : *      23-07-02    :   Initial version. *      13-12-02    :   Synthesizable version A.S.Slusarczyk@tue.nl * */ #ifndef DECODER_H_INCLUDED#define DECODER_H_INCLUDED#include "mips.h"SC_MODULE(DECODER) {	sc_in< 	sc_bv<DWORD> > 	instr;	sc_out< sc_bv<6> >		instr_31_26;	sc_out< sc_bv<DWORD> > 	instr_25_0;		sc_out< sc_bv<5> > 		instr_25_21;		sc_out< sc_bv<5> > 		instr_20_16;		sc_out< sc_bv<5> > 		instr_15_11;		sc_out< sc_bv<16> > 	instr_15_0;	sc_out< sc_bv<5> > 		instr_10_6;	sc_out< sc_bv<6> > 		instr_5_0;		void decoder_thread();		SC_CTOR(DECODER) {		SC_METHOD(decoder_thread); //-> SC_THREAD(decoder_thread);		sensitive << instr;	}};// decoder for non-registered instructionsSC_MODULE(DECODER_NBUF) {	sc_in< 	sc_bv<DWORD> > 	instr;	sc_out< sc_bv<5> > 		instr_25_21;		sc_out< sc_bv<5> > 		instr_20_16;		// sc_in< sc_bv<1> >  w;		void decoder_nbuf_thread();		SC_CTOR(DECODER_NBUF) {		SC_METHOD(decoder_nbuf_thread); 		sensitive << instr;// << w;	}};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -