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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Nov 30 10:04:17 GMT 2021


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

--- Comment #59 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to andrey from comment #58)

> It is indeed a little scary that the signals even toggled at all, when I set
> them to be equal to a signal object as opposed to an integer :')

basically from what i can gather you may have modified the actual AST,
with potentially disastrous unpredictable results.

the only reason it "worked" is because, back in the Blinker elaborate(),
those GPIO pads had not - have not - been wired up to anything.

if you now grab the relevant GPIO resource from resource_table_pads
then the ends of the wires can be safely toggled.

(btw please do trim excessive context especially in bugzilla replies)

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


More information about the libre-soc-bugs mailing list