Add: loop and multiplication source code test | expend instruction memory size | Fix: on empty test file

This commit is contained in:
brice.boisson
2023-11-27 14:27:09 +09:00
parent f6b6e0f285
commit 91514de821
5 changed files with 118 additions and 29 deletions

View File

@@ -1,7 +1,7 @@
module instruction (input [31:0] address,
output [31:0] instruction);
reg [7:0] memory [127:0];
reg [7:0] memory [1024:0];
assign instruction = {memory[address + 3], memory[address + 2], memory[address + 1], memory[address]};