Advertisement
MBJ

Instruction Fetch

MBJ
Apr 22nd, 2019
1,311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. `timescale 1ns/1ps
  2.  
  3. module Instruction_fetch(
  4.                         input [31:0] PC,
  5.                         output [31:0] PC_1,
  6.                         output [31:0] IR
  7.                         );
  8.  
  9. assign PC_1 = PC + 1;
  10.  
  11. // always@(*) begin
  12. //     PC_1 = PC + 1;
  13. // end
  14.  
  15. Instruction_memory IM0( // have not made this module yet
  16.                         .PC(PC),
  17.                         // IO
  18.                         .IR(IR)
  19.                         );
  20.  
  21. endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement