[Libre-soc-bugs] [Bug 50] nmigen pinmux

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Dec 4 01:23:22 GMT 2021


https://bugs.libre-soc.org/show_bug.cgi?id=50

--- Comment #69 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to andrey from comment #68)
> Created attachment 150 [details]
> Sim showing I/O/OE test for all GPIOs

exciting as it is, try not to upload unnecessary binary-formatted
images that people can generate for themselves on their local
machine by running a command.

annotated on the other hand (showing something important) is a
different matter.

> Yeah. The yosys diagram is starting to make more sense, now I can even tell
> where the pins and signals are XD

takes a while, doesn't it.

> > git pull and check the code-comments: you missed re-reading pad0_out-pad3_out
> > after changing gpio0_pad_in.
> Fixed.

excellent. comments look great.

> There's now a test to verify i/o/oe (however it's not completely
> parametrised, I had some thoughts to use get_attr to iterate over gpios,
> there might be a cleaner way though). See the attached screenshot for more
> beautiful waveforms. Oh, and am I uploading too many? The previous
> screenshots could probably be removed to save space.

that's not possible.  it's now permanently and irrevocably taking up
space on the server - in a postgresql database - that i have to pay money for.

> To get a UART pad: 
> uart_pad = top.jtag.resource_table_pads[('uart', 0)]

shouldn't be.  amazed it works.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list