ChanServ changed the topic of #yosys to: Yosys Open SYnthesis Suite: https://github.com/YosysHQ/yosys/ | Channel logs: https://libera.irclog.whitequark.org/yosys/
ZipCPU has quit [Ping timeout: 265 seconds]
ZipCPU|ZNC is now known as ZipCPU
ZipCPU_ has joined #yosys
ZipCPU has quit [Ping timeout: 264 seconds]
ZipCPU_ is now known as ZipCPU
kristianpaul has quit [Read error: Connection reset by peer]
X-Scale has joined #yosys
ZipCPU has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
kristianpaul has joined #yosys
ZipCPU has joined #yosys
ZipCPU_ has joined #yosys
stroboko1p has joined #yosys
strobokopp has quit [Ping timeout: 244 seconds]
cyrozap has joined #yosys
yay has joined #yosys
yay has quit [Quit: Leaving]
freemint has quit [Ping timeout: 264 seconds]
toshywoshy has quit [Read error: Connection reset by peer]
toshywoshy has joined #yosys
ZipCPU has quit [Quit: Leaving]
ZipCPU_ is now known as ZipCPU
emilazy has joined #yosys
_whitelogger has joined #yosys
_whitelogger has joined #yosys
_whitelogger has joined #yosys
emilazy has quit [Changing host]
emilazy has joined #yosys
freemint has joined #yosys
_whitelogger has joined #yosys
FabM has joined #yosys
_whitelogger has joined #yosys
_whitelogger has joined #yosys
killjoy has quit [Ping timeout: 265 seconds]
killjoy has joined #yosys
killjoy has quit [Changing host]
killjoy has joined #yosys
_whitelogger has joined #yosys
jryans has quit [Quit: node-irc says goodbye]
emilazy has quit [Quit: node-irc says goodbye]
jryans has joined #yosys
jryans has quit [Remote host closed the connection]
jryans has joined #yosys
emilazy has joined #yosys
<tnt> Is the read_verilog -I option supposed to work for $readmemh files ? (to specify where to find them)
<mwk> no, and we don't have any options for that, unfortunately
<mwk> it does sound like a useful thing, though; could be a good idea to make an issue for something like this
<mwk> verilog standard doesn't really say anything about memory file resolution, presumably because it's just supposed to follow usual rules for files (ie. just use the cwd)
<tnt> The last message kinda made me think -I was supposed to work, but I guess verilog `include file discussion got mixed in the thread.
<mwk> $readmemh is, after all, technically a "runtime" feature in verilog
<mwk> yeah, the thread reply is just plain wrong
<mwk> include files do work different
<mwk> anyway — from the verilog standard perspective, $readmemh is no different to doing a $fopen with some fancy parsing, it's resolved wrt cwd at runtime
<mwk> we could add a "memory file search path" in yosys (shouldn't even be hard), but by using it, you'd likely forfeit compatibility with all verilog simulators
<tnt> It's just a bit easier to manage with the simulator because you have a distinct "build" and "run" phase for those while for yosys, it's all in one.
<tnt> But then again iverilog and yosys already behave differently for `include path search ... (iverilog being "wrong" and doesn't look in the same dir as the file doing the include).
<killjoy> tbh, forfeiting compatibility for correctness isn't the worst thing in the world.
_whitelogger has joined #yosys
<tnt> Not a huge deal, I've worked around it before, I can do it again. And yeah, "correct" here is more like "convenient" ...
<mwk> and, once again, searching the include path for memory files is pretty much incorrect
<mwk> though I do agree it is convenient
freemint has quit [Ping timeout: 244 seconds]
<mwk> (tbh I'd rather have separate search path lists though)
<mwk> (partially because $readmemh is handled in entirely different yosys pass than `include)
<tnt> Oh yeah, if doing anything at all, a separate path, only searched if the cwd doesn't find it, would be what I'd think is the best option.
<killjoy> Just sayin'. If I had a nickle for every time I stumbled on someone's buggy code I had to delete and rewrite to make it more useful, I'd have a fair few nickles.
<killjoy> But I'm just the peanut gallery.
<mwk> tnt: I've added this to next devteam meeting agenda (on monday)
<tnt> mwk: tx !
_whitelogger has joined #yosys
freemint has joined #yosys
emilazy has quit [Quit: node-irc says goodbye]
jryans has quit [Quit: node-irc says goodbye]
jryans has joined #yosys
emilazy has joined #yosys
anticw has quit [Ping timeout: 264 seconds]
freemint has quit [Remote host closed the connection]
freemint has joined #yosys
anticw has joined #yosys
_whitelogger has joined #yosys
emilazy has quit [Quit: node-irc says goodbye]
jryans has quit [Quit: node-irc says goodbye]
jryans has joined #yosys
emilazy has joined #yosys
freeemint has joined #yosys
freemint has quit [Read error: Connection reset by peer]
emilazy has quit [Quit: node-irc says goodbye]
jryans has quit [Quit: node-irc says goodbye]
jryans has joined #yosys
emilazy has joined #yosys
emilazy has quit [Quit: node-irc says goodbye]
jryans has quit [Quit: node-irc says goodbye]
jryans has joined #yosys
emilazy has joined #yosys
FabM has quit [Quit: Leaving]
emilazy has quit [Quit: node-irc says goodbye]
jryans has quit [Quit: node-irc says goodbye]
jryans has joined #yosys
emilazy has joined #yosys
emilazy has quit [Client Quit]
jryans has quit [Client Quit]
jryans has joined #yosys
emilazy has joined #yosys
tnt has joined #yosys
tnt has quit [Changing host]
Guest45 has joined #yosys
Guest45 has quit [Client Quit]
freeemint has quit [Ping timeout: 272 seconds]
_whitelogger has joined #yosys
_whitelogger has joined #yosys
_whitelogger has joined #yosys
philtom is now known as philtor
sm2n has quit [Quit: Leaving]
sm2n has joined #yosys
Raito_Bezarius has quit [Changing host]
Raito_Bezarius has joined #yosys
Lord_Nightmare is now known as Lord_Nightmare2
Lord_Nightmare2 is now known as Lord_Nightmare