Skip to content

Commit

Permalink
Modify 9 to match the new 6
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBell committed Oct 30, 2023
1 parent 69178cd commit 64785ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/decoder.v
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 64785ba

Please sign in to comment.