Below is the project i have done, 16 bit Risc processor in verilog. Feel free to contact me for the code with project report.
for(i=0;i<=2;i=i+1)
begin
PipelineStates [i] = Idle ;
InstructionQueue[i] = 8'b00010101 ;//NOP instruction
end
end
end
end
end
endmodule
/*------------------------------------------------------------------------*/
/* Program for Microprocessor */
module RiscProcessor(input Clock,input Reset,input [15:0]IN,output Halted,output [15:0]OUT );
wire PCload,MemMux,ReadWrite,Aload,AddSubMux,Rload,OutEnable,OrAndSel,AddSubSel,PCMux,MemEnable,
CarryFlag,ZeroFlag ;
wire [2:0] Amux ;
wire [15:0] Instruction ;
wire [7:0] Address ;
DataPath DP( Clock,Reset,IN,PCload,MemMux,ReadWrite,Amux,Aload,AddSubMux,Rload,OutEnable,OrAndSel,