_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://freenode.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
pftbest has quit [Ping timeout: 245 seconds]
pftbest has joined #litex
pftbest has quit [Ping timeout: 276 seconds]
FFY00_ has joined #litex
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #litex
lf has quit [Ping timeout: 260 seconds]
lf has joined #litex
j4cbo has joined #litex
pftbest has joined #litex
pftbest has quit [Ping timeout: 245 seconds]
pftbest has joined #litex
pftbest has quit [Ping timeout: 260 seconds]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #litex
Degi has quit [Ping timeout: 245 seconds]
Degi has joined #litex
<promach3> _florent_: however I suppose `tWR` is not needed for `WRITE_AP` where it is using AUTO-PRECHARGE mechanism ?
<promach3> I mean no need to manually compute the Precharge Time
lkcl has quit [Ping timeout: 240 seconds]
<promach3> by the way, for Micron definition on `DM` , it is a bit confusing on how exactly `DM` works ?
lkcl has joined #litex
lkcl has quit [Ping timeout: 265 seconds]
<j4cbo> hi! i'm trying to run linux-on-litex-vexriscv on my ecpix5, and i've got the gateware built from litex_boards and found prebuilt linux images at https://github.com/litex-hub/linux-on-litex-vexriscv/issues/164 but am stuck on getting the device tree `rv32.dtb`... is there a way to generate that from the litex_boards repo or do i need to rebuild with linux-on-litex-vexriscv/make.py ?
lkcl has joined #litex
lkcl has quit [Ping timeout: 246 seconds]
pftbest has joined #litex
lkcl has joined #litex
lkcl has quit [Ping timeout: 260 seconds]
lkcl has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Ping timeout: 264 seconds]
Bertl is now known as Bertl_zZ
<_florent_> promach3: DM is a data mask for writes, similar to Wishbone's sel, AXI's strobe. Writing a DRAM controller can be complicated since there are lots of things to do correctly and as you see, reading datasheets does not always give you a clear understanding. Before writing your own, I would first recommend playing with one controller in simulation: Xilinx's MIG, LiteDRAM, Ultraembedded's DDR3 controller, etc...
<_florent_> promach3: This will gives you a better understanding of things and you could then implement your own ideas
<_florent_> promach3: For LiteDRAM, with LiteX installed, it's pretty easy to create a simulation with various DRAM modules (can be SDR/DDR/DDR2/DDR3/DDR4): litex_sim --with-sdram --sdram-module=xxyy --trace
<_florent_> This will allow you to see the internal signals and how the DFI interface should behave
<promach3> why need to mask ? What will happen if user choose to pull DM to low logic during write cycle ? and is this allowed at all ?
<_florent_> promach3: this is allowed yes to have DM always pulled low (some boards are wired like this) but will make you loose the byte granularity on writes, your granularity is then on DRAM's burst words.
<_florent_> promach3: DM is just here to have byte granularity on the write accesses (ie you only want to update some bytes of the DRAM word)
<promach3> _florent_: you mean `DM` has the purpose or meaning of `bit-select` in verilog ?
pftbest has joined #litex
<_florent_> promach3: When writes are done on bus with a data-width > 8, you are doing a single write for multiple bytes and then need to be able to indicate which bytes are valid and need to be updated in memory, which bytes should be ignored. That's the purpose of DM.
<pftbest> j4cbo: when you run linux-on-litex-vexriscv/make.py it will generate a dtb file in the images directory.
<promach3> _florent_: so, for simplicity, just hardwire `DM` to low logic ?
Melkhior has joined #litex
<promach3> but `DM` (or `TDQS` pin) is of `inout` nature
<_florent_> promach3: yes start simple with DM as output hardwired to 0
<promach3> but the pin itself is `inout` ?
<promach3> _florent_:
<_florent_> You can just use it as an output
shorne has quit [Ping timeout: 240 seconds]
kgugala has joined #litex
kgugala_ has quit [Ping timeout: 265 seconds]
lkcl has quit [Ping timeout: 245 seconds]
kgugala_ has joined #litex
lkcl has joined #litex
kgugala has quit [Ping timeout: 260 seconds]
shorne has joined #litex
<promach3> _florent_: but `TDQS_n` needs to be `High-Z` ?
_whitelogger has joined #litex
shorne has quit [Ping timeout: 245 seconds]
<pftbest> How to stop litex_sim ?
<pftbest> is Ctrl+C a good way to stop it?
shorne has joined #litex
kgugala_ has quit [Remote host closed the connection]
<_florent_> pftbest: yes, that's the way to do it. (We should probably improve this)
kgugala has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Read error: Connection reset by peer]
pftbest has joined #litex
Bertl_zZ is now known as Bertl
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Ping timeout: 258 seconds]
pftbest has joined #litex
lkcl has quit [Ping timeout: 246 seconds]
lkcl has joined #litex
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 265 seconds]
<zyp> has anybody tried integrating the luna usb stack with litex?
<_florent_> zyp: I think Greg Davill did some tests with Luna and LiteX
<zyp> ah, nice
<zyp> not having any luck with etherbone on ecpix-5, getting neither ping nor arp replies
st-gourichon-fid has quit [Quit: ZNC - https://znc.in]
st-gourichon-fid has joined #litex
st-gourichon-fid has quit [Quit: ZNC - https://znc.in]
st-gourichon-fid has joined #litex
nelgau has quit []
sorear has quit [Ping timeout: 240 seconds]
shorne has quit [Ping timeout: 264 seconds]
sorear has joined #litex
shorne has joined #litex