*** tpb <[email protected]> has joined #litex | 00:00 | |
jevinskie[m] | Ah, just AsyncResetSynchronizer right? I think I was reading the docs wrong and missed the async setting part | 00:18 |
---|---|---|
*** Degi_ <[email protected]> has joined #litex | 00:40 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 245 seconds) | 00:42 | |
*** Degi_ is now known as Degi | 00:42 | |
*** futarisIRCcloud <[email protected]> has joined #litex | 01: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 #litex | 05:23 | |
*** somlo_ <[email protected]> has joined #litex | 06: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 | |
tnt | jevinskie[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 #litex | 08:34 | |
*** jevinskie[m] <jevinskie[m]!~jevinskie@2001:470:69fc:105::bb3> has joined #litex | 08:36 | |
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has joined #litex | 08:36 | |
*** dcallagh <dcallagh!~dcallagh@2001:470:69fc:105::9c5> has joined #litex | 08:36 | |
*** CarlosEDP <CarlosEDP!~carlosedp@2001:470:69fc:105::218e> has joined #litex | 08:36 | |
*** leons <leons!~leons@2001:470:69fc:105::abc> has joined #litex | 08:36 | |
*** promach[m] <promach[m]!~promach@2001:470:69fc:105::ca1> has joined #litex | 08:36 | |
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex | 08:36 | |
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has joined #litex | 08:36 | |
*** OmkarBhilare[m] <OmkarBhilare[m]!~ombhilare@2001:470:69fc:105::4e51> has joined #litex | 08:36 | |
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has joined #litex | 08:36 | |
*** vomoniyi[m] <vomoniyi[m]!~vomoniyig@2001:470:69fc:105::3023> has joined #litex | 08:36 | |
*** david-sawatzke[m <david-sawatzke[m!~david-saw@2001:470:69fc:105::1634> has joined #litex | 08:36 | |
*** Coldberg <[email protected]> has joined #litex | 09:21 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 09:34 | |
*** TMM_ <[email protected]> has joined #litex | 09:34 | |
*** futarisIRCcloud <[email protected]> has joined #litex | 12:19 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 12:51 | |
*** TMM_ <[email protected]> has joined #litex | 12:52 | |
*** alainlou <[email protected]> has joined #litex | 13:01 | |
alainlou | hey everyone I'm having some trouble getting the code to fit in block RAM on my Cyclone IV board "RZ-EasyFPGA" | 14:36 |
alainlou | there were two options I was considering: | 14:36 |
alainlou | 1. any way to reduce code size? | 14:36 |
alainlou | 2. 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 |
alainlou | any help is appreciated! | 14:36 |
tnt | jevinskie[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[m | alainlou: 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[m | If 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[m | Then 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[m | This 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-CPU | 15:10 |
alainlou | <3 thanks david! | 15:14 |
alainlou | just to clarify, this is for the BIOS code, not even application code - would the same solution apply? | 15:15 |
david-sawatzke[m | Oh, you're talking about the bios. There is a mechanism to boot directly from an address without having the bios in the bitstream | 15:23 |
david-sawatzke[m | But you can also reduce bios code size with things like: | 15:23 |
david-sawatzke[m | self.add_constant("SDRAM_TEST_DISABLE") | 15:23 |
david-sawatzke[m | and `builder = Builder(soc, **builder_options, bios_options=["TERM_MINI"])` | 15:24 |
david-sawatzke[m | But I'd recommend searching the bios code for more things like this | 15:25 |
alainlou | awesome! | 15:29 |
alainlou | > There is a mechanism to boot directly from an address without having the bios in the bitstream | 15:29 |
alainlou | not quite sure what you mean by this? | 15:30 |
alainlou | is it like the link you gave for application code but for BIOS code as well? | 15:30 |
david-sawatzke[m | The link I gave is for application code | 15:31 |
alainlou | yup, but ur saying there's something similar for bios code as well? | 15:32 |
david-sawatzke[m | I'm don't remember how the other one works | 15:32 |
alainlou | ah no worries, I'll have a look around | 15:32 |
alainlou | thanks for all the help! | 15:32 |
david-sawatzke[m | Yeah, 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 externally | 15: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 enough | 15:46 |
*** Core2068 <Core2068!~alainlou@2605:8d80:6c0:7526:1947:3668:9d43:3469> has joined #litex | 18: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 #litex | 19:00 | |
*** felix_ <[email protected]> has joined #litex | 19:00 | |
*** geertu <[email protected]> has joined #litex | 19:00 | |
*** vup <[email protected]> has joined #litex | 19:00 | |
*** tnt <tnt!~tnt@osmocom/tnt> has joined #litex | 19:05 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!