Saturday, 2021-02-13

*** tpb has joined #litex00:00
*** FFY00 has joined #litex00:11
*** lf has quit IRC00:25
*** lf has joined #litex00:25
*** Dolu has quit IRC00:51
*** FFY00 has quit IRC01:01
*** FFY00 has joined #litex01:01
*** specialchirp has joined #litex01:34
*** lkcl has quit IRC01:37
*** lkcl has joined #litex01:49
*** specialchirp has quit IRC01:53
*** Degi_ has joined #litex03:51
*** Degi has quit IRC03:52
*** Degi_ is now known as Degi03:52
*** CarlFK has joined #litex04:13
*** zyp has quit IRC04:44
*** zyp has joined #litex04:44
*** Bertl_oO is now known as Bertl_zZ05:09
*** sajattack[m] has quit IRC08:47
*** jryans has quit IRC08:47
*** xobs has quit IRC08:47
*** davidlattimore has quit IRC08:47
*** st-gourichon-fid has quit IRC08:47
*** CarlFK has quit IRC08:49
*** Degi has quit IRC08:49
*** jimbzy has quit IRC08:49
*** TMM has quit IRC08:49
*** gruetzkopf has quit IRC08:49
*** joseng has quit IRC08:49
*** iTitou has quit IRC08:49
*** carlomaragno has quit IRC08:49
*** Finde has quit IRC08:49
*** disasm[m] has quit IRC08:49
*** promach3 has quit IRC08:49
*** x56 has quit IRC08:49
*** lkcl has quit IRC08:49
*** indy has quit IRC08:49
*** y2kbugger has quit IRC08:49
*** nickoe has quit IRC08:49
*** [Matt] has quit IRC08:49
*** ric96 has quit IRC08:49
*** cr1901_modern has quit IRC08:49
*** Claude has quit IRC08:49
*** flammit has quit IRC08:49
*** proteusguy has quit IRC08:49
*** acathla has quit IRC08:49
*** captain_morgan has quit IRC08:49
*** vup has quit IRC08:49
*** esden has quit IRC08:49
*** rohitksingh has quit IRC08:49
*** SpaceCoaster has quit IRC08:49
*** lambda has quit IRC08:49
*** _florent_ has quit IRC08:49
*** guan has quit IRC08:49
*** the_jinx has quit IRC08:49
*** Bertl_zZ has quit IRC08:49
*** somlo has quit IRC08:49
*** _franck_ has quit IRC08:49
*** kbeckmann has quit IRC08:49
*** FFY00 has quit IRC08:49
*** lf has quit IRC08:49
*** futarisIRCcloud has quit IRC08:49
*** _whitelogger has quit IRC08:49
*** miek has quit IRC08:49
*** sorear has quit IRC08:49
*** pdp7 has quit IRC08:49
*** daveshah has quit IRC08:49
*** benh has quit IRC08:49
*** mithro has quit IRC08:49
*** bubble_buster has quit IRC08:49
*** scientes_ has quit IRC08:49
*** xfxf has quit IRC08:49
*** Stary has quit IRC08:49
*** felix_ has quit IRC08:49
*** awygle has quit IRC08:49
*** leons has quit IRC08:49
*** david-sawatzke[m has quit IRC08:49
*** awordnot has quit IRC08:49
*** jevinskie[m] has quit IRC08:49
*** key2 has quit IRC08:49
*** midnight has quit IRC08:49
*** CarlFK[m] has quit IRC08:49
*** pepijndevos has quit IRC08:49
*** peepsalot has quit IRC08:49
*** keesj_ has quit IRC08:49
*** levi has quit IRC08:49
*** alanvgreen has quit IRC08:49
*** tucanae47 has quit IRC08:49
*** dkozel has quit IRC08:49
*** feldim2425 has quit IRC08:49
*** simeonm has quit IRC08:49
*** bastelma1n has quit IRC08:49
*** ranzbak has quit IRC08:49
*** tumbleweed has quit IRC08:49
*** geertu has quit IRC08:49
*** tmbinc has quit IRC08:49
*** mntmn has quit IRC08:49
*** trabucayre has quit IRC08:49
*** zyp has quit IRC08:49
*** kgugala has quit IRC08:49
*** tannewt has quit IRC08:49
*** anuejn has quit IRC08:49
*** RaYmAn has quit IRC08:49
*** daddesio has quit IRC08:49
*** palmer has quit IRC08:49
*** goran-mahovlic has quit IRC08:49
*** apolkosnik[m] has quit IRC08:49
*** tcal has quit IRC08:49
*** Xesxen has quit IRC08:49
*** RaYmAn has joined #litex08:56
*** daddesio has joined #litex08:56
*** palmer has joined #litex08:56
*** goran-mahovlic has joined #litex08:56
*** trabucayre has joined #litex08:56
*** bastelma1n has joined #litex08:56
*** anuejn has joined #litex08:56
*** Xesxen has joined #litex08:56
*** xfxf has joined #litex08:56
*** Stary has joined #litex08:56
*** felix_ has joined #litex08:56
*** awygle has joined #litex08:56
*** kbeckmann has joined #litex08:56
*** scientes_ has joined #litex08:56
*** the_jinx has joined #litex08:56
*** tmbinc has joined #litex08:56
*** mntmn has joined #litex08:56
*** simeonm has joined #litex08:56
*** tumbleweed has joined #litex08:56
*** [Matt] has joined #litex08:56
*** _franck_ has joined #litex08:56
*** somlo has joined #litex08:56
*** tcal has joined #litex08:56
*** guan has joined #litex08:56
*** bubble_buster has joined #litex08:56
*** mithro has joined #litex08:56
*** _florent_ has joined #litex08:56
*** Bertl_zZ has joined #litex08:56
*** ranzbak has joined #litex08:56
*** feldim2425 has joined #litex08:56
*** vup has joined #litex08:56
*** pepijndevos has joined #litex08:56
*** key2 has joined #litex08:56
*** captain_morgan has joined #litex08:56
*** acathla has joined #litex08:56
*** nickoe has joined #litex08:56
*** proteusguy has joined #litex08:56
*** lambda has joined #litex08:56
*** benh has joined #litex08:56
*** dkozel has joined #litex08:56
*** SpaceCoaster has joined #litex08:56
*** tucanae47 has joined #litex08:56
*** alanvgreen has joined #litex08:56
*** flammit has joined #litex08:56
*** y2kbugger has joined #litex08:56
*** Claude has joined #litex08:56
*** levi has joined #litex08:56
*** cr1901_modern has joined #litex08:56
*** tannewt has joined #litex08:56
*** rohitksingh has joined #litex08:56
*** daveshah has joined #litex08:56
*** pdp7 has joined #litex08:56
*** ric96 has joined #litex08:56
*** sorear has joined #litex08:56
*** david-sawatzke[m has joined #litex08:56
*** jevinskie[m] has joined #litex08:56
*** leons has joined #litex08:56
*** miek has joined #litex08:56
*** _whitelogger has joined #litex08:56
*** keesj_ has joined #litex08:56
*** indy has joined #litex08:56
*** futarisIRCcloud has joined #litex08:56
*** awordnot has joined #litex08:56
*** esden has joined #litex08:56
*** peepsalot has joined #litex08:56
*** geertu has joined #litex08:56
*** kgugala has joined #litex08:56
*** midnight has joined #litex08:56
*** lf has joined #litex08:56
*** FFY00 has joined #litex08:56
*** lkcl has joined #litex08:56
*** zyp has joined #litex08:56
*** davidlattimore has joined #litex08:56
*** st-gourichon-fid has joined #litex08:56
*** carlomaragno has joined #litex08:56
*** Finde has joined #litex08:56
*** CarlFK has joined #litex08:56
*** Degi has joined #litex08:56
*** jimbzy has joined #litex08:56
*** TMM has joined #litex08:56
*** x56 has joined #litex08:56
*** david-sawatzke[m has quit IRC08:56
*** jevinskie[m] has quit IRC08:56
*** leons has quit IRC08:56
*** gruetzkopf has joined #litex09:01
*** joseng has joined #litex09:01
*** iTitou has joined #litex09:01
*** disasm[m] has joined #litex09:27
*** apolkosnik[m] has joined #litex09:31
*** CarlFK[m] has joined #litex09:34
*** disasm[m] has quit IRC09:42
*** CarlFK[m] has quit IRC09:42
*** apolkosnik[m] has quit IRC09:43
*** CarlFK has quit IRC09:49
*** xobs has joined #litex10:25
*** sajattack[m] has joined #litex10:25
*** jryans has joined #litex10:27
*** leons has joined #litex10:27
*** promach3 has joined #litex10:27
*** jevinskie[m] has joined #litex10:30
*** david-sawatzke[m has joined #litex10:30
*** disasm[m] has joined #litex10:36
*** CarlFK[m] has joined #litex10:37
*** apolkosnik[m] has joined #litex10:47
*** Dolu has joined #litex10:52
nickoehmm, maybe I am missing the clk definition to the flash11:05
nickoeOk, I think it is a bit more consistent now, at least the flash_erased command completed. I am not so sure about the mem_read though, https://dpaste.com/829M8MBP911:59
tpbTitle: dpaste: 829M8MBP9 (at dpaste.com)11:59
*** Dolu has quit IRC11:59
nickoehttps://github.com/nickoe/litex-boards/commit/a9afce21025f2494ac9bd97f00a99535499c9d9212:02
nickoeoh, so chaing dummy cycles from 9 to 8 in spi flash mode, it appeas to work, https://dpaste.com/CHSBJBAF312:22
tpbTitle: dpaste: CHSBJBAF3 (at dpaste.com)12:22
nickoeI also see my flash chip listed in https://github.com/litex-hub/litespi/blob/55926a6c035da37123fa467779a6b72cdd26d061/litespi/modules/generated_modules.py#L7256-L7275,   maybe I should swith to using the litespi module instead?12:23
nickoe_florent_: What do you think?12:23
nickoeDoes it support QSPI mode as well?12:23
nickoe_florent_: mmm, how does one go about flashing the flash now? https://github.com/enjoy-digital/litex/commit/41964f945cee71337e8e0998d597086b2ef94f7712:30
nickoeCan I flash it via JTAG somehow?12:33
nickoeReading XAPP586 it appears that ISE/IMPACT flashes a custom bitstream to the FPGA to route through the SPI mode from the JTAG to sprogram it?12:55
nickoeDoes the netv2 support it? https://github.com/enjoy-digital/netv2/blob/14905f90ffdefadc396f2a1df8675d59ee151516/netv2.py#L227-L22913:19
*** kgugala has quit IRC14:26
*** kgugala has joined #litex14:26
*** Dolu has joined #litex14:27
*** Bertl_zZ is now known as Bertl14:37
nickoeWhy does litex_term.py ned a serial port if using it over jtag?14:46
nickoehmm, ok, it seems to work with that AND the UART then14:48
nickoegreat!14:48
nickoehttps://i.snipboard.io/cojGJh.jpg14:49
nickoeI added the snippet in https://github.com/enjoy-digital/litex/wiki/Use-Host-Bridge-to-control-debug-a-SoC#create-scripts-to-communicate-from-the-host-pc-with-the-bridge in that test_identifier.py script. But I wonder why it does not list all my registers.14:50
nickoeah, ok, an outdated csr.csv that I had laying around14:53
nickoeThis wishbone remote client stuff if pretty cool. I am not sure how it works, but it apperas thta if I just do writes to a regiter in a forloop that I can run that with about 20Hz. It apperas as if the operations are buffered or offloaded to the server, as the test script has returned, but the registeres are still updated. That I can see with the logic analyzer on some pins.15:15
nickoe_florent_: I know this interface is not intended to be a streaming interface, but is it possible to make considerably faster?15:15
*** TMM has quit IRC17:03
*** TMM has joined #litex17:06
nickoemmm ERROR: [DRC MDRV-1] Multiple Driver Nets: Net OBUFDS_1/OB has multiple drivers: OBUFDS_1/N/O, and OBUFDS_1/P/O.18:16
nickoevivado does not seem that happy with my attempt to make a differential clock output, https://dpaste.com/42VXRZDUS18:23
tpbTitle: dpaste: 42VXRZDUS (at dpaste.com)18:23
nickoeOk, that was becasue I had the same signal to both outputs the the DifferentialOutput special.. but now.. ERROR: [Place 30-99] Placer failed with error: 'IO Clock Placer failed'18:34
_florent_nickoe: sorry I'm no very present the weekend here, but it seems you are solving the issues yourself :) (and so also learning the hard way)18:55
nickoeyeah, sort of ,but now I am utterly stuck18:55
nickoeI am trying to put a clock signal out as a differential output18:56
nickoe_florent_: I did this https://github.com/nickoe/litex-boards/commit/ce960e74096d36261f22bddac46ed54c4ee5c6c818:57
nickoelog for the latest from vivado https://dpaste.com/7QSY5TF5518:59
tpbTitle: dpaste: 7QSY5TF55 (at dpaste.com)18:59
nickoemmm CRITICAL WARNING: [Vivado 12-1411] Cannot set LOC property of ports, the positive port (P-side) 'dac_clkx_p' of a differential pair cannot be placed on a negative package pin 'L4' (IOBS). [/home/nickoe/litex_test/dangerous_litex/litex-boards/litex_boards/targets/build/mars_ax3/gateware/mars_ax3.xdc:409]19:01
nickoeOk, made some minor fixes... crossed fingers!19:02
nickoe_florent_:  Is there not compatible IOStandard I can use for this? ERROR: [DRC BIVC-1] Bank IO standard Vcc: Conflicting Vcc voltages in bank 34. For example, the following two ports in this bank have conflicting VCCOs:19:08
nickoedac_clkx_p (DIFF_HSTL_II_18, requiring VCCO=1.800) and dac_data_a[0] (LVCMOS33, requiring VCCO=3.300)19:08
nickoeI tried to add DIFF_LVCMOS33, but19:08
nickoeCRITICAL WARNING: [Common 17-69] Command failed: Invalid I/O Standard 'DIFF_LVCMOS33'. Default I/O Standard is used instead [/home/nickoe/litex_test/dangerous_litex/litex-boards/litex_boards/targets/build/mars_ax3/gateware/mars_ax3.xdc:410]19:08
nickoeMy DAC,  MAX5854  "The differential input accepts an input range of ≥0.5V P-P and a common-mode range of 1V to (CV DD - 0.5V), making the part ideal for low-input amplitude clock drives."19:13
nickoeBut unfortunately the clock signal and the data signals are in the same bank.19:13
nickoehttps://i.snipboard.io/lLpmHI.jpg19:22
nickoeI guess I can run them as regular outputs then, somehow19:25
nickoemmm, I don't quite get an output.. shouldn't I be able to do20:27
nickoeself.comb += dac_plat.clkx_n.eq(self.crg.cd_sys.clk)20:27
*** Dolu has quit IRC21:15

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