Change uses of Case() to Default() in preparation for RFC 39.
This commit is contained in:
parent
7e18786c97
commit
ea258fad71
2 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ class Encoder(Elaboratable):
|
|||
for j in range(self.width):
|
||||
with m.Case(1 << j):
|
||||
m.d.comb += self.o.eq(j)
|
||||
with m.Case():
|
||||
with m.Default():
|
||||
m.d.comb += self.n.eq(1)
|
||||
return m
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue