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

📄 processor.v

📁 多周期处理器--verilog写的,欢迎大家来下载
💻 V
字号:
module Processor (	input 						clk, reset,	input    IorD,IRWrite,   //for multicycle	output 	[31:0]	pc,	input 	 [31:0] 	instr,	output					memwrite,	output 	[31:0] 	aluout, writedata,	input 		[31:0] 	readdata);	wire 					memtoreg, branch, alusrca, regdst, regwrite, jump;	wire           count,over,zero,sign,signext;	wire           PCWriteCond,PCWrite;   //for multicycle	wire  [1:0]   alusrcb,pcsrc;  //for multicycle	wire 	[3:0] 		alucontrol;		datapath dp(clk, reset, memtoreg,	pcsrc,alusrca, alusrcb,regdst, regwrite, jump,signext,branch,	alucontrol, count,over,zero,sign, pc, instr, aluout, writedata, readdata,PCWriteCond,PCWrite);	controller c(clk,reset,instr[31:26], instr[5:0], memtoreg, memwrite, 	alusrca,alusrcb, regdst, regwrite, jump,signext,	alucontrol,branch,PCWriteCond,PCWrite,IorD,IRWrite,pcsrc);	endmodule

⌨️ 快捷键说明

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