Add high pair of seven segment displays
This also increases the number of registers to 4, one more for the high pair of displays, and a final one for a mask register which has not been implemented yet.
This commit is contained in:
@@ -20,7 +20,7 @@ module super6502(
|
||||
output logic cpu_be,
|
||||
output logic cpu_nmib,
|
||||
|
||||
output logic [6:0] HEX0, HEX1, HEX2, HEX3
|
||||
output logic [6:0] HEX0, HEX1, HEX2, HEX3, HEX4, HEX5
|
||||
);
|
||||
|
||||
logic rst;
|
||||
@@ -99,8 +99,8 @@ SevenSeg segs(
|
||||
.rw(cpu_rwb),
|
||||
.data(cpu_data_in),
|
||||
.cs(hex_cs),
|
||||
.addr(cpu_addr[0]),
|
||||
.HEX0(HEX0), .HEX1(HEX1), .HEX2(HEX2), .HEX3(HEX3),
|
||||
.addr(cpu_addr[1:0]),
|
||||
.HEX0(HEX0), .HEX1(HEX1), .HEX2(HEX2), .HEX3(HEX3), .HEX4(HEX4), .HEX5(HEX5)
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user