Wednesday, 2020-11-18

*** tpb has joined #litex00:00
*** Dolu has quit IRC00:09
*** lf has quit IRC00:45
*** lf has joined #litex00:45
*** Degi has quit IRC02:10
*** gartola has joined #litex02:17
*** gartola has left #litex02:18
*** Bertl_oO has joined #litex04:46
Bertl_oOGreetings! I'm getting 'OSError: Unable to find or source Vivado toolchain' despite export LITEX_ENV_VIVADO=/opt/Xilinx/Vivado/2020.1/04:51
Bertl_oOany idea what is wrong here?04:51
_florent_Bertl_oO: Hi, can you try with source /opt/Xilinx/Vivado/2020.1/settings64.sh before running the script?06:07
_florent_Bertl_oO: i'll do a check with export this morning06:08
Bertl_oOyep, that works06:08
_florent_ok thanks06:11
Bertl_oO_florent_: btw, why do you import generic_platform a second time in https://github.com/enjoy-digital/litesata_axiom/blob/master/litesata_axiom.py#L1406:26
_florent_Bertl_oO: strange it seems to have disappeared... https://github.com/enjoy-digital/litesata_axiom/blob/master/litesata_axiom.py#L12 (thanks :))06:32
*** peepsalot has quit IRC06:33
Bertl_oO_florent_: okay :) and what does the -1 in  S7PLL(speedgrade=-1) mean?06:34
*** peepsalot has joined #litex06:38
_florent_Bertl_oO: that we are using the -1 speedgrade timings for the PLL, which i'm using by default since will  also works on a -2 or -3 speedgrade.07:00
_florent_Bertl_oO: it just affects the max VCO freq: https://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/clock/xilinx_s7.py#L23-L2707:00
Bertl_oOokay, so that could/should? also be -2 on this specific board, yes?07:01
_florent_you can set it to -2 yes, using -2/-3 just allow more flexibility in the generated frequencies07:06
Bertl_oOunderstood, tx07:07
Bertl_oOis adding self.add_platform_command("set_property CONFIG_VOLTAGE 3.3 [current_design]") to Platform's _init_(): the correct way to fix the warnings about the config voltage (and similar for CFGBVS)?07:09
Bertl_oOand in https://github.com/enjoy-digital/litesata_axiom/blob/master/litesata_axiom.py#L92 what does the bscan_spi_xc7a200t.bit mean?07:11
*** Bertl_oO is now known as Bertl_zZ08:02
_florent_Bertl_zZ: yes correct for the config voltage warning08:07
_florent_Bertl_zZ: the bscan_spi_xc7a00t.bit is used to flash the bitstream in SPI Flash with OpenOCD, since we are just testing things here and loading the bitstream to SRAM, it's not useful08:09
*** Dolu has joined #litex08:50
*** hexastorm has joined #litex09:49
hexastormbuild a controller for a laser scanner with Litex and Migen see https://youtu.be/EAEqUILP_fo09:50
hexastormuses SPI to stream over data and project it with the laser... not perfect but it does work :-)...09:50
*** _whitelogger has quit IRC09:54
*** _whitelogger has joined #litex09:56
_florent_hexastorm: Hi, very nice, thanks for sharing! It's really motivating to see such projects created with the tools/framework. I'll have a closer look at it10:01
hexastormthanks it is a great framework... still have much to learn, but your tools have made it a lot easier...10:03
*** midnight has quit IRC10:42
*** midnight has joined #litex10:46
*** hexastorm has quit IRC12:10
*** Degi has joined #litex13:17
*** Degi has quit IRC13:54
*** Degi has joined #litex13:59
_florent_Bertl_zZ: the use of LITEX_ENV_VIVADO is now fixed by https://github.com/enjoy-digital/litex/commit/444a605deae6a561dbe2c49bf3062eae6f3cd88714:45
_florent_Bertl_zZ: sorry i broke it while adding the error messages with https://github.com/enjoy-digital/litex/commit/db836e8e5d9d66caade9294f1a8b67eb2b4d361114:45
*** Bertl_zZ is now known as Bertl15:04
Bertl_florent_: thanks! works now!16:16
Bertlis there some documentation regarding the LiteSATA IP I could read up on?16:17
*** peeps[zen] has joined #litex16:23
*** peepsalot has quit IRC16:24
*** peepsalot has joined #litex16:39
*** peeps[zen] has quit IRC16:39
*** cjearls has joined #litex16:52
cjearlsI have a question about using a custom build of VexRiscv for Linux-on-Litex-Vexriscv:16:56
cjearlsOnce I've correctly generated a new VexRiscv core with the hardware that I wanted to add, how do I add it to the linux-on-litex-vexriscv directory such that it is built instead of the default vexriscv core?16:58
*** lf has quit IRC16:58
*** lf has joined #litex16:59
cjearlsAlso, is there a way to tell what the settings are for the default vexriscv core that's used for Linux-on-LiteX? I want to be sure I'm not removing anything important, just that I'm added the hardware I'm interested in16:59
zypI'd guess this is what generates the cores: https://github.com/litex-hub/pythondata-cpu-vexriscv/blob/master/pythondata_cpu_vexriscv/verilog/Makefile17:10
zypand then litex picks one of those depending on what options you select17:10
zypref. https://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/cpu/vexriscv/core.py#L2317:11
daveshahhttps://github.com/litex-hub/linux-on-litex-vexriscv/blob/master/soc_linux.py#L103 is where the variant is set in linux-on-litex17:24
cjearlsSo if I want to add code to VexRiscv to define a new plugin, then to enable that plugin, where would that happen?17:30
cjearlsIs there somewhere I should be checking for this information or a description of the build process? I don't want to be wasting anyone's time with really basic questions if I can be finding the answer myself17:31
zypI figure that since litex only deals with prebuilt .v files, you can build your own .v in whatever manner you like and then either overwrite one of the existing .v files or add a new variant17:33
_florent_cjearls: to use a custom Vexriscv.v, you can also use use_external_variant: https://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/cpu/vexriscv/core.py#L26417:36
_florent_cjearls: that's what is used in Foboot or Betrusted to use a custom variant of VexRiscv IIRC17:36
_florent_cjearls: https://github.com/betrusted-io/betrusted-soc/blob/master/betrusted_soc.py#L128417:39
_florent_https://github.com/im-tomu/foboot/blob/master/hw/foboot-bitstream.py#L26417:40
_florent_with the custom  CPU here: https://github.com/im-tomu/foboot/tree/master/hw/rtl17:40
cjearls_florent_: Thank you, that was very helpful, I wasn't sure how use_external_variant would be utilized, but it makes sense now, it's a file path to the variant17:42
_florent_Bertl: sorry there is not that much documentation for now, i'm planning to write some to ease your integration17:49
Bertl_florent_: okay, no problem ... where did the gtp_params in a7sataphy.py come from, i.e. how did you figure out the various settings there?18:04
*** kgugala has quit IRC21:42
*** kgugala has joined #litex21:42
*** _whitelogger has quit IRC22:26
*** cjearls has quit IRC22:26
*** CarlFK[m] has quit IRC22:28
*** _whitelogger has joined #litex22:30
*** CarlFK[m] has joined #litex22:31
*** Bertl has quit IRC23:13
*** Bertl has joined #litex23:13
*** apolkosnik[m] has quit IRC23:13
*** apolkosnik[m] has joined #litex23:26

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