<mwk>
I have that issue on my TODO list for that reason
<mwk>
yosys will warn you, but will make the right-ish cell anyway, except
<mwk>
1) it ignores the priority of the reset/set on input and always assumes priority of reset over set (which is what most vendors pick anyway, I think)
<mwk>
2) it will emit dumb redundant logic on the set input
<ZirconiumX>
1) holds for Intel, judging by the truth table
<mwk>
so... ignore the warning, I'll fix it sooner or later
<ZirconiumX>
Noted
dys has quit [Ping timeout: 250 seconds]
<ZirconiumX>
...Would it be better to use asynchronous load over async reset/set?
<ZirconiumX>
Since now I have async reset/set, and async load/data
<ZirconiumX>
Which is effectively a duplicate
<mwk>
not really a duplicate, reset/set is strictly better
<mwk>
if you try to implement async set/reset in terms of async load, it's too easy to end up in glitchland
<mwk>
also, it may be a good idea to use both and save some logic
<mwk>
$_DLATCHSR_* maps cleanly to async load/data + async reset + async set
Jybz has joined #yosys
<mwk>
(yosys doesn't emit them at this point, but that's *also* on my list)
<daveshah>
ECP5 actually has async load too, but it's totally unused by the vendor tools (unless you create an ncl file)
<ZirconiumX>
Okay, fair
citypw has quit [Ping timeout: 240 seconds]
Jybz has quit [Quit: Konversation terminated!]
Jybz has joined #yosys
Jybz has quit [Client Quit]
Jybz has joined #yosys
Jybz has quit [Client Quit]
Jybz has joined #yosys
Jybz has quit [Client Quit]
Jybz has joined #yosys
m4ssi has quit [Remote host closed the connection]
cr1901_modern has quit [Quit: Leaving.]
janrinze has quit [Read error: Connection reset by peer]
rohitksingh has quit [Ping timeout: 250 seconds]
cr1901_modern has joined #yosys
janrinze has joined #yosys
nrossi has quit [Quit: Connection closed for inactivity]