Advertisement
kekellner

flash_memory.v

Nov 15th, 2024
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module flash_memory (
  2.     input  [ 6:0] address,
  3.     output [15:0] data
  4. );
  5.  
  6.     reg [15:0] mem[128];
  7.  
  8.     assign data = mem[address];
  9.  
  10.     initial $readmemh("instrucciones.hex", mem);
  11.  
  12. endmodule
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement