<mithro> azonenberg: Know that story, just thought you could offer the student some potential wisdom
solo1 has quit [Ping timeout: 250 seconds]
solo1 has joined ##openfpga
solo1 has quit [Ping timeout: 256 seconds]
solo1 has joined ##openfpga
solo1 has quit [Ping timeout: 264 seconds]
solo1 has joined ##openfpga
solo1 has quit [Ping timeout: 246 seconds]
solo1 has joined ##openfpga
zng has quit [Ping timeout: 268 seconds]
solo1 has quit [Ping timeout: 246 seconds]
zng has joined ##openfpga
solo1 has joined ##openfpga
Degi has quit [Ping timeout: 246 seconds]
Degi has joined ##openfpga
solo1 has quit [Ping timeout: 246 seconds]
solo1 has joined ##openfpga
solo1 has quit [Ping timeout: 246 seconds]
solo1 has joined ##openfpga
X-Scale has quit [Ping timeout: 240 seconds]
X-Scale` has joined ##openfpga
X-Scale` is now known as X-Scale
solo1 has quit [Ping timeout: 264 seconds]
solo1 has joined ##openfpga
solo1 has quit [Ping timeout: 256 seconds]
solo1 has joined ##openfpga
zng has quit [Ping timeout: 250 seconds]
zng has joined ##openfpga
Bike has quit [Ping timeout: 246 seconds]
solo1 has quit [Ping timeout: 264 seconds]
solo1 has joined ##openfpga
solo1 has quit [Ping timeout: 246 seconds]
solo1 has joined ##openfpga
Bike has joined ##openfpga
solo1 has quit [Ping timeout: 264 seconds]
solo1 has joined ##openfpga
Bob_Dole has joined ##openfpga
Bike has quit [Quit: leaving]
____ has joined ##openfpga
Johnny_Mnemonic has quit [Ping timeout: 265 seconds]
Johnny_Mnemonic has joined ##openfpga
lexano has quit [Ping timeout: 256 seconds]
lexano has joined ##openfpga
solo1 has quit [Ping timeout: 256 seconds]
solo1 has joined ##openfpga
emeb_mac has quit [Quit: Leaving.]
emeb_mac has joined ##openfpga
solo1 has quit [Ping timeout: 256 seconds]
solo1 has joined ##openfpga
emeb_mac has quit [Quit: Leaving.]
solo1 has quit [Ping timeout: 264 seconds]
solo1 has joined ##openfpga
solo1 has quit [Ping timeout: 246 seconds]
solo1 has joined ##openfpga
Asu has joined ##openfpga
solo1 has quit [Ping timeout: 264 seconds]
solo1 has joined ##openfpga
russell-1 has joined ##openfpga
kbeckmann1 has joined ##openfpga
hackerfoo has quit [*.net *.split]
russell-- has quit [*.net *.split]
kbeckmann has quit [*.net *.split]
hackerfoo has joined ##openfpga
Hamilton has joined ##openfpga
Hamilton has quit [Remote host closed the connection]
solo1 has quit [Ping timeout: 250 seconds]
solo1 has joined ##openfpga
craigjb_ has quit [Ping timeout: 265 seconds]
craigjb has joined ##openfpga
renze has quit [Quit: Spaceserver reboot?!]
renze has joined ##openfpga
lambda has quit [Quit: WeeChat 2.7.1]
lambda has joined ##openfpga
solo1 has quit [Ping timeout: 256 seconds]
solo1 has joined ##openfpga
solo1 has quit [Ping timeout: 264 seconds]
solo1 has joined ##openfpga
solo1 has quit [Ping timeout: 264 seconds]
Hamilton has joined ##openfpga
solo1 has joined ##openfpga
Hamilton has quit [Remote host closed the connection]
Stary has quit [Ping timeout: 268 seconds]
solo1 has quit [Ping timeout: 250 seconds]
solo1 has joined ##openfpga
solo1 has quit [Ping timeout: 246 seconds]
solo1 has joined ##openfpga
gregdavill has quit [Ping timeout: 246 seconds]
Bike has joined ##openfpga
OmniMancer has quit [Quit: Leaving.]
Richard_Simmons has joined ##openfpga
genii has joined ##openfpga
Bob_Dole has quit [Ping timeout: 246 seconds]
pinoaffe has quit [Quit: WeeChat 1.5]
Richard_Simmons has quit [Ping timeout: 246 seconds]
solo1 has quit [Ping timeout: 264 seconds]
zng has quit [Ping timeout: 246 seconds]
solo1 has joined ##openfpga
zng has joined ##openfpga
____ has quit [Quit: Nettalk6 - www.ntalk.de]
Stary has joined ##openfpga
indefini[m] has quit [Ping timeout: 245 seconds]
indefini[m] has joined ##openfpga
mumptai has joined ##openfpga
_whitelogger has joined ##openfpga
solo1 has quit [Ping timeout: 250 seconds]
solo1 has joined ##openfpga
Bike has quit [Ping timeout: 250 seconds]
solo1 has quit [Ping timeout: 265 seconds]
solo1 has joined ##openfpga
kbeckmann1 has quit [Quit: WeeChat 2.7]
kbeckmann has joined ##openfpga
rjeschmi has joined ##openfpga
emeb has joined ##openfpga
solo1 has quit [Ping timeout: 264 seconds]
solo1 has joined ##openfpga
s_frit has joined ##openfpga
solo1 has quit [Ping timeout: 256 seconds]
solo1 has joined ##openfpga
Bike has joined ##openfpga
bibor has quit [Ping timeout: 246 seconds]
solo1 has quit [Ping timeout: 256 seconds]
solo1 has joined ##openfpga
<tnt> Could something have broken WARMBOOT "recently" ?
<daveshah> I can't think of any nextpnr change
<daveshah> Is it being preserved by Yosys (appearing in the nextpnr resource summary?)
<tnt> Yeah, it appears in nextpnr summary.
<tnt> "BOOT": [ "x" ] mmm ok .. that might be an issue.
<tnt> I don't see why though. The same signal fed to BOOT is used else where (to light a led) and the led works fine ..
solo1 has quit [Ping timeout: 256 seconds]
solo1 has joined ##openfpga
<tnt> That's the file. I used it a bunch in the past and it worked fine.
<daveshah> What synth command?
<tnt> synth_ice40 -dffe_min_ce_use 4 -relut -top top -json boot_stub.json
<tnt> (I know -relut does nothing now ... it's just in the build system for old yosys althought by now I can probably remove it)
<daveshah> Not abc9 then which would be the most changed place
<daveshah> I guess this is just a regression somewhere then
<tnt> And indeed manually fixing up the json to use the right signal works just fine.
<daveshah> My best guess would be a bug in opt_clean
<tnt> I just don't get how/why that signal in particular.
<tnt> It has nothing special AFAICT.
<tnt> Actually it looks like it's the "fsm" pass screwing things.
<daveshah> How odd
<tnt> I find it worrying ... no warning, nothing. Good that the symptoms are fairly observable, but if it start undefinting some signals on a block ram or something, it would take me forever to track that down.
<mwk> tnt: thanks for the report, I'm looking at it...
<tnt> I'm building the latest yosys but looking at the changes (mine is ~ 1-2 weeks old) I doubt this will make any difference.
<mwk> hrmmm, I'm on some random branch
<mwk> but I can definitely reproduce the issue
<mwk> seems fsm_extract is already broken
<tnt> I'm wondering if the 'keep' attribute on the WARMBOOT blackbox screwed with the signal being re-assigned as a fsm output
<mwk> we'll see
<tnt> mwk: reverting a5d2358a60084361902583f4fa024d2d53ce6c2c fixes it
<mwk> ... crap
<mwk> wait, but how
<mwk> tnt: you sure of that?
<mwk> the bug still happens in here with the commit reverted
<mwk> and that commit doesn't even touch the fsm_extract pass
<mwk> (fsm_detect merely marks FSM registers, it *cannot* be at fault)
<tnt> yeah, I was wrong :/
<tnt> I must have screwed up when testing
<tnt> I think I only executed fsm_extract and forgot to do fsm_detect before ...
<tnt> my bad
<tnt> But fsm_extract hasn't been changed in ... forever
<mwk> it could be broken from the start
<mwk> fsm is uhhh, a known-rotting piece of code
<tnt> But I used that very same code last year successfully.
<mwk> I actually have another bug in fsm_extract I've been unable to track down so far
<mwk> ... uh
<tnt> found something ?
<mwk> something like that
<mwk> it seems line 444 is the problem
<mwk> specifically, somehow the !cell_known condition triggers
<mwk> ohhhh
<mwk> fuck, it only recognizes yosys builtin cells
<mwk> whyyyyyyyy
<mwk> tnt: okay, thank you, I can take it from here
<mwk> tnt: did you file a yosys bug, or should I?
<tnt> Go ahead if you can explain the issue :p
<mwk> yeah, I can
<mwk> it's doing really dumb things if state machine state and/or control outputs are connected directly to an unrecognized cell type
<mwk> and it deosn't recognize *any* cell types except yosys internal ones
<mwk> I'm *so* tempted to rewrite the whole thing
<mwk> the code is rather horrible
<tnt> Why does it special case ?
<mwk> it doesn't really, it just does dumb shit that doesn't work out
<tnt> I commented out the cell_known() check for the time being, is that a somewhat safe quick workaround ?
<mwk> no
<mwk> instead: remove all the ct.setup_* lines above
<mwk> replace with ct.setup(design);
<mwk> I think I'll do that for a quick fix, actually
<mwk> it's not *correct*, but it's definitely better than status quo
<tnt> At least BOOT is not "x" anymore.
<mwk> (as in, this pass *should* work in the presence of unknown cell types)
<mwk> (it's just too badly written right now to fix it quickly)
Bob_Dole has joined ##openfpga
<tnt> mwk: tx
<mwk> bug 1781 filed
<tnt> Ah nice, much smaller reproducer than I could have provided.
<mwk> and pull request 1782 done as well
OmniMancer has joined ##openfpga
OmniMancer1 has joined ##openfpga
solo1 has quit [Ping timeout: 256 seconds]
solo1 has joined ##openfpga
OmniMancer has quit [Ping timeout: 256 seconds]
gregdavill has joined ##openfpga
emeb_mac has joined ##openfpga
<mwk> rqou: ping about https://github.com/YosysHQ/yosys/pull/1730 — do you intend to work on it?
Asuu has joined ##openfpga
Asu has quit [Ping timeout: 264 seconds]
Asuu has quit [Quit: Konversation terminated!]
russell-1 is now known as russell--