Skip to content

Commit 2b7f886

Browse files
changed alu_idle from 3'dx to 3'd6
1 parent f862d99 commit 2b7f886

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

controlUnit.v

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ localparam clr_alu = 3'd0, //alu operations
9393
sub_alu = 3'd3,
9494
mul_alu = 3'd4,
9595
inc_alu = 3'd5,
96-
idle_alu = 3'dx;
96+
idle_alu = 3'd6;
9797

9898
localparam DMem_bus = 4'b0, //multiplexer
9999
R_bus = 4'd1,

toFpga.v

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module toFpga (
77
output [6:0]HEX0,HEX1,HEX2, HEX3, HEX4,HEX5, HEX6, HEX7
88
);
99

10-
localparam CORE_COUNT = 3;
10+
localparam CORE_COUNT = 2;
1111
localparam REG_WIDTH = 12;
1212
localparam DATA_MEM_WIDTH = CORE_COUNT * REG_WIDTH;
1313
localparam INS_WIDTH = 8;

0 commit comments

Comments
 (0)