Monday, 2018-04-16

*** tpb has joined #yosys00:00
*** promach3 has joined #yosys00:03
*** X-Scale has quit IRC00:10
*** X-Scale has joined #yosys00:12
*** AlexDaniel has quit IRC00:12
*** pie__ has quit IRC00:16
*** jkiv has quit IRC00:56
*** promach3 has quit IRC01:36
*** tito_ has quit IRC01:39
*** ralu has quit IRC03:20
*** ralu has joined #yosys03:22
*** xrexeon has quit IRC03:59
*** pie__ has joined #yosys04:47
*** pie__ has quit IRC05:28
*** pie__ has joined #yosys05:45
*** dys has quit IRC05:53
*** pie__ has quit IRC06:10
*** sklv has quit IRC06:57
*** GuzTech has joined #yosys07:00
*** emeb_mac has quit IRC07:10
*** digshadow has quit IRC07:11
*** digshadow has joined #yosys07:11
*** dmin7 has joined #yosys07:47
*** abetusk has quit IRC08:08
*** abetusk has joined #yosys08:11
*** abetusk is now known as Guest4372608:11
*** AlexDaniel has joined #yosys08:25
*** pie__ has joined #yosys08:26
*** Guest43726 has quit IRC08:27
*** AlexDaniel has quit IRC08:32
*** AlexDaniel has joined #yosys08:32
*** Guest43726 has joined #yosys08:39
*** cemerick has joined #yosys09:18
*** mwk has quit IRC09:25
*** mwk has joined #yosys09:27
*** promach2 has quit IRC09:33
*** promach_ has joined #yosys09:41
*** pie__ has quit IRC09:57
*** promach_ has quit IRC10:08
*** promach_ has joined #yosys10:13
*** promach_ has quit IRC10:17
*** promach_ has joined #yosys10:20
*** cemerick has quit IRC10:34
*** pie__ has joined #yosys11:52
*** pie__ has quit IRC11:59
*** pie__ has joined #yosys12:08
*** promach_ has quit IRC12:22
*** promach_ has joined #yosys12:23
*** seldridge has joined #yosys12:25
*** pie__ has quit IRC12:37
*** leviathan has joined #yosys12:58
*** leviathan has quit IRC13:15
*** pie__ has joined #yosys13:39
*** pie_ has joined #yosys14:04
*** pie__ has quit IRC14:04
*** xerpi has joined #yosys14:05
*** pie_ has quit IRC14:07
*** pie_ has joined #yosys14:07
*** seldridge has quit IRC14:12
*** ZipCPU has quit IRC14:32
*** ZipCPU has joined #yosys14:34
*** Guest43726 is now known as abetusk14:36
*** emeb has joined #yosys14:44
*** cemerick has joined #yosys14:44
*** seldridge has joined #yosys14:57
*** promach__ has joined #yosys15:17
*** promach__ is now known as promach215:17
*** GuzTech has quit IRC16:00
*** pie_ has quit IRC16:15
mazzooI am still playing with picosoc FW on an ice40 8k breakout board16:31
mazzooto see real world performance, I toggle the LEDs with this code: https://pastebin.com/AurTNG4516:32
tpbTitle: [C] void blink(void) { while(1) { __asm__ volatile( - Pastebin.com (at pastebin.com)16:32
mazzooI expect 50% duty cycle on the LEDs with 6MHz (or a small divider)16:32
mazzoobut I see this waveform: https://imgur.com/a/Re8TJ16:32
tpbTitle: Imgur: The magic of the Internet (at imgur.com)16:32
mazzoowhen I zoom on the short pulse its 2MHz-ish: https://imgur.com/a/0M90K16:33
tpbTitle: Imgur: The magic of the Internet (at imgur.com)16:33
mazzoocan anyone point me to an explanation or has a clue why it's not 50% dc and way faster?16:34
*** digshadow has quit IRC16:40
mazzoosynthesis says 30MHz, and "Checking 83.33 ns (12.00 MHz) clock constraint: PASSED."16:49
*** promach2 has quit IRC16:59
*** sklv has joined #yosys17:04
daveshahmazzoo: What SPI flash mode are you using?17:04
daveshahThat will affect instruction fetch performance17:04
mazzooSPI State: LATENCY 817:04
mazzoooooh right, almost forgot there's no i-cache17:05
* mazzoo tweaks17:06
*** xerpi has quit IRC17:12
*** seldridge has quit IRC17:13
mazzooset_flash_latency(0); keeps the same timing17:16
mazzoobut understanding the point makes me feel way more comfortable =)17:16
mazzoothere's still my Q from yesterday wrt to that POV heart code, that I don't quite get17:17
ZipCPUdaveshah: Have you used picorv?  I haven't, so I really don't know how to address all of mazzoo's questions.17:21
daveshahZipCPU: yes, thanks for pinging me17:25
daveshahmazzoo: Yep, sounds like you've understood the flash correctly17:26
daveshahWhat was your POV heart question?17:26
daveshahYou might be able to set your flash to QSPI or even QSPI DDR if your chip and board are capable17:26
mazzoobasically a C-weiredness (for me) see this code: https://pastebin.com/0v8fWRu817:27
tpbTitle: [C] // -------------------------------------------------------- #define LEN_HEART - Pastebin.com (at pastebin.com)17:27
daveshahBut that may require bodging on some boards17:27
mazzooI can't declare sign_heart outside of the function, even as static it won't work. what am I missing?17:27
daveshahI think it is a linker script issue with picoRV3217:28
daveshahI've seen something like it before17:28
mazzoodaveshah: ya, thanks, understanding is fine for me now. I guess the flash is not QSPI capable17:28
daveshahCan you try this linker script?17:28
daveshahhttps://github.com/mmicko/micropython/blob/master/ports/picorv32/sections.lds17:28
tpbTitle: micropython/sections.lds at master · mmicko/micropython · GitHub (at github.com)17:28
daveshahI'm pretty sure static variables should work with that17:29
daveshahThe flash is probably QSPI capable, but the board might need extra wires btw17:29
*** seldridge has joined #yosys17:30
mazzooWOW17:32
mazzoodaveshah: like a charm17:32
mazzoothanks!17:32
daveshahNo worries! Thank Miodrag who fixed it in the first place17:32
mazzoohe should kick a pull request for clifford17:33
daveshahI'll ping him to do that17:37
*** digshadow has joined #yosys17:41
*** GuzTech has joined #yosys17:42
*** kraiskil has joined #yosys17:46
mazzooclifford: thou shall use that last URL as linkerscript in picosoc - thee static global data work, lo!17:50
*** m_w has quit IRC18:03
*** xrexeon has joined #yosys18:08
daveshahA PR has now been made: https://github.com/cliffordwolf/picorv32/pull/6118:13
tpbTitle: 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 #yosys18:15
*** xrexeon has quit IRC18:24
*** xrexeon has joined #yosys18:26
*** seldridge has quit IRC19:14
*** seldridge has joined #yosys19:31
*** kraiskil has quit IRC19:45
*** dmin7 has quit IRC19:50
*** proteusguy has quit IRC21:29
*** proteusguy has joined #yosys21:29
*** tito_ has joined #yosys21:30
*** cemerick has quit IRC21:35
*** seldridge has quit IRC21:37
*** tito_ has quit IRC21:39
*** SpaceCoaster has quit IRC21:58
*** cemerick has joined #yosys22:35
*** seldridge has joined #yosys23:04
mithroShould yosys ever generate "dangling nets" or should they have been removed / optimized away?23:04
awyglei think you're supposed to kill them with "clean"23:05
*** AlexDaniel has quit IRC23:13
*** cemerick has quit IRC23:30
*** xrexeon_ has joined #yosys23:52
*** xrexeon has quit IRC23:53
*** xrexeon_ has quit IRC23:54
*** xrexeon_ has joined #yosys23:54

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!