*** tpb <[email protected]> has joined #yosys | 00:00 | |
*** ZipCPU <[email protected]> has quit IRC (Read error: Connection reset by peer) | 00:34 | |
*** ZipCPU <[email protected]> has joined #yosys | 00:36 | |
*** mewt <[email protected]> has quit IRC (Ping timeout: 260 seconds) | 01:07 | |
*** mewt <[email protected]> has joined #yosys | 01:08 | |
*** bl0x_ <bl0x_!~bl0x@p200300d7a70ccc00c207a4ac7473b968.dip0.t-ipconnect.de> has joined #yosys | 02:07 | |
*** bl0x <[email protected]> has quit IRC (Ping timeout: 248 seconds) | 02:09 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:5d54:b6ed:fddc:8b9> has quit IRC (Read error: Connection reset by peer) | 03:48 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:58e8:87e9:f7cb:65fe> has joined #yosys | 03:49 | |
*** ZipCPU <[email protected]> has quit IRC (Ping timeout: 264 seconds) | 04:27 | |
*** ZipCPU <[email protected]> has joined #yosys | 04:38 | |
*** ere <[email protected]> has joined #yosys | 08:29 | |
ere | is there separate chat for gowin? | 09:30 |
---|---|---|
*** ZipCPU_ <[email protected]> has joined #yosys | 09:33 | |
*** ZipCPU <[email protected]> has quit IRC (Ping timeout: 248 seconds) | 09:37 | |
*** ZipCPU_ is now known as ZipCPU | 09:37 | |
*** ec_ <ec_!~ec@gateway/tor-sasl/ec> has joined #yosys | 10:15 | |
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 255 seconds) | 10:17 | |
*** ZipCPU <[email protected]> has quit IRC (Ping timeout: 272 seconds) | 10:28 | |
*** ZipCPU <[email protected]> has joined #yosys | 10:41 | |
*** ZipCPU <[email protected]> has quit IRC (Ping timeout: 246 seconds) | 10:55 | |
*** ZipCPU <[email protected]> has joined #yosys | 11:00 | |
*** ZipCPU <[email protected]> has quit IRC (Ping timeout: 252 seconds) | 11:06 | |
*** ZipCPU <[email protected]> has joined #yosys | 11:14 | |
*** freemint <[email protected]> has quit IRC (Ping timeout: 265 seconds) | 11:17 | |
*** ZipCPU <[email protected]> has quit IRC (Ping timeout: 246 seconds) | 11:25 | |
*** ZipCPU <[email protected]> has joined #yosys | 11:28 | |
*** Klotz <Klotz!~Klotzoman@gateway/tor-sasl/klotz> has joined #yosys | 11:48 | |
Sarayan | ERROR: Multiple edge sensitive events found for this signal! | 11:50 |
Sarayan | that means multiple writes? | 11:50 |
Sarayan | it's setting is in a always @(posedge clk32, negedge porb, negedge resb) begin | 11:51 |
Sarayan | og.kervella.org/gstmcu.v signal ixdma, comes from AtariST_Mister | 11:52 |
*** ZipCPU <[email protected]> has quit IRC (Ping timeout: 265 seconds) | 11:53 | |
*** ZipCPU <[email protected]> has joined #yosys | 12:07 | |
jix | Sarayan: AFAICT it's just that both porb as well as resb cause an async reset of ixdma, but yosys' FF cells can only have one ALOAD input | 12:29 |
jix | (or an async reset instead of async load, but still same limitation) | 12:31 |
*** ZipCPU <[email protected]> has quit IRC (Ping timeout: 248 seconds) | 12:31 | |
jix | since the actual modelled behavior is just a level sensitive async reset when either of them is low, it's possible to use a single FF and connect the and of both of them to the async reset input | 12:35 |
Sarayan | thanks, gonna try that | 12:39 |
*** ZipCPU <[email protected]> has joined #yosys | 12:40 | |
jix | wait, maybe it's not this | 12:40 |
Sarayan | yeah, doesn't change a thing | 12:42 |
Sarayan | fwiw I'm trying to build a sim using og.kervella.org/yosys.sh | 12:47 |
Sarayan | that coe overuses edges | 12:48 |
Sarayan | code | 12:48 |
jix | so with https://gist.githubusercontent.com/jix/8e496022a582163c29027891526f943d/raw/bcdadb003ee5d599dccf6678b6826b4e79fe1b16/gstmcu.diff I don't get that error | 12:53 |
jix | (the "wait, ..." was just me not noticing a typo I had made) | 12:54 |
jix | I haven't really used cxxrtl myself, but when the design does lot of async stuff it might not work as is due to stuff like this https://github.com/YosysHQ/yosys/issues/3549 | 12:56 |
jix | the good news is that (depending on how the design uses async stuff) you might still be able to simulate it by using async2sync or clk2fflogic to convert it to a sync design before running it through cxxrtl | 12:57 |
jix | Sarayan: https://gist.githubusercontent.com/jix/56611ea81664ea7df15e2cea5424e745/raw/86de9be17749cf46342349d7bc94182f97447bd3/gstmcu.2.diff also works | 13:02 |
jix | so the frontend does have the logic to combine multiple level sensitive resets (I also did vaguely remember seeing this), it just doesn't recognize the particular pattern used | 13:03 |
Sarayan | oh cute | 13:05 |
Sarayan | much thanks | 13:05 |
Sarayan | yep, once I've added the missing modules cxxrtl generates the .cc, beautiful | 13:09 |
jix | the two ways that work also do match IEEE 1364.1 "Standard for Verilog Register Transfer Level Synthesis" while the original doesn't | 13:10 |
jix | not that yosys is limiting itself to that, lots of real world RTL doesn't strictly follow that and other tools do support more too, but following that probably still is a good way to make sure synthesis works and matches across tools | 13:11 |
*** ZipCPU <[email protected]> has quit IRC (Ping timeout: 260 seconds) | 13:12 | |
Sarayan | that all confirms my clear preference for amaranth | 13:12 |
*** ZipCPU <[email protected]> has joined #yosys | 13:21 | |
*** Klotz <Klotz!~Klotzoman@gateway/tor-sasl/klotz> has quit IRC (Quit: Klotz) | 13:30 | |
*** vancz <vancz!~vancz@user/vancz> has quit IRC () | 13:45 | |
*** vancz <vancz!~vancz@user/vancz> has joined #yosys | 13:52 | |
*** freemint <freemint!~freemint@2001:638:904:ffe8:339b:2f0c:7daf:5607> has joined #yosys | 14:29 | |
*** freemint <freemint!~freemint@2001:638:904:ffe8:339b:2f0c:7daf:5607> has quit IRC (Ping timeout: 256 seconds) | 14:56 | |
*** freemint <freemint!~freemint@2001:638:904:ffe8:339b:2f0c:7daf:5607> has joined #yosys | 17:54 | |
*** freemint <freemint!~freemint@2001:638:904:ffe8:339b:2f0c:7daf:5607> has quit IRC (Ping timeout: 260 seconds) | 18:59 | |
*** ec_ <ec_!~ec@gateway/tor-sasl/ec> has quit IRC (Remote host closed the connection) | 19:20 | |
*** ec_ <ec_!~ec@gateway/tor-sasl/ec> has joined #yosys | 19:21 | |
*** freemint <freemint!~freemint@2001:638:904:ffe8:339b:2f0c:7daf:5607> has joined #yosys | 19:41 | |
lofty | ere: #yosys-apicula | 20:08 |
ere | lofty: thanks | 20:32 |
*** lkcl <[email protected]> has quit IRC (Quit: BNC by #bnc4you) | 22:28 | |
*** lkcl <[email protected]> has joined #yosys | 22:34 | |
*** freemint <freemint!~freemint@2001:638:904:ffe8:339b:2f0c:7daf:5607> has quit IRC (Ping timeout: 246 seconds) | 22:54 | |
*** nonchip <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 23:06 | |
*** nonchip <[email protected]> has joined #yosys | 23:06 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!