*** tpb has joined #yosys | 00:00 | |
*** promach3 has joined #yosys | 00:03 | |
*** X-Scale has quit IRC | 00:10 | |
*** X-Scale has joined #yosys | 00:12 | |
*** AlexDaniel has quit IRC | 00:12 | |
*** pie__ has quit IRC | 00:16 | |
*** jkiv has quit IRC | 00:56 | |
*** promach3 has quit IRC | 01:36 | |
*** tito_ has quit IRC | 01:39 | |
*** ralu has quit IRC | 03:20 | |
*** ralu has joined #yosys | 03:22 | |
*** xrexeon has quit IRC | 03:59 | |
*** pie__ has joined #yosys | 04:47 | |
*** pie__ has quit IRC | 05:28 | |
*** pie__ has joined #yosys | 05:45 | |
*** dys has quit IRC | 05:53 | |
*** pie__ has quit IRC | 06:10 | |
*** sklv has quit IRC | 06:57 | |
*** GuzTech has joined #yosys | 07:00 | |
*** emeb_mac has quit IRC | 07:10 | |
*** digshadow has quit IRC | 07:11 | |
*** digshadow has joined #yosys | 07:11 | |
*** dmin7 has joined #yosys | 07:47 | |
*** abetusk has quit IRC | 08:08 | |
*** abetusk has joined #yosys | 08:11 | |
*** abetusk is now known as Guest43726 | 08:11 | |
*** AlexDaniel has joined #yosys | 08:25 | |
*** pie__ has joined #yosys | 08:26 | |
*** Guest43726 has quit IRC | 08:27 | |
*** AlexDaniel has quit IRC | 08:32 | |
*** AlexDaniel has joined #yosys | 08:32 | |
*** Guest43726 has joined #yosys | 08:39 | |
*** cemerick has joined #yosys | 09:18 | |
*** mwk has quit IRC | 09:25 | |
*** mwk has joined #yosys | 09:27 | |
*** promach2 has quit IRC | 09:33 | |
*** promach_ has joined #yosys | 09:41 | |
*** pie__ has quit IRC | 09:57 | |
*** promach_ has quit IRC | 10:08 | |
*** promach_ has joined #yosys | 10:13 | |
*** promach_ has quit IRC | 10:17 | |
*** promach_ has joined #yosys | 10:20 | |
*** cemerick has quit IRC | 10:34 | |
*** pie__ has joined #yosys | 11:52 | |
*** pie__ has quit IRC | 11:59 | |
*** pie__ has joined #yosys | 12:08 | |
*** promach_ has quit IRC | 12:22 | |
*** promach_ has joined #yosys | 12:23 | |
*** seldridge has joined #yosys | 12:25 | |
*** pie__ has quit IRC | 12:37 | |
*** leviathan has joined #yosys | 12:58 | |
*** leviathan has quit IRC | 13:15 | |
*** pie__ has joined #yosys | 13:39 | |
*** pie_ has joined #yosys | 14:04 | |
*** pie__ has quit IRC | 14:04 | |
*** xerpi has joined #yosys | 14:05 | |
*** pie_ has quit IRC | 14:07 | |
*** pie_ has joined #yosys | 14:07 | |
*** seldridge has quit IRC | 14:12 | |
*** ZipCPU has quit IRC | 14:32 | |
*** ZipCPU has joined #yosys | 14:34 | |
*** Guest43726 is now known as abetusk | 14:36 | |
*** emeb has joined #yosys | 14:44 | |
*** cemerick has joined #yosys | 14:44 | |
*** seldridge has joined #yosys | 14:57 | |
*** promach__ has joined #yosys | 15:17 | |
*** promach__ is now known as promach2 | 15:17 | |
*** GuzTech has quit IRC | 16:00 | |
*** pie_ has quit IRC | 16:15 | |
mazzoo | I am still playing with picosoc FW on an ice40 8k breakout board | 16:31 |
---|---|---|
mazzoo | to see real world performance, I toggle the LEDs with this code: https://pastebin.com/AurTNG45 | 16:32 |
tpb | Title: [C] void blink(void) { while(1) { __asm__ volatile( - Pastebin.com (at pastebin.com) | 16:32 |
mazzoo | I expect 50% duty cycle on the LEDs with 6MHz (or a small divider) | 16:32 |
mazzoo | but I see this waveform: https://imgur.com/a/Re8TJ | 16:32 |
tpb | Title: Imgur: The magic of the Internet (at imgur.com) | 16:32 |
mazzoo | when I zoom on the short pulse its 2MHz-ish: https://imgur.com/a/0M90K | 16:33 |
tpb | Title: Imgur: The magic of the Internet (at imgur.com) | 16:33 |
mazzoo | can anyone point me to an explanation or has a clue why it's not 50% dc and way faster? | 16:34 |
*** digshadow has quit IRC | 16:40 | |
mazzoo | synthesis says 30MHz, and "Checking 83.33 ns (12.00 MHz) clock constraint: PASSED." | 16:49 |
*** promach2 has quit IRC | 16:59 | |
*** sklv has joined #yosys | 17:04 | |
daveshah | mazzoo: What SPI flash mode are you using? | 17:04 |
daveshah | That will affect instruction fetch performance | 17:04 |
mazzoo | SPI State: LATENCY 8 | 17:04 |
mazzoo | oooh right, almost forgot there's no i-cache | 17:05 |
* mazzoo tweaks | 17:06 | |
*** xerpi has quit IRC | 17:12 | |
*** seldridge has quit IRC | 17:13 | |
mazzoo | set_flash_latency(0); keeps the same timing | 17:16 |
mazzoo | but understanding the point makes me feel way more comfortable =) | 17:16 |
mazzoo | there's still my Q from yesterday wrt to that POV heart code, that I don't quite get | 17:17 |
ZipCPU | daveshah: Have you used picorv? I haven't, so I really don't know how to address all of mazzoo's questions. | 17:21 |
daveshah | ZipCPU: yes, thanks for pinging me | 17:25 |
daveshah | mazzoo: Yep, sounds like you've understood the flash correctly | 17:26 |
daveshah | What was your POV heart question? | 17:26 |
daveshah | You might be able to set your flash to QSPI or even QSPI DDR if your chip and board are capable | 17:26 |
mazzoo | basically a C-weiredness (for me) see this code: https://pastebin.com/0v8fWRu8 | 17:27 |
tpb | Title: [C] // -------------------------------------------------------- #define LEN_HEART - Pastebin.com (at pastebin.com) | 17:27 |
daveshah | But that may require bodging on some boards | 17:27 |
mazzoo | I can't declare sign_heart outside of the function, even as static it won't work. what am I missing? | 17:27 |
daveshah | I think it is a linker script issue with picoRV32 | 17:28 |
daveshah | I've seen something like it before | 17:28 |
mazzoo | daveshah: ya, thanks, understanding is fine for me now. I guess the flash is not QSPI capable | 17:28 |
daveshah | Can you try this linker script? | 17:28 |
daveshah | https://github.com/mmicko/micropython/blob/master/ports/picorv32/sections.lds | 17:28 |
tpb | Title: micropython/sections.lds at master · mmicko/micropython · GitHub (at github.com) | 17:28 |
daveshah | I'm pretty sure static variables should work with that | 17:29 |
daveshah | The flash is probably QSPI capable, but the board might need extra wires btw | 17:29 |
*** seldridge has joined #yosys | 17:30 | |
mazzoo | WOW | 17:32 |
mazzoo | daveshah: like a charm | 17:32 |
mazzoo | thanks! | 17:32 |
daveshah | No worries! Thank Miodrag who fixed it in the first place | 17:32 |
mazzoo | he should kick a pull request for clifford | 17:33 |
daveshah | I'll ping him to do that | 17:37 |
*** digshadow has joined #yosys | 17:41 | |
*** GuzTech has joined #yosys | 17:42 | |
*** kraiskil has joined #yosys | 17:46 | |
mazzoo | clifford: thou shall use that last URL as linkerscript in picosoc - thee static global data work, lo! | 17:50 |
*** m_w has quit IRC | 18:03 | |
*** xrexeon has joined #yosys | 18:08 | |
daveshah | A PR has now been made: https://github.com/cliffordwolf/picorv32/pull/61 | 18:13 |
tpb | Title: Created lds file (section mapping) and init for data and bss sections by mmicko · Pull Request #61 · cliffordwolf/picorv32 · GitHub (at github.com) | 18:13 |
*** m_w has joined #yosys | 18:15 | |
*** xrexeon has quit IRC | 18:24 | |
*** xrexeon has joined #yosys | 18:26 | |
*** seldridge has quit IRC | 19:14 | |
*** seldridge has joined #yosys | 19:31 | |
*** kraiskil has quit IRC | 19:45 | |
*** dmin7 has quit IRC | 19:50 | |
*** proteusguy has quit IRC | 21:29 | |
*** proteusguy has joined #yosys | 21:29 | |
*** tito_ has joined #yosys | 21:30 | |
*** cemerick has quit IRC | 21:35 | |
*** seldridge has quit IRC | 21:37 | |
*** tito_ has quit IRC | 21:39 | |
*** SpaceCoaster has quit IRC | 21:58 | |
*** cemerick has joined #yosys | 22:35 | |
*** seldridge has joined #yosys | 23:04 | |
mithro | Should yosys ever generate "dangling nets" or should they have been removed / optimized away? | 23:04 |
awygle | i think you're supposed to kill them with "clean" | 23:05 |
*** AlexDaniel has quit IRC | 23:13 | |
*** cemerick has quit IRC | 23:30 | |
*** xrexeon_ has joined #yosys | 23:52 | |
*** xrexeon has quit IRC | 23:53 | |
*** xrexeon_ has quit IRC | 23:54 | |
*** xrexeon_ has joined #yosys | 23:54 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!