*** tpb has joined #yosys | 00:00 | |
*** Degi_ has joined #yosys | 00:19 | |
*** Degi has quit IRC | 00:23 | |
*** Degi_ is now known as Degi | 00:23 | |
*** emeb has quit IRC | 00:25 | |
*** emeb_mac has joined #yosys | 00:30 | |
*** az0re has quit IRC | 01:54 | |
*** adjtm has quit IRC | 02:02 | |
*** citypw has joined #yosys | 02:03 | |
*** adjtm has joined #yosys | 02:03 | |
*** brasilino has quit IRC | 02:16 | |
*** npe has joined #yosys | 02:16 | |
*** Vinalon has quit IRC | 04:36 | |
*** Jybz has joined #yosys | 04:36 | |
*** Vinalon has joined #yosys | 04:49 | |
*** az0re has joined #yosys | 05:04 | |
*** filt3r has quit IRC | 05:10 | |
*** markus-k has quit IRC | 05:10 | |
*** Degi has quit IRC | 05:14 | |
*** filt3r has joined #yosys | 05:15 | |
*** markus-k has joined #yosys | 05:15 | |
*** Degi has joined #yosys | 05:16 | |
*** Jybz has quit IRC | 05:19 | |
*** elGamal has quit IRC | 06:19 | |
*** npe has quit IRC | 06:21 | |
*** npe has joined #yosys | 06:22 | |
*** elGamal has joined #yosys | 06:23 | |
*** emeb_mac has quit IRC | 06:26 | |
*** dys has joined #yosys | 06:41 | |
*** vidbina_ has joined #yosys | 07:14 | |
*** jakobwenzel has joined #yosys | 07:48 | |
*** craigo has joined #yosys | 07:55 | |
*** twnqx has joined #yosys | 08:07 | |
*** vidbina_ has quit IRC | 08:40 | |
*** ayazar has joined #yosys | 08:57 | |
*** captain_morgan has quit IRC | 09:12 | |
*** captain_morgan has joined #yosys | 09:13 | |
*** N2TOH has joined #yosys | 09:40 | |
*** N2TOH_ has quit IRC | 09:44 | |
*** FFY00 has quit IRC | 09:46 | |
*** FFY00 has joined #yosys | 09:47 | |
*** FFY00 has quit IRC | 09:49 | |
*** FFY00 has joined #yosys | 09:49 | |
*** vidbina_ has joined #yosys | 09:55 | |
*** Vinalon has quit IRC | 10:32 | |
Sarayan | rtlil question: https://og.kervella.org/t.txt | 10:50 |
---|---|---|
Sarayan | extract of verilog follow by extract of rtlil (generated by the current frontend) | 10:50 |
Sarayan | Why is there $0\cnt[20:0] ? | 10:50 |
Sarayan | and if it's just "comb the intermediate value, then update on edge", why is there the assign $0\cnt[20:0] \cnt ? | 10:50 |
daveshah | I'm not sure if it helps, but there is some background on this in the Yosys manual | 10:51 |
whitequark | Sarayan: yup. please read the manual, if it's still not clear, i can go into detail | 10:52 |
whitequark | but it would take a long time to write in a comprehensive way, so i'd prefer if you read the manual first | 10:52 |
*** vidbina_ has quit IRC | 11:04 | |
*** FFY00 has quit IRC | 11:17 | |
*** FFY00 has joined #yosys | 11:21 | |
*** ashfaq1717 has joined #yosys | 12:41 | |
ashfaq1717 | How to replace basic logic cells (Nand,Not etc ) with a macro cell (i.e. adder) | 12:41 |
ashfaq1717 | If in a design there is an adder implemented by basic logic cells i.e. nand, not, etc, how can I identify that adder and replace with a macro adder cell to replace the logic cells? | 12:42 |
mwk | first of all, what exactly are you trying to do? synthesis on some weird target that has an adder macro? reverse engineering an IC? | 12:46 |
mwk | right now yosys only has the extract_fa pass which gives you full adder cells | 12:47 |
mwk | it would probably be reasonably easy to make another pass that takes that and tries to chain them into proper $alu / $add / whatever chains | 12:47 |
mwk | but there's no such thing yet | 12:47 |
mwk | my main question is how did you end up with a netlist that only has basic logic cells | 12:48 |
*** ashfaq1717 has quit IRC | 13:25 | |
*** stroboko1p has joined #yosys | 13:26 | |
Sarayan | ok, found it in the manual, and I see, it's just a default. But it's good to have a default, because you don't have to prove anything w.r.t completion of paths | 13:37 |
Sarayan | and yeah, that part of the manual really clarifies things, thanks for pointing me to it | 13:38 |
ZirconiumX | mwk: I'm assuming from the other issues that they've filed, they're doing ASIC synthesis | 13:39 |
ZirconiumX | But they're gone now, so | 13:39 |
mwk | I'm assuming as much, in which the right thing to do is recognize the damn $add cells *before* they end up as gates | 13:40 |
mwk | hence my questions | 13:40 |
ZirconiumX | Or possibly $alu | 13:46 |
ZirconiumX | But anyway | 13:46 |
daveshah | The advantage of mapping them at all for ASIC is much less than for FPGA | 13:46 |
daveshah | With the current state of ASIC synthesis in Yosys, the lack of optimisations caused by the hard logic is probably costing more area than they save | 13:47 |
daveshah | And there isn't really a timing advantage because between full adder standard cells and a full adder out of component cells afaik | 13:47 |
daveshah | Certainly nowhere near the timing advantage from an FPGA carry chain | 13:48 |
*** voxadam has quit IRC | 14:03 | |
*** voxadam has joined #yosys | 14:22 | |
*** emeb has joined #yosys | 14:31 | |
*** vidbina_ has joined #yosys | 14:32 | |
ZirconiumX | So, at present, synth_intel_alm doesn't - can't, really - support RAM init | 14:34 |
ZirconiumX | That makes e.g. nMigen designs with zero-initialised RAM get turned into flops | 14:35 |
ZirconiumX | But I know that if LUTRAM isn't given an init parameter it defaults to zero | 14:36 |
ZirconiumX | Suppose I mark the LUTRAM as initialisable (even though it's not) and if INIT=0 instantiate a LUTRAM anyway | 14:36 |
ZirconiumX | How would I fall back to flops in case INIT != 0? | 14:36 |
mwk | ... we need an "initializable, but only to 0" marker for rams | 14:37 |
mwk | eg. xilinx ultraram is genuinely this way | 14:37 |
daveshah | XCUP URAM also needs this | 14:37 |
daveshah | yeah | 14:37 |
daveshah | I need to check, but UltraPlus SPRAM might be too | 14:38 |
ZirconiumX | Okay, it's useful to know I'm not alone here | 14:39 |
*** jakobwenzel has quit IRC | 14:39 | |
*** citypw has quit IRC | 14:40 | |
ZirconiumX | https://github.com/YosysHQ/yosys/issues/1958 | 14:54 |
tpb | Title: memory_bram should have a "RAM initialises to zero" parameter · Issue #1958 · YosysHQ/yosys · GitHub (at github.com) | 14:55 |
mwk | hmm, wasn't there an issue for that already... | 14:55 |
mwk | huh, apparently not | 14:56 |
*** Vinalon has joined #yosys | 15:08 | |
*** vidbina_ has quit IRC | 15:10 | |
daveshah | The other outstanding issue is BRAM output register initialisation, which I tried to fix a few months ago but got too fed up with memory_bram | 15:14 |
mwk | ... this seems to be a general problem with fixing BRAM things | 15:16 |
mwk | you know what | 15:16 |
mwk | I'm getting tired of this | 15:16 |
mwk | as soon as I'm done with the current FF redesign saga, I'm starting the blockram inference redesign saga | 15:17 |
mwk | so help me gods | 15:17 |
* ZirconiumX snorts | 15:17 | |
ZirconiumX | Good luck, mwk | 15:17 |
lambda | she's offering to lose her sanity so we can keep ours - that's bravery right there | 15:27 |
ZirconiumX | lambda: you already have to lose your sanity to have a hobby such as ours | 15:29 |
*** jfcaron has joined #yosys | 15:31 | |
lambda | ZirconiumX: fair enough - but you can always bang your head against the wall just a little harder | 15:32 |
ZirconiumX | lambda: Can I use your head instead? | 15:35 |
* attie adds "Famous Last Words" to the playlist for this evening | 15:35 | |
mwk | ... oh gods | 15:36 |
mwk | you're going to torture me again, aren't you | 15:36 |
attie | no, this one is a normal song | 15:36 |
attie | also, I just discovered that MCR also did a song with that name | 15:37 |
mwk | ... they did | 15:37 |
attie | I was thinking of the Zeromancer song | 15:37 |
lambda | ZirconiumX: and here I naively thought I could escape the depths of toolchain hell by pretending to just be a user... no chance, it pulls you right in | 15:37 |
attie | it's just an inoffensive rock song | 15:38 |
ZirconiumX | lambda: Are you reading my Yosys synth_intel_alm thread? :P | 15:42 |
ZirconiumX | https://twitter.com/ZirconiumX/status/1251173509566550025 | 15:42 |
lambda | ZirconiumX: oh dear | 15:44 |
lambda | what a truly pleasant development environment | 15:44 |
ZirconiumX | lambda: The main reason to use Yosys for synthesis instead of Quartus is that Yosys doesn't spend forever screaming at you for slight mistake | 15:51 |
ZirconiumX | s | 15:51 |
*** alexhw has quit IRC | 16:04 | |
*** dys has quit IRC | 16:17 | |
*** Vinalon has quit IRC | 16:46 | |
*** Vinalon has joined #yosys | 16:46 | |
*** npe has quit IRC | 16:50 | |
*** craigo has quit IRC | 17:17 | |
*** elGamal has quit IRC | 17:51 | |
*** elGamal has joined #yosys | 17:52 | |
*** adjtm has quit IRC | 17:53 | |
*** adjtm has joined #yosys | 17:54 | |
mwk | https://github.com/YosysHQ/yosys/issues/1959 feel free to mention important things I forgot | 17:56 |
tpb | Title: Memory inference redesign · Issue #1959 · YosysHQ/yosys · GitHub (at github.com) | 17:56 |
*** klotz has joined #yosys | 19:03 | |
*** Vinalon has quit IRC | 19:24 | |
lambda | haha what even is this http://ix.io/2ir0 | 19:31 |
lambda | reorder alll the bits | 19:31 |
ZirconiumX | lambda: Did..did you just attach a PNG as a test file? | 19:32 |
ZirconiumX | *text | 19:32 |
lambda | huh? I just pushed a screenshot to ix.io, works fine when viewed in a browser here | 19:32 |
ZirconiumX | Firefox presents it with text encoding | 19:32 |
lambda | bleh | 19:32 |
lambda | you're right, "Content-Type: text/plain", seems qutebrowser just completely ignores that and shows it as an image anyway, fun | 19:34 |
*** stroboko1p has quit IRC | 19:36 | |
*** npe has joined #yosys | 19:41 | |
*** Vinalon has joined #yosys | 19:44 | |
*** vidbina_ has joined #yosys | 19:49 | |
*** klotz has quit IRC | 20:03 | |
*** ayazar has quit IRC | 21:01 | |
*** vidbina_ has quit IRC | 21:12 | |
*** jfcaron has quit IRC | 22:18 | |
Sarayan | ;3A;3A/jmi | 22:20 |
Sarayan | LN: What's the PMC? | 22:20 |
Sarayan | gah | 22:20 |
*** X-Scale` has joined #yosys | 23:03 | |
*** X-Scale has quit IRC | 23:05 | |
*** X-Scale` is now known as X-Scale | 23:05 | |
*** twnqx has quit IRC | 23:16 | |
*** Thorn has quit IRC | 23:36 | |
*** npe has quit IRC | 23:42 | |
*** Vinalon has quit IRC | 23:55 | |
*** Vinalon has joined #yosys | 23:56 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!