_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]
tpb has joined #litex
<jevinskie[m]> Ok time to do some fpga stuff again, it’s been too long. I’ll be trying to merge the useful bits of this to litex mainline :) https://pbs.twimg.com/media/FKANoSaUYAAl_BV?format=jpg&name=large
<jevinskie[m]> What’s the policy on migen patches? Have to get them upsteamed first?
<jevinskie[m]> First order of business will be altera JTAGbone. It seems to be broken from a simple copy-pasta from that old branch so time to use ol’ reliable uartbone and litescope to debug the TAP FSM. Here’s the code so far, I hope it’s not too far off from mergable standards :) https://github.com/jevinskie/litex/commit/8e1c68fd45ec49d05d67cc6c2cf09563fb0f8e0a
nelgau_ has quit [Remote host closed the connection]
bl0x_ has quit [Ping timeout: 268 seconds]
bl0x_ has joined #litex
nelgau_ has joined #litex
nelgau_ has quit [Ping timeout: 256 seconds]
rtucker has quit [Quit: Client closed]
rtucker has joined #litex
nelgau_ has joined #litex
Degi_ has joined #litex
Degi has quit [Ping timeout: 250 seconds]
Degi_ is now known as Degi
nelgau_ has quit [Remote host closed the connection]
Martoni has joined #litex
nelgau_ has joined #litex
nelgau_ has quit [Remote host closed the connection]
nelgau_ has joined #litex
nelgau_ has quit [Ping timeout: 240 seconds]
FabM has joined #litex
FabM has joined #litex
FabM has quit [Changing host]
Martoni has quit [Ping timeout: 268 seconds]
<_florent_> jevinskie[m]: Nice work on the SPI Flash Emulator, this could be useful for lots of things (even for FPGA development)!
<_florent_> jevinskie[m]: We could indeed start merging your JTAGBone support for Altera. I'm happy reviewing/adapting the code a bit while merging, I'll just also need a way to reproduce it (if you could do a PR for one Altera board and provide the commands you are using).
tnt has quit [Ping timeout: 256 seconds]
RaYmAn has quit [Ping timeout: 256 seconds]
RaYmAn has joined #litex
tnt has joined #litex
Martoni has joined #litex
Martoni has quit [Ping timeout: 260 seconds]
<acathla> _florent_, the default target for the ice40up5k_evn freezes trying to enable SPI quad mode (in BIOS) and takes 3741LC, if I add "with_master=False" to the SPI flash initialization parameters it works fine and takes 3440 LC
<acathla> (I'm trying to make spiflash work again after updating LiteX)
<acathla> How can I add bitbang spi to LiteSPI now?
rtucker has quit [Quit: Client closed]
nelgau_ has joined #litex
nelgau_ has quit [Ping timeout: 250 seconds]
hexagon5un has quit [Quit: WeeChat 3.1]
<_florent_> acathla: bitbang is not supported yet in LiteSPI, if you want to use the functionalities of the old SPI Flash core, you can copy it in your project and just reintegrate it in your target
SpaceCoaster has quit [Ping timeout: 250 seconds]
SpaceCoaster has joined #litex
SpaceCoaster has quit [Ping timeout: 256 seconds]
SpaceCoaster has joined #litex
nelgau_ has joined #litex
nelgau_ has quit [Ping timeout: 252 seconds]
<jevinskie[m]> _florent_: Thanks! I'll provide instructions in the eventual PR but I think it should mostly Just Work once I add the openocd config file generation for USB Blasters (I also have examples for using an openocd-only flow if that's of interest, lets you use something like a FTDI dongle instead of a blaster, if that is of interest). I'll add support for the DECA in the PR since A) I know you have one as well B) with no built-in usb-serial
<jevinskie[m]> adapter, Atlantic JTAG UART is painfully slow and JTAGbone + crossover UART is far superior. :)
<jevinskie[m]> _florent_: I figured out my issue when I cherry-picked the JTAG changes to top of trunk. It was missing my migen modification to allow for FSM ongoing states to reset to non-zero (needed for the TEST_LOGIC_RESET ongoing signal). See the 4 line change in the link. For migen changes, do you want to get it upstreamed to the migen repo first? I've noticed you've avoided forking it so far. My other thought was some surgical monkey-patching to fix
<jevinskie[m]> Don't be afraid, the "iffy" modifications were other parts of that commit. ;-)
<acathla> _florent_, I did that first, it builds but does not boot. I don't know yet what's the problem.
<jevinskie[m]> Good, the JTAG issue was the lack of my migen FSM patch. Hmm I guess I can just make a ResetFixedFSM wrapper around FSM instead of monkey patching migen. Some of my other changes like signal naming enhancements can’t be done that way though.
FabM has quit [Ping timeout: 250 seconds]
nelgau_ has joined #litex
nelgau_ has quit [Ping timeout: 240 seconds]
<jevinskie[m]> Time to clean up the Altera MII/RGMII work now :)
cr1901 has quit [Quit: Leaving]
cr1901 has joined #litex
nelgau has joined #litex
nelgau has quit [Remote host closed the connection]
nelgau has joined #litex
nelgau has quit [Quit: Leaving...]