Thursday, 2021-08-19

*** tpb <[email protected]> has joined #litex00:00
jevinskie[m]Ah, just AsyncResetSynchronizer right? I think I was reading the docs wrong and missed the async setting part00:18
*** Degi_ <[email protected]> has joined #litex00:40
*** Degi <[email protected]> has quit IRC (Ping timeout: 245 seconds)00:42
*** Degi_ is now known as Degi00:42
*** futarisIRCcloud <[email protected]> has joined #litex01:08
*** Coldberg <[email protected]> has quit IRC (Ping timeout: 248 seconds)01:48
*** FabM <FabM!~FabM@2a03:d604:103:600:96ad:c961:9661:ed3e> has joined #litex05:23
*** somlo_ <[email protected]> has joined #litex06:27
*** somlo <[email protected]> has quit IRC (Remote host closed the connection)06:28
*** futarisIRCcloud <[email protected]> has quit IRC (Quit: Connection closed for inactivity)07:13
tntjevinskie[m]: if your logic is clocked off SCK, AsyncResetSynchronizer really help.07:26
*** vomoniyi[m] <vomoniyi[m]!~vomoniyig@2001:470:69fc:105::3023> has quit IRC (Quit: Bridge terminating on SIGTERM)08:32
*** david-sawatzke[m <david-sawatzke[m!~david-saw@2001:470:69fc:105::1634> has quit IRC (Quit: Bridge terminating on SIGTERM)08:32
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has quit IRC (Quit: Bridge terminating on SIGTERM)08:32
*** leons <leons!~leons@2001:470:69fc:105::abc> has quit IRC (Quit: Bridge terminating on SIGTERM)08:32
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has quit IRC (Quit: Bridge terminating on SIGTERM)08:32
*** jevinskie[m] <jevinskie[m]!~jevinskie@2001:470:69fc:105::bb3> has quit IRC (Quit: Bridge terminating on SIGTERM)08:32
*** CarlosEDP <CarlosEDP!~carlosedp@2001:470:69fc:105::218e> has quit IRC (Quit: Bridge terminating on SIGTERM)08:32
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has quit IRC (Quit: Bridge terminating on SIGTERM)08:32
*** promach[m] <promach[m]!~promach@2001:470:69fc:105::ca1> has quit IRC (Quit: Bridge terminating on SIGTERM)08:32
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has quit IRC (Quit: Bridge terminating on SIGTERM)08:32
*** dcallagh <dcallagh!~dcallagh@2001:470:69fc:105::9c5> has quit IRC (Quit: Bridge terminating on SIGTERM)08:32
*** jryans <jryans!~jryans@2001:470:69fc:105::1d> has quit IRC (Quit: Bridge terminating on SIGTERM)08:32
*** OmkarBhilare[m] <OmkarBhilare[m]!~ombhilare@2001:470:69fc:105::4e51> has quit IRC (Quit: Bridge terminating on SIGTERM)08:32
*** jryans <jryans!~jryans@2001:470:69fc:105::1d> has joined #litex08:34
*** jevinskie[m] <jevinskie[m]!~jevinskie@2001:470:69fc:105::bb3> has joined #litex08:36
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has joined #litex08:36
*** dcallagh <dcallagh!~dcallagh@2001:470:69fc:105::9c5> has joined #litex08:36
*** CarlosEDP <CarlosEDP!~carlosedp@2001:470:69fc:105::218e> has joined #litex08:36
*** leons <leons!~leons@2001:470:69fc:105::abc> has joined #litex08:36
*** promach[m] <promach[m]!~promach@2001:470:69fc:105::ca1> has joined #litex08:36
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex08:36
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has joined #litex08:36
*** OmkarBhilare[m] <OmkarBhilare[m]!~ombhilare@2001:470:69fc:105::4e51> has joined #litex08:36
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has joined #litex08:36
*** vomoniyi[m] <vomoniyi[m]!~vomoniyig@2001:470:69fc:105::3023> has joined #litex08:36
*** david-sawatzke[m <david-sawatzke[m!~david-saw@2001:470:69fc:105::1634> has joined #litex08:36
*** Coldberg <[email protected]> has joined #litex09:21
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)09:34
*** TMM_ <[email protected]> has joined #litex09:34
*** futarisIRCcloud <[email protected]> has joined #litex12:19
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)12:51
*** TMM_ <[email protected]> has joined #litex12:52
*** alainlou <[email protected]> has joined #litex13:01
alainlouhey everyone I'm having some trouble getting the code to fit in block RAM on my Cyclone IV board "RZ-EasyFPGA"14:36
alainlouthere were two options I was considering:14:36
alainlou1. any way to reduce code size?14:36
alainlou2. there's a SPI flash chip which I can use as ROM but it's also the one used for programming "Altera EPCS" - would it be bad if I connected pins from the FPGA to "AS programming" header to try to use this flash chip?14:36
alainlouany help is appreciated!14:36
tntjevinskie[m]: I just realized I messed up my sentence when rephrasing it ... it's missing "won't" ... it "won't really help".14:40
*** futarisIRCcloud <[email protected]> has quit IRC (Quit: Connection closed for inactivity)14:46
david-sawatzke[malainlou: I don't know this board, but I assume the spi flash is connected directly to the fpga to load the bitstream.15:10
david-sawatzke[mIf the flash has enough space to fit both the bitstream (if needed) and the programm, you can use the litex spi core to mmap the flash contents.15:10
david-sawatzke[mThen you can tell the bios to jump to the adress where your firmware starts in the flash memory in the wishbone address space.15:10
david-sawatzke[mThis is done by setting ROM_BOOT_ADDRESS to the right address, like done here for rom boot  https://github.com/enjoy-digital/litex/wiki/Load-Application-Code-To-CPU15:10
alainlou<3  thanks david!15:14
alainloujust to clarify, this is for the BIOS code, not even application code - would the same solution apply?15:15
david-sawatzke[mOh, you're talking about the bios. There is a mechanism to boot directly from an address without having the bios in the bitstream15:23
david-sawatzke[mBut you can also reduce bios code size with things like:15:23
david-sawatzke[mself.add_constant("SDRAM_TEST_DISABLE")15:23
david-sawatzke[mand `builder = Builder(soc, **builder_options, bios_options=["TERM_MINI"])`15:24
david-sawatzke[mBut I'd recommend searching the bios code for more things like this15:25
alainlouawesome!15:29
alainlou> There is a mechanism to boot directly from an address without having the bios in the bitstream15:29
alainlounot quite sure what you mean by this?15:30
alainlouis it like the link you gave for application code but for BIOS code as well?15:30
david-sawatzke[mThe link I gave is for application code15:31
alainlouyup, but ur saying there's something similar for bios code as well?15:32
david-sawatzke[mI'm don't remember how the other one works15:32
alainlouah no worries, I'll have a look around15:32
alainlouthanks for all the help!15:32
david-sawatzke[mYeah, it's primarily intended for if you just want to use application code without any bios, but might (shoud) also work for storing the bios externally15:34
jevinskie[m]tnt: is that because it uses two FFs and introduces a cycle delay? I made a single stage one with one FF that seems to work for my needs. I think metastability won’t be an issue since the CS# setup and hold times should be long enough15:46
*** Core2068 <Core2068!~alainlou@2605:8d80:6c0:7526:1947:3668:9d43:3469> has joined #litex18:39
*** Core2068 <Core2068!~alainlou@2605:8d80:6c0:7526:1947:3668:9d43:3469> has quit IRC (Remote host closed the connection)18:43
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 245 seconds)18:46
*** zyp <[email protected]> has quit IRC (*.net *.split)19:00
*** geertu <[email protected]> has quit IRC (*.net *.split)19:00
*** tnt <tnt!~tnt@osmocom/tnt> has quit IRC (*.net *.split)19:00
*** felix_ <[email protected]> has quit IRC (*.net *.split)19:00
*** vup <[email protected]> has quit IRC (*.net *.split)19:00
*** zyp <[email protected]> has joined #litex19:00
*** felix_ <[email protected]> has joined #litex19:00
*** geertu <[email protected]> has joined #litex19:00
*** vup <[email protected]> has joined #litex19:00
*** tnt <tnt!~tnt@osmocom/tnt> has joined #litex19:05

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!