We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9cbf4c commit 25cc768Copy full SHA for 25cc768
tests/test_conditional.py
@@ -128,7 +128,12 @@ def test_default_value_for_wires(self):
128
r2 = pyrtl.Register(bitwidth=3, name='r2')
129
r3 = pyrtl.Register(bitwidth=3, name='r3')
130
o = pyrtl.Output(bitwidth=3, name='o')
131
- with pyrtl.conditional_assignment(defaults={r1: r1 + 2, r2: 6, o: 3}):
+ with pyrtl.conditional_assignment(
132
+ defaults={
133
+ r1: r1 + 2,
134
+ r2: 6,
135
+ o: 3
136
+ }):
137
with i < 2:
138
r1.next |= r1 + 1
139
# r2 will be updated to 6
0 commit comments