*** tpb <[email protected]> has joined #yosys | 00:00 | |
*** X-Scale <[email protected]> has joined #yosys | 00:00 | |
*** emeb_mac <[email protected]> has quit IRC (Ping timeout: 276 seconds) | 00:27 | |
*** gsmecher <[email protected]> has quit IRC (Ping timeout: 250 seconds) | 00:28 | |
*** emeb_mac <[email protected]> has joined #yosys | 00:33 | |
*** diadatp <diadatp!uid508601@user/diadatp> has quit IRC () | 00:55 | |
*** diadatp <diadatp!~diadatp@user/diadatp> has joined #yosys | 01:01 | |
*** Guest96 <[email protected]> has joined #yosys | 01:02 | |
*** Guest96 <[email protected]> has left #yosys | 01:11 | |
*** vidbina <[email protected]> has joined #yosys | 06:07 | |
*** vidbina <[email protected]> has quit IRC (Ping timeout: 255 seconds) | 06:25 | |
*** emeb_mac <[email protected]> has quit IRC (Quit: Leaving.) | 07:01 | |
*** vidbina <[email protected]> has joined #yosys | 07:35 | |
*** vidbina <[email protected]> has quit IRC (Ping timeout: 240 seconds) | 08:24 | |
*** vidbina <[email protected]> has joined #yosys | 08:36 | |
*** Kamilion <Kamilion!~kvirc@user/kamilion> has quit IRC (Ping timeout: 246 seconds) | 09:36 | |
*** Kamilion <Kamilion!~kvirc@user/kamilion> has joined #yosys | 09:40 | |
*** jix <jix!~jix@user/jix> has quit IRC (Quit: quit) | 10:01 | |
*** jix <jix!~jix@user/jix> has joined #yosys | 10:02 | |
*** vidbina <[email protected]> has quit IRC (Ping timeout: 252 seconds) | 12:21 | |
*** vidbina <[email protected]> has joined #yosys | 14:43 | |
*** emeb <[email protected]> has joined #yosys | 15:34 | |
*** gsmecher <[email protected]> has joined #yosys | 15:44 | |
*** vidbina <[email protected]> has quit IRC (Ping timeout: 240 seconds) | 18:28 | |
tnt | Err, how do you execute a yosys script then get an interactive prompt once its done ? | 19:17 |
---|---|---|
tnt | My google-fu is failing me :/ | 19:17 |
gatecat | the "shell" command does that | 19:17 |
gatecat | you could do -p "script script_file.ys; shell" | 19:18 |
tnt | Oh, ok, yeah that works. tx. | 19:18 |
*** emeb_mac <[email protected]> has joined #yosys | 19:20 | |
tnt | So, I'm trying to use cxxrtl to simulate a SoC because iverilog is a bit on the slow side when simulating past a few millions cycles. First time using cxxrtl at all, so I'm still figuring things out but ATM the generated C++ takes 8 minutes to build ( and ~ 9G of RAM ). | 20:24 |
tnt | The SoC contains RAM of course, which for sim in iverilog I replaced the memory controller / phy / ... with just a flat reg [31:0] mem[0:8388607]; arrays and I'm using that for cxxrtl too. | 20:25 |
whitequark | the current implementation is inefficient at handling very large memories | 20:26 |
whitequark | replacing it with a black box is one possible workaround | 20:26 |
tnt | Ok, I'll give that a shot. | 20:27 |
whitequark | let me know if you hit any issues | 20:28 |
whitequark | you will likely need the (* cxxrtl_sync *) attribute on the dout port | 20:28 |
tnt | In a somewhat related topic, the SPRAM model in cells_sim.v isn't appreciated by yosys (I'm loading cells_sim because I need cxxrtl to sim some of the primitives ...). I patched it to mkae it digested better (at the price of sim accuracy but heh can't have everything). | 20:29 |
tnt | Is there a `define that I should be using to have that included upstream to enable/disable that patch ? | 20:30 |
tnt | (Basically the sim model simulated the various shutdown and standby modes and that just uses a bunch of async stuff which doesn't go well) | 20:31 |
whitequark | CXXRTL is synthesis-like, so maybe `ifdef SYNTHESIS ? | 20:31 |
whitequark | I'm not sure though | 20:31 |
tnt | Heh. googling cxxrtl_sync isn't giving much info about what this is for | 20:32 |
whitequark | please take a look at `help write_cxxrtl`; there is an introduction in that text | 20:32 |
tnt | ack | 20:33 |
*** vidbina <[email protected]> has joined #yosys | 21:05 | |
*** ZipCPU <[email protected]> has quit IRC (Ping timeout: 252 seconds) | 21:17 | |
*** ZipCPU <[email protected]> has joined #yosys | 21:18 | |
*** dys <dys!~dys@user/dys> has quit IRC (Ping timeout: 252 seconds) | 21:18 | |
tnt | Mmm, doesn't seem to have improved build time unfortunately. I haven't actually implemented the blackbox yet, but it takes like 10+ minutes to complete compilation and throw error about missing symbol. | 21:41 |
tnt | Less memory used and the .cpp went from 51M down to 7M so that's at least some gain. | 21:42 |
*** dys <dys!~dys@user/dys> has joined #yosys | 21:45 | |
*** vidbina <[email protected]> has quit IRC (Ping timeout: 255 seconds) | 22:06 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!