Thursday, 2023-02-09

*** tpb <[email protected]> has joined #litex00:00
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has quit IRC (Quit: Connection reset by peep)01:50
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex01:52
*** slagernate <[email protected]> has joined #litex02:02
slagernatefinally got litex working on my crosslink-nx board -.- https://github.com/enjoy-digital/litex/issues/144102:03
*** bl0x <[email protected]> has joined #litex02:36
*** bl0x_ <bl0x_!~bl0x@p200300d7a7103c0010696f21b14c1611.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 248 seconds)02:37
*** cr1901_ <cr1901_!~cr1901@2601:8d:8600:911:e491:4983:99bd:33c4> has joined #litex03:05
slagernatealbeit the BIOS crc is incorrect...03:09
*** Degi <[email protected]> has quit IRC (*.net *.split)03:15
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:a569:7cde:b17d:b0f8> has quit IRC (*.net *.split)03:15
*** Degi <[email protected]> has joined #litex03:27
*** Degi <[email protected]> has quit IRC (Ping timeout: 248 seconds)04:53
*** Degi <[email protected]> has joined #litex04:56
*** slagernate <[email protected]> has quit IRC (Ping timeout: 260 seconds)05:25
*** slagernate <[email protected]> has joined #litex05:53
*** FabM <FabM!~FabM@2a03:d604:103:600:2e60:8c7c:e8fb:7990> has joined #litex06:39
*** jeremyh_ <[email protected]> has joined #litex06:47
jeremyh_hi everyone06:48
jeremyh_I'm a bit litex noob trying to play around with my first litex design06:48
jeremyh_I'm trying to build https://github.com/joshajohnson/ecp5-mini-projects/tree/master/litex/soc-hr06:49
jeremyh_(it's for the ECP5-mini using nextpnr)06:49
jeremyh_Unfortunately, I get the following error right near the end of building it06:49
jeremyh_Info: IOLOGIC component OFS1P3BX_1 connected to PIO Bel X38/Y0/PIOB06:49
jeremyh_Info: IOLOGIC component OFS1P3BX connected to PIO Bel X35/Y0/PIOAERROR: CE signal or polarity mismatch for IO flipflop IFS1P3BX_1 with other IOFFs at location.06:49
jeremyh_ERROR: Packing design failed.06:49
jeremyh_oop06:50
jeremyh_sorry that should be 4 lines06:50
jeremyh_im not exactly sure what can cause this problem, if it is an issue with nextpnr or an issue with the code (I'm guessing the latter)06:51
jeremyh_could anyone please point me in the right direction with how to debug something like this? I'm a bit stuck unfortunately06:51
slagernatemay want to check design is small enough (logic/FF and pin count utilization), and that your litex script is targeting the actual device you want (ECP5-Mini, `python3 project/ecp5_mini.py --build --load`, I assume you are using)?06:56
jeremyh_yep, I am using that command minus the --load06:56
slagernatealso, I have better luck running litex on a virtual environment (I used multipass): https://github.com/enjoy-digital/litex/issues/144106:56
jeremyh_LUT4s are at 25% so i don think that is the issue06:57
slagernatemay want to post your full script and output on github somewhere. I'm quite new to litex myself, fyi06:57
slagernateis yours a "non 12F" ECP5? The README mentions using `--device=25F` if so06:59
jeremyh_yeah, the device is a 12F06:59
jeremyh_i am just using the script as-is from the repo, though I added a single line to fix a build problem with `ident_version`07:00
jeremyh_i will try to capture a log07:00
slagernateI had a pretty great experience using multipass as VM (not virtual environment).07:01
jeremyh_i'm currently running it without a virtualenv07:05
jeremyh_it's a brand new VM ubuntu image with basically not much else installed07:05
jeremyh_i captured the log here: https://gist.github.com/jeremyherbert/f7c48fdcc349fd5a903665a96a9291f007:05
jeremyh_i have not really used multipass before, so I'm trying to do as little as possible at first while i get something working ;)07:06
slagernateI think multipass isn't required if you have a fresh ubuntu install07:09
slagernatelooking at stderr it seems the pin configuration is causing the packing error07:09
jeremyh_yep, I'm still trying to work out where the packing problem is though07:10
jeremyh_like which pins are the ones in the design that are causing the conflict07:10
slagernatehm, weird. Not sure what's going on. I guess worst case could possibly start from scratch and create your own board file, assuming there are no other existing examples for that board.07:17
slagernatesorry I can't help much07:17
jeremyh_no worries, thank you for the help anyway07:18
jeremyh_I appreciate it07:18
jeremyh_well, if I remove the valentyusb core from here: https://github.com/litex-hub/valentyusb it builds ok07:20
jeremyh_so i guess it is a problem with the usb core07:20
jeremyh_yep, indeed it seems that if I replace the usb-acm uart with a regular uart, the core builds and runs correctly07:52
jeremyh_so i guess the cdc-acm doesn't support the ECP5-12F ? I see a bunch of references to these IO buffers in the commit logs of the valentyusb litex repo07:53
tntjeremyh_: seems like it's requesting something that's not possible for the IOBlocks. 08:17
tntShouldn't be 12F specific, but it could be the exact pins on which USB is. Not all IO blocks are the same. 08:18
tntCould also be some recent change in either nextpnr (like it become more restrictive, or better at checking things) or the core...08:18
gatecatYeah, it's got better at checking conflicts in the IO flipflops that would result in a silent miscompile, or, because of the bug, even memory corruption08:19
gatecatQuite possibly for USB 1.1 you could get away without them and just use regular flipflops. That may well be what Diamond actually does here anyway (nextpnr errors out where ECP5 IO FFs can't be used, Diamond usually just converts them back to regular ones...)08:21
gatecatFor the ECP5 as far as IO flipflops are concerned there should be no differences between IO pins afaik08:21
*** slagernate <[email protected]> has quit IRC (Quit: Client closed)08:24
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)09:13
*** TMM_ <[email protected]> has joined #litex09:13
jeremyh_thanks for the tips - yes, I suspected that might be the case about error checking09:14
jeremyh_i will see what I can do about playing around with the output flipflops09:14
*** so-offishul <so-offishul!~so-offish@2610:148:610:2b11::13> has joined #litex09:33
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has quit IRC (Ping timeout: 260 seconds)09:37
jeremyh_Thank you again! I reverted this commit https://github.com/litex-hub/valentyusb/commit/61fb144550e513be0717d3f5910a19a0cc1a6fe9 and now it works!09:50
jeremyh_I'm not sure where to report this bug though, because the repo is a fork09:50
gatecatactually that pattern looks like it should be okay09:51
gatecatcan you zip up the gateware build folder so I can look at this some time?09:51
jeremyh_sure09:51
jeremyh_should i create an issue on nextpnr and upload it there ?09:55
gatecatyeah, sounds good09:56
jeremyh_done: https://github.com/YosysHQ/nextpnr/issues/109510:00
jeremyh_thanks again10:00
*** jeremyh_ <[email protected]> has quit IRC (Quit: Client closed)10:59
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has quit IRC (Quit: Bridge terminating on SIGTERM)11:36
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has quit IRC (Quit: Bridge terminating on SIGTERM)11:36
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has quit IRC (Quit: Bridge terminating on SIGTERM)11:37
*** pepijndevos[m] <pepijndevos[m]!~pepijndev@2001:470:69fc:105::b6a8> has quit IRC (Quit: Bridge terminating on SIGTERM)11:37
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has quit IRC (Quit: Bridge terminating on SIGTERM)11:37
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has quit IRC (Quit: Bridge terminating on SIGTERM)11:37
*** Salamandar <Salamandar!~salamanda@2001:470:69fc:105::ecd> has quit IRC (Quit: Bridge terminating on SIGTERM)11:37
*** rtodaro[m]1 <rtodaro[m]1!~rtodarokd@2001:470:69fc:105::2:46e0> has quit IRC (Quit: Bridge terminating on SIGTERM)11:37
*** amstan1 <amstan1!~amstan@2001:470:69fc:105::1e9> has quit IRC (Quit: Bridge terminating on SIGTERM)11:37
*** Crofton[m]1 <Crofton[m]1!~croftongn@2001:470:69fc:105::9a7> has quit IRC (Quit: Bridge terminating on SIGTERM)11:37
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has quit IRC (Quit: Bridge terminating on SIGTERM)11:37
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has joined #litex11:39
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has joined #litex11:42
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has joined #litex11:42
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has joined #litex11:42
*** pepijndevos[m] <pepijndevos[m]!~pepijndev@2001:470:69fc:105::b6a8> has joined #litex11:42
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has joined #litex11:42
*** Salamandar <Salamandar!~salamanda@2001:470:69fc:105::ecd> has joined #litex11:42
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has joined #litex11:42
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex11:42
*** rtodaro[m] <rtodaro[m]!~rtodarokd@2001:470:69fc:105::2:46e0> has joined #litex11:42
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has joined #litex11:42
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has quit IRC (Ping timeout: 246 seconds)12:13
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has quit IRC (Ping timeout: 246 seconds)12:13
*** Salamandar <Salamandar!~salamanda@2001:470:69fc:105::ecd> has quit IRC (Ping timeout: 264 seconds)12:14
*** rtodaro[m] <rtodaro[m]!~rtodarokd@2001:470:69fc:105::2:46e0> has quit IRC (Ping timeout: 265 seconds)12:14
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has quit IRC (Ping timeout: 246 seconds)12:14
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has quit IRC (Ping timeout: 252 seconds)12:14
*** pepijndevos[m] <pepijndevos[m]!~pepijndev@2001:470:69fc:105::b6a8> has quit IRC (Ping timeout: 252 seconds)12:14
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has quit IRC (Ping timeout: 252 seconds)12:14
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has quit IRC (Ping timeout: 265 seconds)12:15
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has quit IRC (Ping timeout: 256 seconds)12:15
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has quit IRC (Ping timeout: 264 seconds)12:15
*** Salamandar <Salamandar!~salamanda@2001:470:69fc:105::ecd> has joined #litex12:25
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex12:26
*** rtodaro[m] <rtodaro[m]!~rtodarokd@2001:470:69fc:105::2:46e0> has joined #litex12:29
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has joined #litex12:35
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has joined #litex12:38
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has joined #litex12:59
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has joined #litex12:59
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has joined #litex12:59
*** pepijndevos[m] <pepijndevos[m]!~pepijndev@2001:470:69fc:105::b6a8> has joined #litex13:19
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has joined #litex13:28
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has joined #litex13:29
*** so-offishul is now known as so-offish16:15
*** cr1901_ is now known as cr190116:19
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has quit IRC (Quit: Leaving)16:49
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has joined #litex16:49
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has quit IRC (Client Quit)16:51
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has joined #litex16:51
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has quit IRC (Client Quit)16:52
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has joined #litex16:53
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has quit IRC (Client Quit)16:55
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has joined #litex16:55
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has quit IRC (Client Quit)16:56
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has joined #litex16:57
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has quit IRC (Client Quit)16:59
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has joined #litex16:59
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has quit IRC (Client Quit)17:03
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has joined #litex17:04
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has quit IRC (Remote host closed the connection)17:05
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has joined #litex17:05
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has quit IRC (Remote host closed the connection)17:05
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has joined #litex17:05
*** GNUmoon <GNUmoon!~GNUmoon@gateway/tor-sasl/gnumoon> has quit IRC (Ping timeout: 255 seconds)17:51
*** slagernate <[email protected]> has joined #litex18:39
*** knicklicht <knicklicht!~knicklich@2a02:908:1995:4220:4c53:c86d:1664:14cb> has joined #litex18:55
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)19:02
*** TMM_ <[email protected]> has joined #litex19:02
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (Ping timeout: 248 seconds)19:10
*** slagernate <[email protected]> has quit IRC (Ping timeout: 260 seconds)19:11
*** knicklicht <knicklicht!~knicklich@2a02:908:1995:4220:4c53:c86d:1664:14cb> has quit IRC (Quit: Client closed)19:18
*** knicklicht <knicklicht!~knicklich@2a02:908:1995:4220:4c53:c86d:1664:14cb> has joined #litex19:24
*** pbsds <[email protected]> has quit IRC (Quit: Ping timeout (120 seconds))19:34
*** knicklicht <knicklicht!~knicklich@2a02:908:1995:4220:4c53:c86d:1664:14cb> has quit IRC (Ping timeout: 260 seconds)19:34
*** pbsds <[email protected]> has joined #litex19:34
*** acathla <[email protected]> has quit IRC (Quit: [Guru Meditation])19:49
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 248 seconds)19:55
*** acathla <[email protected]> has joined #litex20:04
*** FabM <FabM!~FabM@2a03:d604:103:600:2e60:8c7c:e8fb:7990> has joined #litex20:43
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 264 seconds)21:06
*** so-offishul <[email protected]> has joined #litex21:21
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::13> has quit IRC (Ping timeout: 248 seconds)21:24
*** zjason` <zjason`[email protected]> has joined #litex21:46
*** zjason <[email protected]> has quit IRC (Ping timeout: 248 seconds)21:48
*** so-offish1 <so-offish1!~so-offish@2610:148:610:2b11::10> has joined #litex22:15
*** so-offishul <[email protected]> has quit IRC (Ping timeout: 248 seconds)22:18
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex23:41

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