diff --git a/src/decoder.v b/src/decoder.v index 462330b9..e2e3d5b9 100644 --- a/src/decoder.v +++ b/src/decoder.v @@ -28,7 +28,7 @@ module seg7 ( 6: segments = 7'b1111101; 7: segments = 7'b0000111; 8: segments = 7'b1111111; - 9: segments = 7'b1100111; + 9: segments = 7'b1101111; 10: segments = 7'b1110111; 11: segments = 7'b1111100; 12: segments = 7'b0111001; diff --git a/src/test.py b/src/test.py index 89317362..fb76b0ea 100644 --- a/src/test.py +++ b/src/test.py @@ -3,7 +3,7 @@ from cocotb.triggers import RisingEdge, FallingEdge, Timer, ClockCycles -segments = [ 63, 6, 91, 79, 102, 109, 125, 7, 127, 103 ] +segments = [ 63, 6, 91, 79, 102, 109, 125, 7, 127, 111 ] @cocotb.test() async def test_7seg(dut):