mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
cores/gpio/GPIOTristate: Use Record.flatten() instead of Record.raw_bits().
Fix verilog syntax error.
This commit is contained in:
parent
9036050364
commit
16a43e983e
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class GPIOTristate(_GPIOIRQ, Module, AutoCSR):
|
||||||
# Internal Tristate.
|
# Internal Tristate.
|
||||||
if internal:
|
if internal:
|
||||||
if isinstance(pads, Record):
|
if isinstance(pads, Record):
|
||||||
pads = pads.raw_bits()
|
pads = pads.flatten()
|
||||||
# Proper inout IOs.
|
# Proper inout IOs.
|
||||||
for i in range(nbits):
|
for i in range(nbits):
|
||||||
t = TSTriple()
|
t = TSTriple()
|
||||||
|
|
Loading…
Reference in a new issue