*** tpb <[email protected]> has joined #litex | 00:00 | |
*** C-Man <[email protected]> has joined #litex | 00:00 | |
*** geertu <[email protected]> has joined #litex | 00:00 | |
*** kbeckmann <[email protected]> has joined #litex | 00:00 | |
*** vup <[email protected]> has joined #litex | 00:00 | |
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has joined #litex | 00:00 | |
*** nelgau <[email protected]> has joined #litex | 00:00 | |
*** shoragan <[email protected]> has joined #litex | 00:01 | |
*** MoeIcenowy <MoeIcenowy!~MoeIcenow@2604:a880:2:d1::1d1:f001> has joined #litex | 00:02 | |
*** C-Man <[email protected]> has quit IRC (Quit: Leaving) | 00:05 | |
*** C-Man <[email protected]> has joined #litex | 00:06 | |
*** Coldberg <[email protected]> has joined #litex | 00:24 | |
*** Coldberg <[email protected]> has quit IRC (Remote host closed the connection) | 00:24 | |
*** Coldberg <[email protected]> has joined #litex | 00:24 | |
*** C-Man <[email protected]> has quit IRC (Ping timeout: 260 seconds) | 00:28 | |
*** Degi_ <[email protected]> has joined #litex | 00:52 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 246 seconds) | 00:52 | |
*** Degi_ is now known as Degi | 00:52 | |
*** geertu <[email protected]> has quit IRC (Ping timeout: 248 seconds) | 01:33 | |
Guest63 | After some digging, I believe I am experiencing issues | 01:46 |
---|---|---|
Guest63 | similar to this one: | 01:46 |
Guest63 | https://github.com/enjoy-digital/litex/issues/831 | 01:46 |
*** geertu <[email protected]> has joined #litex | 02:00 | |
Guest63 | After adding the following command VerilatedVcd::flush_all(); to litex_sim_dump() in sim_init.cpp | 03:20 |
Guest63 | and rebuilding and rerunning | 03:20 |
Guest63 | my VCD dump now finishes the definitions | 03:21 |
Guest63 | $var wire 1 G^" when_InstructionCache_l459_2 $end | 03:21 |
Guest63 | $var wire 1 7x# when_Utils_l357 $end | 03:21 |
Guest63 | $upscope $end | 03:21 |
Guest63 | $upscope $end | 03:21 |
Guest63 | $upscope $end | 03:21 |
Guest63 | $upscope $end | 03:21 |
Guest63 | $enddefinitions $end | 03:21 |
Guest63 | however, there are still no traces | 03:21 |
Guest63 | Going on an even deeper dive, it appears that : | 05:05 |
Guest63 | g_sim->sim_trace in veril.cpp is never set true | 05:06 |
Guest63 | when the LPDDR4 simulations are built | 05:06 |
Guest63 | i am not too sure what this represents exactly, but it appears that this should be set to be true | 05:06 |
*** joseng <[email protected]> has quit IRC (*.net *.split) | 05:31 | |
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has quit IRC (*.net *.split) | 05:31 | |
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has quit IRC (*.net *.split) | 05:31 | |
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has quit IRC (*.net *.split) | 05:31 | |
*** key2 <[email protected]> has quit IRC (*.net *.split) | 05:31 | |
*** _whitelogger <[email protected]> has quit IRC (*.net *.split) | 05:31 | |
*** mithro <[email protected]> has quit IRC (*.net *.split) | 05:31 | |
*** x56 <x56!0x56@user/x56> has quit IRC (*.net *.split) | 05:31 | |
*** key2 <[email protected]> has joined #litex | 05:32 | |
*** _whitelogger <[email protected]> has joined #litex | 05:32 | |
*** mithro <[email protected]> has joined #litex | 05:32 | |
*** Ikkepop <[email protected]> has joined #litex | 05:32 | |
*** x56 <x56!0x56@user/x56> has joined #litex | 05:33 | |
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has joined #litex | 05:34 | |
*** Coldberg <[email protected]> has quit IRC (Ping timeout: 272 seconds) | 05:36 | |
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has joined #litex | 05:37 | |
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has joined #litex | 05:39 | |
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has quit IRC (*.net *.split) | 05:43 | |
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has quit IRC (*.net *.split) | 05:43 | |
*** guan <[email protected]> has quit IRC (*.net *.split) | 05:43 | |
*** novenary <[email protected]> has quit IRC (*.net *.split) | 05:43 | |
*** anuejn <[email protected]> has quit IRC (*.net *.split) | 05:43 | |
*** novenary <[email protected]> has joined #litex | 05:43 | |
*** guan <[email protected]> has joined #litex | 05:43 | |
*** anuejn <[email protected]> has joined #litex | 05:44 | |
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has joined #litex | 05:45 | |
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex | 05:50 | |
*** Melkhior <Melkhior!~Melkhior@2a01:e0a:1b7:12a0:225:90ff:fefb:e717> has quit IRC (Quit: Leaving) | 05:57 | |
*** subthreshold <[email protected]> has quit IRC (Quit: Client closed) | 05:57 | |
*** Guest63 <[email protected]> has quit IRC (Quit: Client closed) | 06:00 | |
*** Guest63 <[email protected]> has joined #litex | 06:10 | |
*** FabM <[email protected]> has joined #litex | 06:16 | |
*** joseng <[email protected]> has joined #litex | 06:42 | |
_florent_ | subthreshold: Great that you manage to export the simulation model. To avoid exposing dq_o, dq_i, dq_oe, you could use a Tristate, similar to: https://github.com/enjoy-digital/litex/blob/master/litex/soc/integration/soc.py#L1658 | 06:51 |
_florent_ | subthreshold: For the dump issue, make sure you have this in your sim: https://github.com/enjoy-digital/litex/blob/master/litex/tools/litex_sim.py#L288 | 06:52 |
Guest63 | Hi Florent, hope you had a great weekend for the help on this again! Yes I think adding trace to self.comb fixed it (looks like the dump is generating properly now). Re-examining simsoc.py, I realize now that it only has platform.add_debug(self, reset=trace_reset) and not the trace command. | 07:07 |
_florent_ | Guest63: Thanks yes. I had the issue recently, we should really set the default value to 1 when the signal is not driven to avoid this. I just created https://github.com/enjoy-digital/litex/issues/1269 for this. | 07:16 |
Guest63 | Hi Florent, I actually realized that adding that the reason why it was dumping was because of a hack I made earlier when trying things. I've rolled everything back, with the only change being that I commented line 86 from simsoc.py out and added instead self.comb += platform.trace.eq(1). | 07:29 |
Guest63 | Running this command: python litedram/phy/lpddr4/simsoc.py --log-level info --finish-after-memtest --double-rate-phy --l2-size 0 --trace --trace-fst --gtkw-savefile | 07:31 |
Guest63 | it's still generating empty dumps. | 07:32 |
*** Guest63 is now known as subthreshold | 07:33 | |
_florent_ | subthreshold: I'll have a closer look this week, what was the hack you did? | 07:37 |
_florent_ | (Maybe you can keep it for now until I have a closer look) | 07:38 |
subthreshold | Oh, this looks like an error on my side. Seems like my editor desynced and I was running old code. Adding the command you suggested seems to be working. Will let this sim run overnight and look at the fst tmrw. | 07:45 |
subthreshold | Thanks again! | 07:46 |
*** Ikkepop <[email protected]> has quit IRC (Ping timeout: 250 seconds) | 07:56 | |
*** davebee <davebee!~davebee@cpc138570-newt42-2-0-cust29.19-3.cable.virginm.net> has joined #litex | 08:05 | |
*** Ikkepop <[email protected]> has joined #litex | 10:39 | |
*** Ikkepop <[email protected]> has quit IRC (Quit: Leaving) | 11:19 | |
*** C-Man <[email protected]> has joined #litex | 11:20 | |
*** davebee <davebee!~davebee@cpc138570-newt42-2-0-cust29.19-3.cable.virginm.net> has quit IRC (Quit: Client closed) | 12:15 | |
*** subthreshold <[email protected]> has quit IRC (Quit: Client closed) | 12:42 | |
*** davebee <davebee!~davebee@cpc138570-newt42-2-0-cust29.19-3.cable.virginm.net> has joined #litex | 14:08 | |
*** davebee <davebee!~davebee@cpc138570-newt42-2-0-cust29.19-3.cable.virginm.net> has quit IRC (Quit: Client closed) | 14:38 | |
*** davebee <davebee!~davebee@cpc138570-newt42-2-0-cust29.19-3.cable.virginm.net> has joined #litex | 14:38 | |
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving) | 15:14 | |
*** davebee <davebee!~davebee@cpc138570-newt42-2-0-cust29.19-3.cable.virginm.net> has quit IRC (Quit: Client closed) | 15:39 | |
*** davebee <davebee!~davebee@cpc138570-newt42-2-0-cust29.19-3.cable.virginm.net> has joined #litex | 15:39 | |
*** zjason` is now known as zjason | 15:43 | |
davebee | Is there a build flag that is only set when building the BIOS? I'm trying to share a library between the BIOS and the application code. I just want some conditional compilation when building the BIOS, but not the app. | 16:09 |
*** Guest63 <[email protected]> has joined #litex | 17:01 | |
somlo_ | booting Linux on LiteX+Rocket over SATA: https://pastebin.com/p4ZM4iLx | 17:37 |
tpb | Title: __ _ __ _ __ / / (_) /____ | |/_/ / /__/ / __/ - - Pastebin.com (at pastebin.com) | 17:37 |
somlo_ | _florent_: the one caveat is that one currently MUST power-cycle the SATA drive after programming bitstream into the nexys_video board, otherwise reading from the drive will hang the LiteSATA gateware | 17:38 |
*** davebee <davebee!~davebee@cpc138570-newt42-2-0-cust29.19-3.cable.virginm.net> has quit IRC (Quit: Client closed) | 18:36 | |
*** somlo_ is now known as somlo | 18:40 | |
_florent_ | somlo: good, that's already some progress with your setup :) | 20:18 |
_florent_ | somlo: what's the model of your SSD? I could try to buy one to reproduce the issue | 20:19 |
*** Guest63 is now known as subthreshold | 20:34 | |
somlo | _florent_: it's an `MZ-77E250B/AM` | 20:59 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!