*** tpb has joined #yosys | 00:00 | |
*** twnqx has quit IRC | 00:08 | |
*** Degi_ has joined #yosys | 00:14 | |
*** Degi has quit IRC | 00:17 | |
*** Degi_ is now known as Degi | 00:17 | |
*** Cerpin has quit IRC | 00:23 | |
*** jfcaron_ has joined #yosys | 00:45 | |
*** jfcaron_ has quit IRC | 00:49 | |
*** Cerpin has joined #yosys | 01:03 | |
*** adjtm has quit IRC | 01:47 | |
*** adjtm has joined #yosys | 01:48 | |
*** az0re has joined #yosys | 01:49 | |
*** craigo has joined #yosys | 02:29 | |
*** citypw has joined #yosys | 02:31 | |
*** az0re has quit IRC | 02:39 | |
*** emeb has quit IRC | 03:05 | |
*** az0re has joined #yosys | 03:44 | |
*** ashfaq1717 has joined #yosys | 04:56 | |
*** kraiskil has joined #yosys | 05:22 | |
*** FabM has joined #yosys | 06:13 | |
*** ashfaq1717 has quit IRC | 06:30 | |
*** npe has quit IRC | 06:36 | |
*** ashfaq1717 has joined #yosys | 06:52 | |
*** emeb_mac has quit IRC | 06:54 | |
*** ashfaq1717 has quit IRC | 07:02 | |
*** dys has joined #yosys | 07:22 | |
*** jakobwenzel has joined #yosys | 07:46 | |
*** futarisIRCcloud has quit IRC | 08:02 | |
*** ashfaq1717 has joined #yosys | 08:04 | |
ashfaq1717 | is there any channel for OpenSTA tool? on github, stackoverflow, reddit, irc? | 08:05 |
---|---|---|
*** vidbina_ has joined #yosys | 08:08 | |
*** ashfaq1717 has quit IRC | 08:23 | |
*** FFY00 has quit IRC | 08:31 | |
*** FFY00 has joined #yosys | 08:31 | |
*** FFY00 has quit IRC | 08:34 | |
*** FFY00 has joined #yosys | 08:35 | |
*** Ultrasauce has quit IRC | 08:44 | |
*** ashfaq1717 has joined #yosys | 09:15 | |
ashfaq1717 | is there any channel for OpenSTA tool? on github, stackoverflow, reddit, irc? | 09:15 |
*** ashfaq1717 has quit IRC | 09:41 | |
*** Ultrasauce has joined #yosys | 09:44 | |
*** vidbina_ has quit IRC | 09:50 | |
*** FFY00 has quit IRC | 10:08 | |
*** FFY00 has joined #yosys | 10:11 | |
*** vidbina_ has joined #yosys | 10:13 | |
*** twnqx has joined #yosys | 10:29 | |
*** Vinalon has quit IRC | 11:42 | |
*** vidbina_ has quit IRC | 11:45 | |
*** kraiskil has quit IRC | 11:52 | |
*** kraiskil has joined #yosys | 12:06 | |
*** jfcaron_ has joined #yosys | 13:23 | |
*** vidbina_ has joined #yosys | 13:34 | |
*** jfcaron_ is now known as jfcaron | 13:41 | |
*** emeb has joined #yosys | 13:47 | |
*** X-Scale` has joined #yosys | 14:50 | |
*** X-Scale has quit IRC | 14:52 | |
*** X-Scale` is now known as X-Scale | 14:52 | |
*** jakobwenzel has quit IRC | 14:53 | |
*** Vinalon has joined #yosys | 14:56 | |
*** jakobwenzel has joined #yosys | 14:57 | |
*** X-Scale` has joined #yosys | 14:58 | |
*** X-Scale has quit IRC | 14:59 | |
*** X-Scale` is now known as X-Scale | 14:59 | |
*** npe has joined #yosys | 15:02 | |
*** citypw has quit IRC | 15:20 | |
*** elGamal has quit IRC | 15:20 | |
*** jakobwenzel has quit IRC | 15:21 | |
*** jakobwenzel has joined #yosys | 15:22 | |
*** elGamal has joined #yosys | 15:22 | |
*** jakobwenzel has quit IRC | 15:32 | |
*** kraiskil has quit IRC | 15:59 | |
Sarayan | 30% faster? Now that's interesting | 16:20 |
ZirconiumX | Sarayan: ? | 16:33 |
ZirconiumX | If you mean the performance work that's happened recently, yeah, Yosys is a fair bit faster now | 16:33 |
Sarayan | https://twitter.com/whitequark/status/1252270371954450433 | 16:34 |
whitequark | Sarayan: if you are directly poking posedge_p_clk it will not apply to you | 16:34 |
Sarayan | wq: I wasn't, there was too many caveats, so I'm using the slow, safe version | 16:35 |
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 | 16:35 |
whitequark | ah | 16:35 |
whitequark | then it very much may apply to you | 16:35 |
whitequark | I am slowly getting to the point where those caveats may be automatically checked | 16:35 |
Sarayan | I know that my designs can be fully converged in one delta cycle | 16:35 |
Sarayan | up to this point at least | 16:36 |
whitequark | how many do they currently take? | 16:36 |
Sarayan | Dunno. Suspect one, I do nothing weird | 16:36 |
whitequark | three, if you don't do anything weird | 16:36 |
Sarayan | ok | 16:36 |
whitequark | one to propagate the clock pulse, one to propagate the *results* of the posedge, one to determine that the design converged | 16:37 |
Sarayan | :-) | 16:37 |
Sarayan | fuck, need to recompile yosys | 16:37 |
Sarayan | yosys: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory | 16:37 |
whitequark | in theory, this can be reduced to just one, while remainign fully safe | 16:37 |
whitequark | the patch i mentioned on twitter makes it always 3 | 16:37 |
whitequark | instead of "usually 3 but sometimes *far* more" | 16:38 |
Sarayan | urgh, I have slang in there, compile takes even longer | 16:38 |
*** vidbina_ has quit IRC | 16:38 | |
Sarayan | argh, the interface changed | 16:44 |
whitequark | of what? | 16:44 |
Sarayan | main.cc:371:3: error: use of undeclared identifier 'value' | 16:44 |
Sarayan | main.cc:183:1: error: use of undeclared identifier 'cxxrtl_design' | 16:45 |
Sarayan | I guess I must be missing a namespace or something | 16:45 |
whitequark | oh | 16:45 |
whitequark | what -I flag do you use? | 16:45 |
Sarayan | wait, I have bigger isues | 16:46 |
whitequark | it should be -I <yosys-root> or -I /usr/local/share/yosys | 16:46 |
Sarayan | yosys.cmd went wrong | 16:46 |
whitequark | without the backends/cxxrtl/... | 16:46 |
Sarayan | I had an empty c++ file generated for some reason | 16:47 |
whitequark | h | 16:47 |
whitequark | *ah | 16:47 |
whitequark | btw, you can use separate compilation now | 16:47 |
whitequark | -b 'cxxrtl -header' -o design.cc makes design.cc + design.h | 16:48 |
Sarayan | oh, interesting | 16:48 |
whitequark | so you don't have to spend time recompiling your stuff | 16:48 |
Sarayan | I still have to recompile my stuff given the header changes | 16:48 |
Sarayan | or at least pretends to | 16:48 |
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 | 16:49 |
whitequark | hm, not the .cc file, but for the .h file, I can | 16:49 |
Sarayan | doesn't the header have to change as soon as the internal state layout changes anyway? | 16:50 |
whitequark | Sarayan: actually, if your design converges in 1 delta cycle, the header only contains registers | 16:52 |
whitequark | ie sync signals | 16:52 |
Sarayan | ok, my step sizes vary between 2 and 5 | 16:52 |
whitequark | yes, then you'll benefit from the PR I am about to send | 16:52 |
Sarayan | cool | 16:52 |
whitequark | btw, can you show me your driver code again? | 16:52 |
Sarayan | pushing the current state | 16:53 |
*** dys has quit IRC | 16:53 | |
Sarayan | https://github.com/galibert/retrofpga/tree/master/overdrive | 16:53 |
tpb | Title: retrofpga/overdrive at master · galibert/retrofpga · GitHub (at github.com) | 16:53 |
Sarayan | via6522 has even simpler equivalent code | 16:53 |
*** elms has quit IRC | 16:54 | |
*** emilazy has quit IRC | 16:54 | |
Sarayan | yeah, via still compiles | 16:54 |
whitequark | Sarayan: oof, that's some complex driver code | 16:55 |
whitequark | ok, so here is what i wanted you to ensure, because i got it wrong in example code earlier | 16:55 |
*** elms has joined #yosys | 16:55 | |
Sarayan | overdrive yes | 16:55 |
*** emilazy has joined #yosys | 16:55 | |
Sarayan | check via6522, the cxxrtl aspects are identical | 16:55 |
whitequark | you should *never* change inputs to a design at the same time as you trigger flops | 16:56 |
whitequark | for example if you have posedge flops, at the step where p_clk goes 0->1, there should be *nothing else* going on | 16:56 |
whitequark | you can think of it as the simulator version of setup/hold violation | 16:56 |
Sarayan | so I should change values just before setting clk to 0? | 16:56 |
whitequark | if you have just posedge flops, yep, that would be safe | 16:57 |
whitequark | and also the fastest way to do it | 16:57 |
Sarayan | posedge is default, right? | 16:57 |
whitequark | yep | 16:57 |
Sarayan | then I have everything posedge | 16:57 |
Sarayan | I've learned my lesson, I have one clock, period | 16:57 |
whitequark | then make sure you only change inputs on clk 1->0 | 16:57 |
Sarayan | ok, I have to change both drivers then | 16:58 |
whitequark | or your design will mysteriously break at some point later | 16:58 |
whitequark | with some options, opt level, netlist and so on | 16:58 |
whitequark | you know how race conditions look. you will get that. | 16:58 |
whitequark | (or how setup/hold violations look...) | 16:59 |
Sarayan | well, maybe it explains why I can't read stuff out of the via6522 (yeah right) | 16:59 |
whitequark | possibly? | 16:59 |
Sarayan | I was starting to be out of ideas, so maybe, even | 16:59 |
Sarayan | I read after putting the clock back to 1 *and* stepping, right? | 17:00 |
whitequark | yes | 17:01 |
Sarayan | gah, I don't even know what the test is supposed to do anymore :-) | 17:02 |
*** kraiskil has joined #yosys | 17:05 | |
Sarayan | I feel like I'm not on the correct branch | 17:07 |
Sarayan | yeah, I was on a write_cxxrtl branch | 17:08 |
*** kraiskil has quit IRC | 17:21 | |
*** kraiskil has joined #yosys | 17:22 | |
*** Cerpin has quit IRC | 17:28 | |
*** marex-cloud has quit IRC | 17:29 | |
*** marex-cloud has joined #yosys | 17:52 | |
*** kraiskil has quit IRC | 18:04 | |
*** kraiskil has joined #yosys | 18:11 | |
*** gtw has quit IRC | 18:13 | |
*** gtw has joined #yosys | 18:16 | |
*** kraiskil has quit IRC | 18:35 | |
*** craigo has quit IRC | 18:58 | |
*** rcl` has joined #yosys | 19:03 | |
*** Cerpin has joined #yosys | 19:28 | |
*** strobokopp has joined #yosys | 19:31 | |
*** FabM has quit IRC | 19:57 | |
*** strobokopp has quit IRC | 20:04 | |
*** FFY00 has quit IRC | 20:08 | |
*** FFY00 has joined #yosys | 20:09 | |
*** rjeli has quit IRC | 20:14 | |
*** rjeli has joined #yosys | 20:15 | |
*** jhol has quit IRC | 20:16 | |
*** jhol has joined #yosys | 20:16 | |
*** vidbina_ has joined #yosys | 20:20 | |
*** jfcaron has quit IRC | 20:31 | |
*** twnqx has quit IRC | 20:34 | |
*** vidbina_ has quit IRC | 20:36 | |
*** FFY00 has quit IRC | 21:20 | |
*** FFY00 has joined #yosys | 21:21 | |
*** mmicko has quit IRC | 23:09 | |
*** mmicko has joined #yosys | 23:09 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!