*** tpb <[email protected]> has joined #litex | 00: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 #litex | 01:52 | |
*** slagernate <[email protected]> has joined #litex | 02:02 | |
slagernate | finally got litex working on my crosslink-nx board -.- https://github.com/enjoy-digital/litex/issues/1441 | 02:03 |
---|---|---|
*** bl0x <[email protected]> has joined #litex | 02: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 #litex | 03:05 | |
slagernate | albeit 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 #litex | 03:27 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 248 seconds) | 04:53 | |
*** Degi <[email protected]> has joined #litex | 04:56 | |
*** slagernate <[email protected]> has quit IRC (Ping timeout: 260 seconds) | 05:25 | |
*** slagernate <[email protected]> has joined #litex | 05:53 | |
*** FabM <FabM!~FabM@2a03:d604:103:600:2e60:8c7c:e8fb:7990> has joined #litex | 06:39 | |
*** jeremyh_ <[email protected]> has joined #litex | 06:47 | |
jeremyh_ | hi everyone | 06:48 |
jeremyh_ | I'm a bit litex noob trying to play around with my first litex design | 06:48 |
jeremyh_ | I'm trying to build https://github.com/joshajohnson/ecp5-mini-projects/tree/master/litex/soc-hr | 06: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 it | 06:49 |
jeremyh_ | Info: IOLOGIC component OFS1P3BX_1 connected to PIO Bel X38/Y0/PIOB | 06: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_ | oop | 06:50 |
jeremyh_ | sorry that should be 4 lines | 06: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 unfortunately | 06:51 |
slagernate | may 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 --load | 06:56 |
slagernate | also, I have better luck running litex on a virtual environment (I used multipass): https://github.com/enjoy-digital/litex/issues/1441 | 06:56 |
jeremyh_ | LUT4s are at 25% so i don think that is the issue | 06:57 |
slagernate | may want to post your full script and output on github somewhere. I'm quite new to litex myself, fyi | 06:57 |
slagernate | is yours a "non 12F" ECP5? The README mentions using `--device=25F` if so | 06:59 |
jeremyh_ | yeah, the device is a 12F | 06: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 log | 07:00 |
slagernate | I had a pretty great experience using multipass as VM (not virtual environment). | 07:01 |
jeremyh_ | i'm currently running it without a virtualenv | 07:05 |
jeremyh_ | it's a brand new VM ubuntu image with basically not much else installed | 07:05 |
jeremyh_ | i captured the log here: https://gist.github.com/jeremyherbert/f7c48fdcc349fd5a903665a96a9291f0 | 07: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 |
slagernate | I think multipass isn't required if you have a fresh ubuntu install | 07:09 |
slagernate | looking at stderr it seems the pin configuration is causing the packing error | 07:09 |
jeremyh_ | yep, I'm still trying to work out where the packing problem is though | 07:10 |
jeremyh_ | like which pins are the ones in the design that are causing the conflict | 07:10 |
slagernate | hm, 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 |
slagernate | sorry I can't help much | 07:17 |
jeremyh_ | no worries, thank you for the help anyway | 07:18 |
jeremyh_ | I appreciate it | 07:18 |
jeremyh_ | well, if I remove the valentyusb core from here: https://github.com/litex-hub/valentyusb it builds ok | 07:20 |
jeremyh_ | so i guess it is a problem with the usb core | 07:20 |
jeremyh_ | yep, indeed it seems that if I replace the usb-acm uart with a regular uart, the core builds and runs correctly | 07: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 repo | 07:53 |
tnt | jeremyh_: seems like it's requesting something that's not possible for the IOBlocks. | 08:17 |
tnt | Shouldn't be 12F specific, but it could be the exact pins on which USB is. Not all IO blocks are the same. | 08:18 |
tnt | Could also be some recent change in either nextpnr (like it become more restrictive, or better at checking things) or the core... | 08:18 |
gatecat | Yeah, 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 corruption | 08:19 |
gatecat | Quite 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 |
gatecat | For the ECP5 as far as IO flipflops are concerned there should be no differences between IO pins afaik | 08: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 #litex | 09:13 | |
jeremyh_ | thanks for the tips - yes, I suspected that might be the case about error checking | 09:14 |
jeremyh_ | i will see what I can do about playing around with the output flipflops | 09:14 |
*** so-offishul <so-offishul!~so-offish@2610:148:610:2b11::13> has joined #litex | 09: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 fork | 09:50 |
gatecat | actually that pattern looks like it should be okay | 09:51 |
gatecat | can you zip up the gateware build folder so I can look at this some time? | 09:51 |
jeremyh_ | sure | 09:51 |
jeremyh_ | should i create an issue on nextpnr and upload it there ? | 09:55 |
gatecat | yeah, sounds good | 09:56 |
jeremyh_ | done: https://github.com/YosysHQ/nextpnr/issues/1095 | 10:00 |
jeremyh_ | thanks again | 10: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 #litex | 11:39 | |
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has joined #litex | 11:42 | |
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has joined #litex | 11:42 | |
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has joined #litex | 11:42 | |
*** pepijndevos[m] <pepijndevos[m]!~pepijndev@2001:470:69fc:105::b6a8> has joined #litex | 11:42 | |
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has joined #litex | 11:42 | |
*** Salamandar <Salamandar!~salamanda@2001:470:69fc:105::ecd> has joined #litex | 11:42 | |
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has joined #litex | 11:42 | |
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex | 11:42 | |
*** rtodaro[m] <rtodaro[m]!~rtodarokd@2001:470:69fc:105::2:46e0> has joined #litex | 11:42 | |
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has joined #litex | 11: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 #litex | 12:25 | |
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex | 12:26 | |
*** rtodaro[m] <rtodaro[m]!~rtodarokd@2001:470:69fc:105::2:46e0> has joined #litex | 12:29 | |
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has joined #litex | 12:35 | |
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has joined #litex | 12:38 | |
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has joined #litex | 12:59 | |
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has joined #litex | 12:59 | |
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has joined #litex | 12:59 | |
*** pepijndevos[m] <pepijndevos[m]!~pepijndev@2001:470:69fc:105::b6a8> has joined #litex | 13:19 | |
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has joined #litex | 13:28 | |
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has joined #litex | 13:29 | |
*** so-offishul is now known as so-offish | 16:15 | |
*** cr1901_ is now known as cr1901 | 16: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 #litex | 16: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 #litex | 16: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 #litex | 16: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 #litex | 16: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 #litex | 16: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 #litex | 16: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 #litex | 17: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 #litex | 17: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 #litex | 17:05 | |
*** GNUmoon <GNUmoon!~GNUmoon@gateway/tor-sasl/gnumoon> has quit IRC (Ping timeout: 255 seconds) | 17:51 | |
*** slagernate <[email protected]> has joined #litex | 18:39 | |
*** knicklicht <knicklicht!~knicklich@2a02:908:1995:4220:4c53:c86d:1664:14cb> has joined #litex | 18:55 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 19:02 | |
*** TMM_ <[email protected]> has joined #litex | 19: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 #litex | 19: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 #litex | 19: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 #litex | 20:04 | |
*** FabM <FabM!~FabM@2a03:d604:103:600:2e60:8c7c:e8fb:7990> has joined #litex | 20:43 | |
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 264 seconds) | 21:06 | |
*** so-offishul <[email protected]> has joined #litex | 21: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 #litex | 21: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 #litex | 22:15 | |
*** so-offishul <[email protected]> has quit IRC (Ping timeout: 248 seconds) | 22:18 | |
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex | 23:41 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!