<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.
<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