Sunday, 2022-07-24

*** tpb <[email protected]> has joined #yosys00:00
Sarayanikskuh:  If you can use explicit i/o primitives with output and enable pins so that there is no Z involved00:16
*** Xark <[email protected]> has quit IRC (Ping timeout: 244 seconds)01:34
*** Xark <[email protected]> has joined #yosys01:39
mwkikskuh: the assign should work, tristates are supported enough for that pattern05:07
mwkthe warning is kinda overzealous05:08
mwkI hope the pin is not literally named `output` though, that'd be a keyword05:08
*** kraiskil_ <[email protected]> has joined #yosys08:18
*** kraiskil_ <[email protected]> has quit IRC (Ping timeout: 276 seconds)08:40
*** kraiskil_ <[email protected]> has joined #yosys09:17
*** kraiskil_ <[email protected]> has quit IRC (Ping timeout: 272 seconds)09:24
jixikskuh: that pattern (a mux with one side being all-z) gets turned into a $tribuf cell by the tribuf pass, that pass gets run qutie early by synth_ecp5 (see help synth_ecp5 for the sub-passes it runs)10:02
ikskuhokay, cool 10:02
ikskuhthanks10:02
jixikskuh: so if it doesn't behave as expected, manually running the first few passes up to and including the tribuf pass and then looking at the output (using show) might help10:02
jixwhen using show you probably want to use a small test design though, otherwise it will just hang trying to layout a way to complex graph of the RTL10:03
ikskuhi found a better solution tho: i just pass-through the SPI through my FPGA instead of sharing the bus externally10:03
jixthat sounds like it also makes debugging on the electronics/actual HW side easier :)10:06
ikskuhyep, exactly10:09
ikskuhit also allows me to maybe use that channel for other tasks later10:09
*** FL4SHK <[email protected]> has quit IRC (Ping timeout: 244 seconds)10:29
*** FL4SHK <[email protected]> has joined #yosys10:31
*** ArthurH <[email protected]> has joined #yosys15:03
*** ArthurH <[email protected]> has quit IRC (Ping timeout: 252 seconds)16:57
*** nonchip <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)22:04
*** nonchip <[email protected]> has joined #yosys22:05

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!