From c64884ed8e238a5ca5ad028da5d32954485b4eb3 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 21 Feb 2020 13:05:30 +0000 Subject: [PATCH] reduce pmask to stop unconnected bits --- examples/part_sig_add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/part_sig_add.py b/examples/part_sig_add.py index b6af3b3..532b216 100644 --- a/examples/part_sig_add.py +++ b/examples/part_sig_add.py @@ -6,7 +6,7 @@ from nmigen import Signal def test(): width = 16 - pmask = Signal(4) # divide into 4-bits + pmask = Signal(3) # divide into 4-bits module = TestAddMod2(width, pmask) sim = create_ilang(module, [pmask, -- 2.30.2