*** tpb has joined #yosys | 00:00 | |
*** emeb has quit IRC | 00:32 | |
*** gsi_ has joined #yosys | 01:57 | |
*** gsi__ has quit IRC | 02:00 | |
*** jevinskie has joined #yosys | 02:04 | |
*** vonnieda has joined #yosys | 02:15 | |
*** citypw has joined #yosys | 02:26 | |
*** jevinskie has quit IRC | 02:31 | |
*** PyroPeter has quit IRC | 02:45 | |
*** vonnieda_ has joined #yosys | 02:53 | |
*** vonnieda has quit IRC | 02:54 | |
*** vonnieda_ has quit IRC | 02:58 | |
*** PyroPeter has joined #yosys | 02:58 | |
*** rohitksingh has joined #yosys | 04:35 | |
*** rohitksingh has quit IRC | 05:05 | |
*** emeb_mac has quit IRC | 05:20 | |
*** rohitksingh_work has joined #yosys | 05:20 | |
*** Jybz has joined #yosys | 06:42 | |
*** dys has quit IRC | 06:58 | |
*** futarisIRCcloud has joined #yosys | 07:34 | |
*** litghost has quit IRC | 07:44 | |
*** Jybz has quit IRC | 07:50 | |
*** litghost has joined #yosys | 07:52 | |
*** MoeIcenowy has quit IRC | 07:53 | |
*** MoeIcenowy has joined #yosys | 07:53 | |
*** MoeIcenowy has quit IRC | 07:58 | |
*** MoeIcenowy has joined #yosys | 07:58 | |
*** m4ssi has joined #yosys | 07:59 | |
*** fsasm has joined #yosys | 08:01 | |
*** arnd has quit IRC | 08:11 | |
*** arnd has joined #yosys | 08:11 | |
*** Ultrasauce has quit IRC | 08:13 | |
*** Ultrasauce has joined #yosys | 08:14 | |
*** daveshah has quit IRC | 08:16 | |
*** ktemkin has quit IRC | 08:16 | |
*** marex-cloud has quit IRC | 08:17 | |
*** guan has quit IRC | 08:17 | |
*** ktemkin has joined #yosys | 08:17 | |
*** daveshah has joined #yosys | 08:17 | |
*** guan has joined #yosys | 08:19 | |
*** futarisIRCcloud has quit IRC | 08:23 | |
*** futarisIRCcloud has joined #yosys | 08:27 | |
*** Jybz has joined #yosys | 08:44 | |
*** Jybz has quit IRC | 09:09 | |
*** marex-cloud has joined #yosys | 09:44 | |
*** MoeIcenowy has quit IRC | 09:45 | |
*** MoeIcenowy has joined #yosys | 09:46 | |
*** philtor has quit IRC | 10:30 | |
*** futarisIRCcloud has quit IRC | 10:33 | |
*** proteusguy has joined #yosys | 10:56 | |
*** Jybz has joined #yosys | 11:12 | |
*** Jybz has quit IRC | 11:14 | |
*** eightdot has quit IRC | 11:57 | |
*** eightdot has joined #yosys | 11:59 | |
*** rohitksingh_work has quit IRC | 12:55 | |
*** rohitksingh has joined #yosys | 13:49 | |
*** jakobwenzel has quit IRC | 14:24 | |
*** rohitksingh has quit IRC | 14:55 | |
*** rohitksingh has joined #yosys | 14:57 | |
*** Cerpin has joined #yosys | 14:58 | |
*** fsasm has quit IRC | 15:21 | |
*** alcorn has quit IRC | 15:36 | |
*** Cerpin has quit IRC | 15:39 | |
*** rohitksingh has quit IRC | 15:41 | |
*** rohitksingh has joined #yosys | 15:42 | |
*** Cerpin has joined #yosys | 16:14 | |
*** m4ssi has quit IRC | 16:15 | |
*** Cerpin has quit IRC | 16:21 | |
*** vonnieda has joined #yosys | 16:32 | |
*** citypw has quit IRC | 17:51 | |
adamgreig | daveshah: i think commit https://github.com/YosysHQ/yosys/commit/ac6cc88db352938d8dd9f2f9c6d404663674538e has broken all my multi-clock bram inference on ice40 :p | 18:02 |
---|---|---|
tpb | Title: memory_bram: Fix multiclock make_transp · YosysHQ/yosys@ac6cc88 · GitHub (at github.com) | 18:02 |
daveshah | adamgreig: it was always broken :p | 18:02 |
daveshah | just not so visibly... | 18:02 |
adamgreig | well before it worked and now it tries to use 65000 LCs instead of a few brams | 18:02 |
adamgreig | so i guess i didn't notice the broken before but now it really is broken :P | 18:02 |
daveshah | The iCE40 doesn't have a hardware transparent (write-through) BRAM mode | 18:03 |
adamgreig | aha, that might be a good clue | 18:03 |
daveshah | It is possible to fake this for a single clock domain, but afaik there is no guaranteed safe solution across clock domains to fake it | 18:03 |
daveshah | Before Yosys tried, but this led to odd sim-synth mismatches | 18:04 |
adamgreig | ack | 18:04 |
adamgreig | I don't really care about write-through but I'm using nmigen and it might well be asking for that by default | 18:04 |
daveshah | Hmm | 18:04 |
daveshah | oMigen/LiteX definitely supports both | 18:04 |
daveshah | I've seen both in its Verilog output | 18:05 |
daveshah | not sure about nMigen, maybe it is an option? | 18:05 |
adamgreig | it is an option on the read port | 18:05 |
adamgreig | I'll see if that fixes things | 18:05 |
adamgreig | yikes. it's certainly done something. | 18:10 |
adamgreig | now I have hundreds fewer LCs and also no RAMs | 18:10 |
tnt | adamgreig: what does the verilog look like | 18:16 |
tnt | ? | 18:16 |
adamgreig | nmigen generates RTLIL rather than verilog though I do have a minimal test case | 18:16 |
adamgreig | however I think I've solved it now | 18:16 |
adamgreig | I have to set transparent=True on the read port to allow yosys to infer it for ice40 | 18:17 |
adamgreig | but then nmigen changes the read port enable from constant 1 to some undriven signal which resets to 0, so the read port was always disabled, which is why most of my design subsequently vanished | 18:17 |
adamgreig | if I set transparent=False and assert rport.enable to 1 it all seems to work | 18:17 |
adamgreig | so... user error I guess! albeit some slightly confusing api design | 18:18 |
adamgreig | thanks daveshah! | 18:18 |
*** mwk has quit IRC | 19:07 | |
*** Cerpin has joined #yosys | 19:32 | |
*** Cerpin has quit IRC | 19:47 | |
*** Cerpin has joined #yosys | 19:55 | |
*** Cerpin has quit IRC | 21:13 | |
*** vonnieda has quit IRC | 22:30 | |
*** Cerpin has joined #yosys | 22:30 | |
*** Jybz has joined #yosys | 23:06 | |
*** Jybz has quit IRC | 23:12 | |
*** futarisIRCcloud has joined #yosys | 23:48 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!