Monday, 2022-04-11

*** tpb <[email protected]> has joined #litex00:00
*** C-Man <[email protected]> has joined #litex00:00
*** geertu <[email protected]> has joined #litex00:00
*** kbeckmann <[email protected]> has joined #litex00:00
*** vup <[email protected]> has joined #litex00:00
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has joined #litex00:00
*** nelgau <[email protected]> has joined #litex00:00
*** shoragan <[email protected]> has joined #litex00:01
*** MoeIcenowy <MoeIcenowy!~MoeIcenow@2604:a880:2:d1::1d1:f001> has joined #litex00:02
*** C-Man <[email protected]> has quit IRC (Quit: Leaving)00:05
*** C-Man <[email protected]> has joined #litex00:06
*** Coldberg <[email protected]> has joined #litex00:24
*** Coldberg <[email protected]> has quit IRC (Remote host closed the connection)00:24
*** Coldberg <[email protected]> has joined #litex00:24
*** C-Man <[email protected]> has quit IRC (Ping timeout: 260 seconds)00:28
*** Degi_ <[email protected]> has joined #litex00:52
*** Degi <[email protected]> has quit IRC (Ping timeout: 246 seconds)00:52
*** Degi_ is now known as Degi00:52
*** geertu <[email protected]> has quit IRC (Ping timeout: 248 seconds)01:33
Guest63After some digging, I believe I am experiencing issues01:46
Guest63similar to this one:01:46
Guest63https://github.com/enjoy-digital/litex/issues/83101:46
*** geertu <[email protected]> has joined #litex02:00
Guest63After adding the following command     VerilatedVcd::flush_all();  to litex_sim_dump()  in sim_init.cpp03:20
Guest63and rebuilding and rerunning03:20
Guest63my VCD dump now finishes the definitions03:21
Guest63     $var wire  1 G^" when_InstructionCache_l459_2 $end03:21
Guest63     $var wire  1 7x# when_Utils_l357 $end03:21
Guest63    $upscope $end03:21
Guest63   $upscope $end03:21
Guest63  $upscope $end03:21
Guest63 $upscope $end03:21
Guest63$enddefinitions $end03:21
Guest63however, there are still no traces03:21
Guest63Going on an even deeper dive, it appears that :05:05
Guest63g_sim->sim_trace in veril.cpp is never set true05:06
Guest63when the LPDDR4 simulations are built05:06
Guest63i am not too sure what this represents exactly, but it appears that this should be set to be true05: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 #litex05:32
*** _whitelogger <[email protected]> has joined #litex05:32
*** mithro <[email protected]> has joined #litex05:32
*** Ikkepop <[email protected]> has joined #litex05:32
*** x56 <x56!0x56@user/x56> has joined #litex05:33
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has joined #litex05: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 #litex05:37
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has joined #litex05: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 #litex05:43
*** guan <[email protected]> has joined #litex05:43
*** anuejn <[email protected]> has joined #litex05:44
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has joined #litex05:45
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex05: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 #litex06:10
*** FabM <[email protected]> has joined #litex06:16
*** joseng <[email protected]> has joined #litex06: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#L165806: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#L28806:52
Guest63Hi 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
Guest63Hi 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
Guest63Running this command: python litedram/phy/lpddr4/simsoc.py --log-level info --finish-after-memtest --double-rate-phy --l2-size 0 --trace --trace-fst --gtkw-savefile07:31
Guest63it's still generating empty dumps.07:32
*** Guest63 is now known as subthreshold07: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
subthresholdOh, 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
subthresholdThanks 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 #litex08:05
*** Ikkepop <[email protected]> has joined #litex10:39
*** Ikkepop <[email protected]> has quit IRC (Quit: Leaving)11:19
*** C-Man <[email protected]> has joined #litex11: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 #litex14: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 #litex14: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 #litex15:39
*** zjason` is now known as zjason15:43
davebeeIs 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 #litex17:01
somlo_booting Linux on LiteX+Rocket over SATA: https://pastebin.com/p4ZM4iLx17:37
tpbTitle: __ _ __ _ __ / / (_) /____ | |/_/ / /__/ / __/ - - 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 gateware17: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 somlo18: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 issue20:19
*** Guest63 is now known as subthreshold20: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/!