clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
tpb has quit [Remote host closed the connection]
tpb has joined #yosys
twnqx has quit [Ping timeout: 256 seconds]
Degi_ has joined #yosys
Degi has quit [Ping timeout: 256 seconds]
Degi_ is now known as Degi
Cerpin has quit [Quit: leaving]
jfcaron_ has joined #yosys
jfcaron_ has quit [Ping timeout: 256 seconds]
Cerpin has joined #yosys
adjtm has quit [Remote host closed the connection]
adjtm has joined #yosys
az0re has joined #yosys
craigo has joined #yosys
citypw has joined #yosys
az0re has quit [Ping timeout: 240 seconds]
emeb has quit [Quit: Leaving.]
az0re has joined #yosys
ashfaq1717 has joined #yosys
kraiskil has joined #yosys
FabM has joined #yosys
ashfaq1717 has quit [Ping timeout: 240 seconds]
npe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ashfaq1717 has joined #yosys
emeb_mac has quit [Quit: Leaving.]
ashfaq1717 has quit [Remote host closed the connection]
dys has joined #yosys
jakobwenzel has joined #yosys
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
ashfaq1717 has joined #yosys
<ashfaq1717> is there any channel for OpenSTA tool? on github, stackoverflow, reddit, irc?
vidbina_ has joined #yosys
ashfaq1717 has quit [Ping timeout: 240 seconds]
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #yosys
FFY00 has quit [Max SendQ exceeded]
FFY00 has joined #yosys
Ultrasauce has quit [Ping timeout: 240 seconds]
ashfaq1717 has joined #yosys
<ashfaq1717> is there any channel for OpenSTA tool? on github, stackoverflow, reddit, irc?
ashfaq1717 has quit [Ping timeout: 240 seconds]
Ultrasauce has joined #yosys
vidbina_ has quit [Ping timeout: 260 seconds]
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #yosys
vidbina_ has joined #yosys
twnqx has joined #yosys
Vinalon has quit [Ping timeout: 264 seconds]
vidbina_ has quit [Ping timeout: 256 seconds]
kraiskil has quit [Ping timeout: 260 seconds]
kraiskil has joined #yosys
jfcaron_ has joined #yosys
vidbina_ has joined #yosys
jfcaron_ is now known as jfcaron
emeb has joined #yosys
X-Scale` has joined #yosys
X-Scale has quit [Ping timeout: 265 seconds]
X-Scale` is now known as X-Scale
jakobwenzel has quit [Ping timeout: 264 seconds]
Vinalon has joined #yosys
jakobwenzel has joined #yosys
X-Scale` has joined #yosys
X-Scale has quit [Ping timeout: 264 seconds]
X-Scale` is now known as X-Scale
npe has joined #yosys
citypw has quit [Ping timeout: 240 seconds]
elGamal has quit [Ping timeout: 250 seconds]
jakobwenzel has quit [Quit: jakobwenzel]
jakobwenzel has joined #yosys
elGamal has joined #yosys
jakobwenzel has quit [Quit: jakobwenzel]
kraiskil has quit [Ping timeout: 250 seconds]
<Sarayan> 30% faster? Now that's interesting
<ZirconiumX> Sarayan: ?
<ZirconiumX> If you mean the performance work that's happened recently, yeah, Yosys is a fair bit faster now
<whitequark> Sarayan: if you are directly poking posedge_p_clk it will not apply to you
<Sarayan> wq: I wasn't, there was too many caveats, so I'm using the slow, safe version
<whitequark> what it does mean is that some designs that would previously converge in >1 delta cycle for no good reason, now always converge in 1 delta cycle
<whitequark> ah
<whitequark> then it very much may apply to you
<whitequark> I am slowly getting to the point where those caveats may be automatically checked
<Sarayan> I know that my designs can be fully converged in one delta cycle
<Sarayan> up to this point at least
<whitequark> how many do they currently take?
<Sarayan> Dunno. Suspect one, I do nothing weird
<whitequark> three, if you don't do anything weird
<Sarayan> ok
<whitequark> one to propagate the clock pulse, one to propagate the *results* of the posedge, one to determine that the design converged
<Sarayan> :-)
<Sarayan> fuck, need to recompile yosys
<Sarayan> yosys: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory
<whitequark> in theory, this can be reduced to just one, while remainign fully safe
<whitequark> the patch i mentioned on twitter makes it always 3
<whitequark> instead of "usually 3 but sometimes *far* more"
<Sarayan> urgh, I have slang in there, compile takes even longer
vidbina_ has quit [Ping timeout: 250 seconds]
<Sarayan> argh, the interface changed
<whitequark> of what?
<Sarayan> main.cc:371:3: error: use of undeclared identifier 'value'
<Sarayan> main.cc:183:1: error: use of undeclared identifier 'cxxrtl_design'
<Sarayan> I guess I must be missing a namespace or something
<whitequark> oh
<whitequark> what -I flag do you use?
<Sarayan> wait, I have bigger isues
<whitequark> it should be -I <yosys-root> or -I /usr/local/share/yosys
<Sarayan> yosys.cmd went wrong
<whitequark> without the backends/cxxrtl/...
<Sarayan> I had an empty c++ file generated for some reason
<whitequark> h
<whitequark> *ah
<whitequark> btw, you can use separate compilation now
<whitequark> -b 'cxxrtl -header' -o design.cc makes design.cc + design.h
<Sarayan> oh, interesting
<whitequark> so you don't have to spend time recompiling your stuff
<Sarayan> I still have to recompile my stuff given the header changes
<Sarayan> or at least pretends to
<whitequark> that's true; I can make it so that it won't update the .cc or .h file if it is about to write the exact same thing inside
<whitequark> hm, not the .cc file, but for the .h file, I can
<Sarayan> doesn't the header have to change as soon as the internal state layout changes anyway?
<whitequark> Sarayan: actually, if your design converges in 1 delta cycle, the header only contains registers
<whitequark> ie sync signals
<Sarayan> ok, my step sizes vary between 2 and 5
<whitequark> yes, then you'll benefit from the PR I am about to send
<Sarayan> cool
<whitequark> btw, can you show me your driver code again?
<Sarayan> pushing the current state
dys has quit [Ping timeout: 250 seconds]
<tpb> Title: retrofpga/overdrive at master · galibert/retrofpga · GitHub (at github.com)
<Sarayan> via6522 has even simpler equivalent code
elms has quit [Ping timeout: 245 seconds]
emilazy has quit [Ping timeout: 245 seconds]
<Sarayan> yeah, via still compiles
<whitequark> Sarayan: oof, that's some complex driver code
<whitequark> ok, so here is what i wanted you to ensure, because i got it wrong in example code earlier
elms has joined #yosys
<Sarayan> overdrive yes
emilazy has joined #yosys
<Sarayan> check via6522, the cxxrtl aspects are identical
<whitequark> you should *never* change inputs to a design at the same time as you trigger flops
<whitequark> for example if you have posedge flops, at the step where p_clk goes 0->1, there should be *nothing else* going on
<whitequark> you can think of it as the simulator version of setup/hold violation
<Sarayan> so I should change values just before setting clk to 0?
<whitequark> if you have just posedge flops, yep, that would be safe
<whitequark> and also the fastest way to do it
<Sarayan> posedge is default, right?
<whitequark> yep
<Sarayan> then I have everything posedge
<Sarayan> I've learned my lesson, I have one clock, period
<whitequark> then make sure you only change inputs on clk 1->0
<Sarayan> ok, I have to change both drivers then
<whitequark> or your design will mysteriously break at some point later
<whitequark> with some options, opt level, netlist and so on
<whitequark> you know how race conditions look. you will get that.
<whitequark> (or how setup/hold violations look...)
<Sarayan> well, maybe it explains why I can't read stuff out of the via6522 (yeah right)
<whitequark> possibly?
<Sarayan> I was starting to be out of ideas, so maybe, even
<Sarayan> I read after putting the clock back to 1 *and* stepping, right?
<whitequark> yes
<Sarayan> gah, I don't even know what the test is supposed to do anymore :-)
kraiskil has joined #yosys
<Sarayan> I feel like I'm not on the correct branch
<Sarayan> yeah, I was on a write_cxxrtl branch
kraiskil has quit [Ping timeout: 250 seconds]
kraiskil has joined #yosys
Cerpin has quit [Quit: leaving]
marex-cloud has quit [Ping timeout: 245 seconds]
marex-cloud has joined #yosys
kraiskil has quit [Ping timeout: 240 seconds]
kraiskil has joined #yosys
gtw has quit [Quit: kernel upgrade time]
gtw has joined #yosys
kraiskil has quit [Ping timeout: 265 seconds]
craigo has quit [Ping timeout: 258 seconds]
rcl` has joined #yosys
Cerpin has joined #yosys
strobokopp has joined #yosys
FabM has quit [Ping timeout: 240 seconds]
strobokopp has quit [Read error: Connection reset by peer]
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #yosys
rjeli has quit [Ping timeout: 245 seconds]
rjeli has joined #yosys
jhol has quit [Ping timeout: 260 seconds]
jhol has joined #yosys
vidbina_ has joined #yosys
jfcaron has quit [Quit: Leaving]
twnqx has quit [Ping timeout: 256 seconds]
vidbina_ has quit [Ping timeout: 260 seconds]
FFY00 has quit [Read error: Connection reset by peer]
FFY00 has joined #yosys
mmicko has quit [Quit: leaving]
mmicko has joined #yosys