clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
promach3 has joined #yosys
X-Scale has quit [Ping timeout: 265 seconds]
X-Scale has joined #yosys
AlexDaniel has quit [Ping timeout: 240 seconds]
pie__ has quit [Ping timeout: 264 seconds]
jkiv has quit [Quit: Leaving]
promach3 has quit [Ping timeout: 265 seconds]
tito_ has quit [Ping timeout: 260 seconds]
ralu has quit [Ping timeout: 256 seconds]
ralu has joined #yosys
xrexeon has quit [Ping timeout: 264 seconds]
pie__ has joined #yosys
pie__ has quit [Ping timeout: 240 seconds]
pie__ has joined #yosys
dys has quit [Ping timeout: 264 seconds]
pie__ has quit [Ping timeout: 256 seconds]
sklv has quit [Quit: quit]
GuzTech has joined #yosys
emeb_mac has quit [Ping timeout: 260 seconds]
digshadow has quit [Read error: Connection reset by peer]
digshadow has joined #yosys
dmin7 has joined #yosys
abetusk has quit [Ping timeout: 260 seconds]
abetusk has joined #yosys
abetusk is now known as Guest43726
AlexDaniel has joined #yosys
pie__ has joined #yosys
Guest43726 has quit [Ping timeout: 268 seconds]
AlexDaniel has quit [Remote host closed the connection]
AlexDaniel has joined #yosys
Guest43726 has joined #yosys
cemerick has joined #yosys
mwk has quit [Ping timeout: 264 seconds]
mwk has joined #yosys
promach2 has quit [Quit: WeeChat 2.1-dev]
promach_ has joined #yosys
pie__ has quit [Ping timeout: 255 seconds]
promach_ has quit [Ping timeout: 240 seconds]
promach_ has joined #yosys
promach_ has quit [Client Quit]
promach_ has joined #yosys
cemerick has quit [Ping timeout: 265 seconds]
pie__ has joined #yosys
pie__ has quit [Ping timeout: 256 seconds]
pie__ has joined #yosys
promach_ has quit [Ping timeout: 264 seconds]
promach_ has joined #yosys
seldridge has joined #yosys
pie__ has quit [Ping timeout: 264 seconds]
leviathan has joined #yosys
leviathan has quit [Read error: Connection reset by peer]
pie__ has joined #yosys
pie_ has joined #yosys
pie__ has quit [Read error: Connection reset by peer]
xerpi has joined #yosys
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #yosys
seldridge has quit [Ping timeout: 240 seconds]
ZipCPU has quit [Ping timeout: 265 seconds]
ZipCPU has joined #yosys
Guest43726 is now known as abetusk
emeb has joined #yosys
cemerick has joined #yosys
seldridge has joined #yosys
promach__ has joined #yosys
promach__ is now known as promach2
GuzTech has quit [Quit: Leaving]
pie_ has quit [Ping timeout: 264 seconds]
<mazzoo> I am still playing with picosoc FW on an ice40 8k breakout board
<mazzoo> to see real world performance, I toggle the LEDs with this code: https://pastebin.com/AurTNG45
<tpb> Title: [C] void blink(void) { while(1) { __asm__ volatile( - Pastebin.com (at pastebin.com)
<mazzoo> I expect 50% duty cycle on the LEDs with 6MHz (or a small divider)
<mazzoo> but I see this waveform: https://imgur.com/a/Re8TJ
<tpb> Title: Imgur: The magic of the Internet (at imgur.com)
<mazzoo> when I zoom on the short pulse its 2MHz-ish: https://imgur.com/a/0M90K
<tpb> Title: Imgur: The magic of the Internet (at imgur.com)
<mazzoo> can anyone point me to an explanation or has a clue why it's not 50% dc and way faster?
digshadow has quit [Ping timeout: 240 seconds]
<mazzoo> synthesis says 30MHz, and "Checking 83.33 ns (12.00 MHz) clock constraint: PASSED."
promach2 has quit [Quit: WeeChat 2.1]
sklv has joined #yosys
<daveshah> mazzoo: What SPI flash mode are you using?
<daveshah> That will affect instruction fetch performance
<mazzoo> SPI State: LATENCY 8
<mazzoo> oooh right, almost forgot there's no i-cache
* mazzoo tweaks
xerpi has quit [Remote host closed the connection]
seldridge has quit [Ping timeout: 268 seconds]
<mazzoo> set_flash_latency(0); keeps the same timing
<mazzoo> but understanding the point makes me feel way more comfortable =)
<mazzoo> there's still my Q from yesterday wrt to that POV heart code, that I don't quite get
<ZipCPU> daveshah: Have you used picorv? I haven't, so I really don't know how to address all of mazzoo's questions.
<daveshah> ZipCPU: yes, thanks for pinging me
<daveshah> mazzoo: Yep, sounds like you've understood the flash correctly
<daveshah> What was your POV heart question?
<daveshah> You might be able to set your flash to QSPI or even QSPI DDR if your chip and board are capable
<mazzoo> basically a C-weiredness (for me) see this code: https://pastebin.com/0v8fWRu8
<tpb> Title: [C] // -------------------------------------------------------- #define LEN_HEART - Pastebin.com (at pastebin.com)
<daveshah> But that may require bodging on some boards
<mazzoo> I can't declare sign_heart outside of the function, even as static it won't work. what am I missing?
<daveshah> I think it is a linker script issue with picoRV32
<daveshah> I've seen something like it before
<mazzoo> daveshah: ya, thanks, understanding is fine for me now. I guess the flash is not QSPI capable
<daveshah> Can you try this linker script?
<tpb> Title: micropython/sections.lds at master · mmicko/micropython · GitHub (at github.com)
<daveshah> I'm pretty sure static variables should work with that
<daveshah> The flash is probably QSPI capable, but the board might need extra wires btw
seldridge has joined #yosys
<mazzoo> WOW
<mazzoo> daveshah: like a charm
<mazzoo> thanks!
<daveshah> No worries! Thank Miodrag who fixed it in the first place
<mazzoo> he should kick a pull request for clifford
<daveshah> I'll ping him to do that
digshadow has joined #yosys
GuzTech has joined #yosys
kraiskil has joined #yosys
<mazzoo> clifford: thou shall use that last URL as linkerscript in picosoc - thee static global data work, lo!
m_w has quit [Quit: leaving]
xrexeon has joined #yosys
<daveshah> A PR has now been made: https://github.com/cliffordwolf/picorv32/pull/61
<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)
m_w has joined #yosys
xrexeon has quit [Read error: Connection reset by peer]
xrexeon has joined #yosys
seldridge has quit [Ping timeout: 256 seconds]
seldridge has joined #yosys
kraiskil has quit [Ping timeout: 255 seconds]
dmin7 has quit [Ping timeout: 240 seconds]
proteusguy has quit [Ping timeout: 265 seconds]
proteusguy has joined #yosys
tito_ has joined #yosys
cemerick has quit [Ping timeout: 260 seconds]
seldridge has quit [Ping timeout: 240 seconds]
tito_ has quit [Ping timeout: 260 seconds]
SpaceCoaster has quit [Ping timeout: 240 seconds]
cemerick has joined #yosys
seldridge has joined #yosys
<mithro> Should yosys ever generate "dangling nets" or should they have been removed / optimized away?
<awygle> i think you're supposed to kill them with "clean"
AlexDaniel has quit [Ping timeout: 245 seconds]
cemerick has quit [Ping timeout: 268 seconds]
xrexeon_ has joined #yosys
xrexeon has quit [Ping timeout: 256 seconds]
xrexeon_ has quit [Max SendQ exceeded]
xrexeon_ has joined #yosys
tpb has quit [Remote host closed the connection]
tpb has joined #yosys