*** tpb has joined #yosys | 00:00 | |
*** awordnot has joined #yosys | 00:33 | |
*** emeb has quit IRC | 01:18 | |
*** kraiskil has quit IRC | 01:36 | |
*** kraiskil has joined #yosys | 02:30 | |
*** X-Scale has quit IRC | 02:32 | |
*** X-Scale has joined #yosys | 02:39 | |
*** nrossi has joined #yosys | 02:40 | |
*** X-Scale has quit IRC | 03:02 | |
*** X-Scale` has joined #yosys | 03:02 | |
*** X-Scale` is now known as X-Scale | 03:02 | |
*** kraiskil has quit IRC | 03:08 | |
*** kraiskil has joined #yosys | 03:20 | |
*** kraiskil has quit IRC | 03:35 | |
*** citypw has joined #yosys | 04:00 | |
*** Jybz has joined #yosys | 04:01 | |
*** pie_ has quit IRC | 06:01 | |
*** Jybz has quit IRC | 06:42 | |
*** Jybz has joined #yosys | 06:45 | |
*** m4ssi has joined #yosys | 08:34 | |
*** dys has joined #yosys | 08:35 | |
*** d0nker5 has quit IRC | 08:58 | |
*** d0nker5 has joined #yosys | 09:03 | |
*** d0nker5 has quit IRC | 10:43 | |
*** d0nker5 has joined #yosys | 11:26 | |
*** _whitelogger has joined #yosys | 11:54 | |
*** Jybz has quit IRC | 12:13 | |
*** fsasm has joined #yosys | 12:30 | |
*** Jybz has joined #yosys | 12:32 | |
*** dys has quit IRC | 12:36 | |
*** dys has joined #yosys | 12:51 | |
*** rohitksingh has quit IRC | 12:52 | |
*** rohitksingh has joined #yosys | 13:20 | |
*** pie_ has joined #yosys | 13:44 | |
*** Jybz has quit IRC | 13:50 | |
*** Jybz has joined #yosys | 13:53 | |
*** Jybz has quit IRC | 13:54 | |
*** fsasm has quit IRC | 13:57 | |
*** emeb has joined #yosys | 14:02 | |
ZirconiumX | So, I've been adding asynchronous set for synth_intel_alm, and now Yosys is spewing "Warning: Complex async reset for dff '\Q'." | 14:10 |
---|---|---|
*** jakobwenzel has quit IRC | 14:11 | |
ZirconiumX | https://gist.github.com/ZirconiumX/fcd6761a630b3688956a9a63a0b13ed8 | 14:12 |
tpb | Title: dff_sim.v ยท GitHub (at gist.github.com) | 14:12 |
daveshah | Yes, that's a standard warning for DFF with both set and clear | 14:18 |
daveshah | They are usually not implementable, although it seems Intel is an exception | 14:18 |
ZirconiumX | https://www.intel.com/content/www/us/en/programmable/quartushelp/13.0/mergedProjects/hdl/prim/prim_file_dffeas.htm | 14:20 |
tpb | Title: DFFEAS Primitive (at www.intel.com) | 14:20 |
ZirconiumX | This is my reference here | 14:20 |
mwk | intel and old xilinx | 14:20 |
mwk | I have that issue on my TODO list for that reason | 14:20 |
mwk | yosys will warn you, but will make the right-ish cell anyway, except | 14:21 |
mwk | 1) it ignores the priority of the reset/set on input and always assumes priority of reset over set (which is what most vendors pick anyway, I think) | 14:22 |
mwk | 2) it will emit dumb redundant logic on the set input | 14:22 |
ZirconiumX | 1) holds for Intel, judging by the truth table | 14:23 |
mwk | so... ignore the warning, I'll fix it sooner or later | 14:23 |
ZirconiumX | Noted | 14:25 |
*** dys has quit IRC | 14:45 | |
ZirconiumX | ...Would it be better to use asynchronous load over async reset/set? | 14:46 |
ZirconiumX | Since now I have async reset/set, and async load/data | 14:50 |
ZirconiumX | Which is effectively a duplicate | 14:50 |
mwk | not really a duplicate, reset/set is strictly better | 15:06 |
mwk | if you try to implement async set/reset in terms of async load, it's too easy to end up in glitchland | 15:06 |
mwk | also, it may be a good idea to use both and save some logic | 15:08 |
mwk | $_DLATCHSR_* maps cleanly to async load/data + async reset + async set | 15:08 |
*** Jybz has joined #yosys | 15:09 | |
mwk | (yosys doesn't emit them at this point, but that's *also* on my list) | 15:10 |
daveshah | ECP5 actually has async load too, but it's totally unused by the vendor tools (unless you create an ncl file) | 15:15 |
ZirconiumX | Okay, fair | 15:16 |
*** citypw has quit IRC | 15:21 | |
*** Jybz has quit IRC | 15:31 | |
*** Jybz has joined #yosys | 15:36 | |
*** Jybz has joined #yosys | 15:38 | |
*** Jybz has joined #yosys | 15:42 | |
*** Jybz has quit IRC | 15:43 | |
*** Jybz has joined #yosys | 15:47 | |
*** m4ssi has quit IRC | 17:07 | |
*** cr1901_modern has quit IRC | 19:41 | |
*** janrinze has quit IRC | 19:51 | |
*** rohitksingh has quit IRC | 19:59 | |
*** cr1901_modern has joined #yosys | 20:12 | |
*** janrinze has joined #yosys | 20:18 | |
*** nrossi has quit IRC | 21:02 | |
*** Jybz has quit IRC | 21:19 | |
*** Jybz has joined #yosys | 21:20 | |
*** Jybz has quit IRC | 22:51 | |
*** Jybz has joined #yosys | 22:53 | |
*** Jybz has quit IRC | 23:02 | |
*** emeb has quit IRC | 23:30 | |
*** rohitksingh has joined #yosys | 23:57 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!