sb0 changed the topic of #m-labs to: https://m-labs.hk :: Mattermost https://chat.m-labs.hk :: Logs http://irclog.whitequark.org/m-labs
Stormwind_mobile has quit [Remote host closed the connection]
rohitksingh has quit [Ping timeout: 245 seconds]
<Astro-_> @sb10q I added some debug output, let's wait for the next failure
rohitksingh has joined #m-labs
rohitksingh has quit [Ping timeout: 252 seconds]
airwoodix9 has joined #m-labs
airwoodix has quit [Ping timeout: 276 seconds]
airwoodix9 is now known as airwoodix
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 250 seconds]
Stormwind_mobile has joined #m-labs
rohitksingh has joined #m-labs
attie has joined #m-labs
attie has quit [Ping timeout: 240 seconds]
rohitksingh has quit [Ping timeout: 250 seconds]
rohitksingh has joined #m-labs
Stormwind_mobile has quit [Read error: Connection reset by peer]
Stormwind_mobile has joined #m-labs
futarisIRCcloud has joined #m-labs
<mtrbot-ml> [mattermost] <sb10q> cool
m4ssi has joined #m-labs
_whitelogger has joined #m-labs
attie has joined #m-labs
harryho has quit [Remote host closed the connection]
Stormwind_mobile has quit [Ping timeout: 252 seconds]
Stormwind_mobile has joined #m-labs
proteus-guy has joined #m-labs
Streetwalrus has quit [Quit: ZNC 1.7.4 - https://znc.in]
Streetwalrus has joined #m-labs
Stormwind_mobile has quit [Read error: Connection reset by peer]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Read error: Connection reset by peer]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 276 seconds]
Stormwind_mobile has joined #m-labs
attie has quit [Ping timeout: 240 seconds]
attie has joined #m-labs
plonk has quit [Ping timeout: 250 seconds]
sb0 has joined #m-labs
attie has quit [Ping timeout: 265 seconds]
attie has joined #m-labs
sb0 has quit [Quit: Leaving]
Stormwind_mobile has quit [Ping timeout: 250 seconds]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 240 seconds]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 240 seconds]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 252 seconds]
Stormwind_mobile has joined #m-labs
balrog has quit [Quit: Bye]
Stormwind_mobile has quit [Ping timeout: 240 seconds]
Getorix_ has joined #m-labs
Getorix has quit [Ping timeout: 276 seconds]
plonk has joined #m-labs
plonk has quit [Changing host]
plonk has joined #m-labs
mauz555 has joined #m-labs
zng has quit [Quit: ZNC 1.7.2 - https://znc.in]
zng has joined #m-labs
<mtrbot-ml> [mattermost] <lriesebos> lriesebos joined the team.
m4ssi has quit [Remote host closed the connection]
Stormwind_mobile has joined #m-labs
mumptai has joined #m-labs
<Sarayan> mspaint schems, impressive
Stormwind_mobile has quit [Ping timeout: 245 seconds]
Stormwind_mobile has joined #m-labs
balrog has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 246 seconds]
Stormwind_mobile has joined #m-labs
balrog has quit [Ping timeout: 268 seconds]
balrog has joined #m-labs
attie has quit [Ping timeout: 246 seconds]
balrog has quit [Ping timeout: 250 seconds]
balrog has joined #m-labs
attie has joined #m-labs
zng has quit [Quit: ZNC 1.7.2 - https://znc.in]
zng has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 245 seconds]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Read error: Connection reset by peer]
Stormwind_mobile has joined #m-labs
X-Scale` has joined #m-labs
X-Scale has quit [Ping timeout: 276 seconds]
X-Scale` is now known as X-Scale
en0k has joined #m-labs
en0k has quit [Ping timeout: 240 seconds]
en0k has joined #m-labs
<en0k> Hi there! I'm having some issues with nMigen's assertFormal, I get an "FileNotFoundError: [Errno 2] No such file or directory: '': ''" error
<en0k> Has anyone here encountered that error?
<en0k> It seems to happen when it tries to call sby, I checked the argument list to subprocess.Popen in assertFormal and it looks good to me
X-Scale` has joined #m-labs
X-Scale has quit [Ping timeout: 265 seconds]
X-Scale` is now known as X-Scale
<whitequark> en0k: intersting. can you strace it?
<en0k> whitequark, ^
<whitequark> ideally strace -f
<whitequark> here python spawns a helper process that dies
<en0k> whitequark, I added the strace -f logs to the gist
<whitequark> it looks like spec_dir is empty
<whitequark> how are you calling assertFormal?
<whitequark> that function is internal and it's a bit dirty, it tries to extract the directory for the sby workdir from the backtrace
<en0k> whitequark, I haven't found example code that shows how to use it so I tried something that looks quite wrong
<en0k> take a look at formal.py in the gist, L100 I'm calling that's calling assertFormal
<en0k> *I'm calling a function
<whitequark> ah and you're running it like `python formal.py`, right?
<en0k> yup
<whitequark> the infrastructure for integrating sby in nmigen is very immature unfortunately
<whitequark> the actual HDL primitives are perfectly good
<whitequark> but I haven't spent any time improving runner infra yet
<whitequark> so I suggest you copy assertFormal into your codebase and hack it until you like it
<en0k> sounds faire to me
<en0k> *fair
<en0k> whitequark, seems like I have a quick fix: python3 ./formal.py instead of python3 formal.py
<en0k> now I get formal verification errors and I'm happy
<whitequark> yep, that works
en0k has quit [Ping timeout: 276 seconds]
mauz555 has quit [Remote host closed the connection]
Stormwind_mobile has quit [Ping timeout: 268 seconds]
Stormwind_mobile has joined #m-labs
mumptai has quit [Quit: Verlassend]
Stormwind_mobile has quit [Ping timeout: 250 seconds]
Stormwind_mobile has joined #m-labs