<Lofty>
agg: are you using "ABC" or "ABC9"? This sounds like a fundamental problem of logic optimisers called 'structural bias', where the optimiser is stuck in a local optimum due to the shape of the input netlist. ABC9 does a better job of solving this, in my experience.
<agg>
using abc9
<agg>
Does sound like the sort of issue I'm getting, yea
<agg>
Is there any way to perturb it or permute the input in some way? seems like it would be amenable to at least trying a bunch of different starting conditions and from what I've seen would have a similar magnitude effect to nextpnr seeds
<agg>
But if it's a deterministic optimisation that just depends on the input it might be kinda hard to find semantically equivalent permutations, idk..
<Lofty>
agg: people have toyed with that idea, sure, but it doesn't do much to resolve the fundamental problem
FFY00 has joined #yosys
X-Scale has quit [Quit: HydraIRC -> http://www.hydrairc.com <- It'll be on slashdot one day...]
citypw has joined #yosys
aquijoule_ has joined #yosys
aquijoule__ has quit [Ping timeout: 240 seconds]
Degi_ has joined #yosys
Degi has quit [Ping timeout: 272 seconds]
Degi_ is now known as Degi
craigo has joined #yosys
citypw has quit [Ping timeout: 268 seconds]
jfcaron has quit [Quit: jfcaron]
futarisIRCcloud has joined #yosys
cr1901_modern has quit [Quit: Leaving.]
cr1901_modern has joined #yosys
s_frit has joined #yosys
FFY00 has quit [Ping timeout: 260 seconds]
danvet has joined #yosys
citypw has joined #yosys
emeb_mac has quit [Quit: Leaving.]
mndza has joined #yosys
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
<Lofty>
And then after `synth_ice40 -abc9`, run `attrmap -remove blackbox t:loop_breaker; techmap -map loop_breaker.v`, and techmap will stitch the loops back together
vancz has quit [Ping timeout: 256 seconds]
<Jay_jayjay>
Lofty: nextpnr still gives ERROR: cell type 'loop_breaker' is unsupported (instantiated as 'main.main.hlatch_i6.latch.genblk1[5].main.breaker')
<Jay_jayjay>
no yosys errors
<Lofty>
You didn't techmap it
<Jay_jayjay>
i see attrmap and techmap executed
<Lofty>
...Okay, different approach
<Jay_jayjay>
could i just use a blackbox module with SB_LUT4 in it, then techmap it?
<Lofty>
I suspect the problem is that because it's marked blackbox in the source it's being ignored