Idek what ive changed its been so long

This commit is contained in:
Johannes
2019-04-11 21:54:34 -04:00
parent a3064a836b
commit fa5e1d2739
46 changed files with 560 additions and 1015 deletions

View File

@@ -5,7 +5,7 @@ module instructionMemory(
output reg [8:0] readData
);
reg [8:0] memory [5:0]; // Maximum of 512 memory locations
reg [8:0] memory [6:0]; // Maximum of 512 memory locations
// Vivado will give warnings of unconnected ports on the "address" bus if they are unused
initial begin
@@ -15,7 +15,8 @@ module instructionMemory(
memory[2] <= 9'b000101000; //load
memory[3] <= 9'b010100010; //add
memory[4] <= 9'b111100000; //shift left
memory[5] <= 9'b111100000; //shift left
memory[5] <= 9'b000000001; //NOP
memory[6] <= 9'b111100000; //shift left
// //Testing all instructions
// memory[6] <= 9'b010100011; //sub