examples.basic.pmux: Fix for RFC 39.
This commit is contained in:
parent
95538a3e07
commit
2fecd1c78b
|
@ -19,7 +19,7 @@ class ParMux(Elaboratable):
|
||||||
m.d.comb += self.o.eq(self.b)
|
m.d.comb += self.o.eq(self.b)
|
||||||
with m.Case("1--"):
|
with m.Case("1--"):
|
||||||
m.d.comb += self.o.eq(self.c)
|
m.d.comb += self.o.eq(self.c)
|
||||||
with m.Case():
|
with m.Default():
|
||||||
m.d.comb += self.o.eq(0)
|
m.d.comb += self.o.eq(0)
|
||||||
return m
|
return m
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue