_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://libera.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
geertu has quit [*.net *.split]
MoeIcenowy has quit [*.net *.split]
TMM_ has quit [*.net *.split]
nelgau_ has quit [*.net *.split]
C-Man has quit [*.net *.split]
kbeckmann has quit [*.net *.split]
vup has quit [*.net *.split]
Xesxen has quit [*.net *.split]
shoragan has quit [*.net *.split]
TMM_ has joined #litex
tpb has joined #litex
C-Man has joined #litex
geertu has joined #litex
kbeckmann has joined #litex
vup has joined #litex
Xesxen has joined #litex
nelgau has joined #litex
shoragan has joined #litex
shoragan has quit [Changing host]
shoragan has joined #litex
MoeIcenowy has joined #litex
C-Man has quit [Quit: Leaving]
C-Man has joined #litex
Coldberg has joined #litex
Coldberg has quit [Remote host closed the connection]
Coldberg has joined #litex
C-Man has quit [Ping timeout: 260 seconds]
Degi_ has joined #litex
Degi has quit [Ping timeout: 246 seconds]
Degi_ is now known as Degi
geertu has quit [Ping timeout: 248 seconds]
<Guest63> After some digging, I believe I am experiencing issues
<Guest63> similar to this one:
geertu has joined #litex
<Guest63> After adding the following command     VerilatedVcd::flush_all();  to litex_sim_dump()  in sim_init.cpp
<Guest63> and rebuilding and rerunning
<Guest63> my VCD dump now finishes the definitions
<Guest63>      $var wire 1 G^" when_InstructionCache_l459_2 $end
<Guest63>      $var wire 1 7x# when_Utils_l357 $end
<Guest63>     $upscope $end
<Guest63>    $upscope $end
<Guest63>   $upscope $end
<Guest63>  $upscope $end
<Guest63> $enddefinitions $end
<Guest63> however, there are still no traces
<Guest63> Going on an even deeper dive, it appears that :
<Guest63> g_sim->sim_trace in veril.cpp is never set true
<Guest63> when the LPDDR4 simulations are built
<Guest63> i am not too sure what this represents exactly, but it appears that this should be set to be true
_whitelogger has joined #litex
mithro has joined #litex
Ikkepop has joined #litex
x56 has joined #litex
amstan has joined #litex
Coldberg has quit [Ping timeout: 272 seconds]
DerekKozel[m] has joined #litex
CarlFK has joined #litex
a3f has quit [*.net *.split]
Crofton[m] has quit [*.net *.split]
anuejn has quit [*.net *.split]
novenary has quit [*.net *.split]
guan has quit [*.net *.split]
novenary has joined #litex
guan has joined #litex
anuejn has joined #litex
Crofton[m] has joined #litex
a3f has joined #litex
Melkhior has quit [Quit: Leaving]
subthreshold has quit [Quit: Client closed]
Guest63 has quit [Quit: Client closed]
Guest63 has joined #litex
FabM has joined #litex
FabM has joined #litex
FabM has quit [Changing host]
joseng has joined #litex
<_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
<_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
<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.
<_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.
<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).
<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
<Guest63> it's still generating empty dumps.
Guest63 is now known as subthreshold
<_florent_> subthreshold: I'll have a closer look this week, what was the hack you did?
<_florent_> (Maybe you can keep it for now until I have a closer look)
<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.
<subthreshold> Thanks again!
Ikkepop has quit [Ping timeout: 250 seconds]
davebee has joined #litex
Ikkepop has joined #litex
Ikkepop has quit [Quit: Leaving]
C-Man has joined #litex
davebee has quit [Quit: Client closed]
subthreshold has quit [Quit: Client closed]
davebee has joined #litex
davebee has quit [Quit: Client closed]
davebee has joined #litex
FabM has quit [Quit: Leaving]
davebee has quit [Quit: Client closed]
davebee has joined #litex
zjason` is now known as zjason
<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.
Guest63 has joined #litex
<somlo_> booting Linux on LiteX+Rocket over SATA: https://pastebin.com/p4ZM4iLx
<tpb> Title: __ _ __ _ __ / / (_) /____ | |/_/ / /__/ / __/ - - Pastebin.com (at pastebin.com)
<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
davebee has quit [Quit: Client closed]
somlo_ is now known as somlo
<_florent_> somlo: good, that's already some progress with your setup :)
<_florent_> somlo: what's the model of your SSD? I could try to buy one to reproduce the issue
Guest63 is now known as subthreshold
<somlo> _florent_: it's an `MZ-77E250B/AM`