Sunday, 2020-03-29

*** tpb has joined #litex00:00
*** CarlFK has joined #litex00:07
*** btashton has joined #litex00:42
btashtonI'm trying to bring up a board with LiteX that I have used before for other designs, but I am having issues defining the constraints on the sys_clk.  Normally in Vivado I just do this00:44
btashton"set_property PACKAGE_PIN B6 [get_ports sys_clk_p]"  but I'm not sure how to generate that00:44
btashtonI am setting the IO like this ("clk100", 0,        Subsignal("p", Pins("B6")),        Subsignal("n", Pins("B5"))    ),00:45
*** Degi has quit IRC02:01
*** Degi_ has joined #litex02:01
*** Degi_ is now known as Degi02:01
*** _whitelogger has quit IRC05:21
*** _whitelogger has joined #litex05:23
*** _whitelogger has quit IRC06:39
*** _whitelogger has joined #litex06:41
*** _whitelogger has quit IRC07:45
*** _whitelogger has joined #litex07:47
*** tcal has quit IRC08:26
*** HoloIRCUser1 has joined #litex08:48
*** HoloIRCUser has quit IRC08:52
_florent_btashton: hi, you can define your differential clock like this: https://github.com/litex-hub/litex-boards/blob/master/litex_boards/platforms/kc705.py#L45-L4809:34
tpbTitle: litex-boards/kc705.py at master · litex-hub/litex-boards · GitHub (at github.com)09:34
_florent_and do something similar to this in your design: https://hastebin.com/cakuwoyebo.m09:34
tpbTitle: hastebin (at hastebin.com)09:34
_florent_otherwise you can also look at the kc705's CRG: https://github.com/litex-hub/litex-boards/blob/master/litex_boards/targets/kc705.py#L26-L4109:35
tpbTitle: litex-boards/kc705.py at master · litex-hub/litex-boards · GitHub (at github.com)09:35
*** gregdavill has quit IRC09:42
*** CarlFK has quit IRC10:05
*** gregdavill has joined #litex10:56
*** gregdavill has quit IRC11:13
*** gregdavill has joined #litex11:18
*** HoloIRCUser has joined #litex11:44
*** HoloIRCUser1 has quit IRC11:44
*** ambro718 has joined #litex12:05
*** gregdavill has quit IRC12:08
*** HoloIRCUser2 has joined #litex12:48
*** HoloIRCUser has quit IRC12:48
*** HoloIRCUser has joined #litex14:33
*** HoloIRCUser2 has quit IRC14:33
*** HoloIRCUser1 has joined #litex15:27
*** HoloIRCUser has quit IRC15:27
*** _whitelogger has quit IRC16:48
*** _whitelogger has joined #litex16:50
*** rohitksingh has quit IRC17:04
btashton_florent_: That is how I defined it, so I would expect the IBUFDS to be created properly.  This is the error I see17:59
btashtonERROR: [DRC UCIO-1] Unconstrained Logical Port: 2 out of 3 logical ports have no user assigned specific location constraint (LOC). This may cause I/O contention or incompatibility with the board power or connectivity affecting performance, signal integrity or in extreme cases cause damage to the device or the components to which it is connected. To17:59
btashtoncorrect this violation, specify all pin locations. This design will fail to generate a bitstream unless all logical ports have a user specified site LOC constraint defined.  To allow bitstream creation with unspecified pin locations (not recommended), use this command: set_property SEVERITY {Warning} [get_drc_checks UCIO-1].  NOTE: When using the17:59
btashtonVivado Runs infrastructure (e.g. launch_runs Tcl command), add this command to a .tcl file and add that file as a pre-hook for write_bitstream step for the implementation run.  Problem ports: clk100_n, and clk100_p.17:59
*** CarlFK has joined #litex18:07
*** peeps[zen] has joined #litex18:08
*** peepsalot has quit IRC18:09
btashtonGetting closer.  I forced the creation of a IBUFDS_GTE2 which seems to have solved the pin issue, just have a clock domain now with MMCME2_ADV19:24
_florent_btashton: ah ok, for clocks pins that are on the transceiver block you indeed have to instantiate the clock buffer manually.19:42
btashtonI'm still doing something wrong with the pll in the CRG:    IBUFDS_GT_loads_clock_region: IBUFDS_GTE2 IBUFDS_GTE2 drives MMCME2_ADV MMCME2_ADV in a different clock region19:46
btashtonhttps://hastebin.com/lokogezewo.rb19:46
tpbTitle: hastebin (at hastebin.com)19:46
*** ambro718 has quit IRC21:04
*** tcal has joined #litex21:39
*** rohitksingh has joined #litex21:46
*** HoloIRCUser has joined #litex21:47
*** HoloIRCUser1 has quit IRC21:50
*** tcal has quit IRC22:01
*** tcal has joined #litex22:03
*** lambda has quit IRC22:23
*** gregdavill has joined #litex22:31
*** ambro718 has joined #litex22:44
*** lambda has joined #litex22:56
*** peeps[zen] is now known as peepsalot23:03
pdp7gregdavill: I'm trying master of linux on litex but get:23:24
pdp7https://www.irccloud.com/pastebin/ZYpNk8Cb/23:24
tpbTitle: Snippet | IRCCloud (at www.irccloud.com)23:24
pdp7for make.py --board=orangecrab --load23:24
*** ambro718 has quit IRC23:25
gregdavillthe load option is trying to use the external JTAG debugger wish openocd.23:27
pdp7what do you use for the load with usb?23:29
pdp7just dfu ?23:30
pdp7build/orangecrab/gateware/top.bit ?23:30
gregdavillYep. Master doesn't have any of the FLASH changes in there yet, so it should just try to load images off the sd_card. I've not tried that yet, it sounds like there is some more debugging required.23:34
pdp7bingo23:37
pdp7thanks23:38
pdp7btw, what causes it to wait for me to start my terminal?23:38
pdp7that is a nice feature23:38
*** gregdavill has quit IRC23:39
pdp7oh greg left... but yes, fyi - i still have not been able to get sd boot working23:41
*** tcal has quit IRC23:52

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