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
airwoodix2 has joined #m-labs
airwoodix has quit [Ping timeout: 268 seconds]
airwoodix2 is now known as airwoodix
<_whitenotifier-e> [m-labs/nmigen] whitequark pushed 1 commit to master [+0/-0/±2] https://git.io/JeMZm
<_whitenotifier-e> [m-labs/nmigen] whitequark d048f06 - hdl.ast: actually remove simulator commands.
<_whitenotifier-e> [nmigen] Success. The Travis CI build passed - https://travis-ci.org/m-labs/nmigen/builds/619413064?utm_source=github_status&utm_medium=notification
<_whitenotifier-e> [nmigen] Success. 82.19% (+0.15%) compared to 72cfdb0 - https://codecov.io/gh/m-labs/nmigen/commit/d048f069f86c64c3ac036f8edc9d06be1addb5a2
<_whitenotifier-e> [nmigen] Success. Coverage not affected when comparing 72cfdb0...d048f06 - https://codecov.io/gh/m-labs/nmigen/commit/d048f069f86c64c3ac036f8edc9d06be1addb5a2
proteus-guy has quit [Ping timeout: 240 seconds]
proteus-guy has joined #m-labs
m4ssi has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 268 seconds]
rjo has quit [*.net *.split]
rjo has joined #m-labs
proteus-guy has quit [Ping timeout: 250 seconds]
Stormwind_mobile has joined #m-labs
rohitksingh has quit [Ping timeout: 246 seconds]
alexhw has quit [Remote host closed the connection]
alexhw has joined #m-labs
ohama has quit [Ping timeout: 240 seconds]
ohama has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 245 seconds]
<rjo> sb0: bonn1 needs that suservo change in master. i'm fine either way (back porting the change or excluding bonn1 from stable). what do you think?
<rjo> i don't know how to do the latter
mwk has joined #m-labs
Stormwind_mobile has joined #m-labs
proteus-guy has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 252 seconds]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 250 seconds]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 240 seconds]
mumptai has joined #m-labs
m4ssi has quit [Quit: Leaving]
mumptai_ has joined #m-labs
mumptai has quit [Ping timeout: 250 seconds]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 268 seconds]
Stormwind_mobile has joined #m-labs
rvense has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 240 seconds]
Stormwind_mobile has joined #m-labs
gsuberland has quit [Remote host closed the connection]
<adamgreig> whitequark: it seems like pysim2 is running one more clock cycle after my sync process finishes, is that expected? i.e., I see four full clocks in gtkwave but only yield three times from my sync process
m4ssi has joined #m-labs
<adamgreig> also a change/regression from pysim1 i've noticed: i have c=Signal(10), x=Signal(signed(7)), x is -5, c.eq(c-x), I expect c to increase by 5 but instead it decreases by 123; if I make x signed(10) so the overflow works out then it works as expected
<adamgreig> not sure if pysim should be doing the relevant sign extension for me here or what, but I'm pretty sure that's hwo it used to work in pysim1
m4ssi has quit [Remote host closed the connection]
<whitequark> adamgreig: re 1: it's not a deliberate change but I'm not sure if that was ever a proper guarantee
<adamgreig> i just found the wrapper fn in add_sync_process that always yields a tick before yielding from the process
<whitequark> that's different
<adamgreig> so that would explain the extra cycle i think (though from gtkwave it looked to me like the extra cycle was at the end?)
<adamgreig> ah ok
<whitequark> it skips the half-cycle between reset and first posedge
<adamgreig> explains why it seemed like the extra cycle was at the end :P
<adamgreig> got you
<whitequark> that should actually match pysim1 behavior
<adamgreig> the extra cycle isn't a problem or anything, just was curious while i was trying to minimise the second problem
<whitequark> alright
<whitequark> re second problem: try this: https://paste.debian.net/1119089/
<adamgreig> that fixes my minimal test case
<adamgreig> and also my original non-reduced test case
<adamgreig> aaand everything else still passes
<whitequark> so as usual, I tried to make an optimization and failed
<whitequark> ah well
<_whitenotifier-e> [m-labs/nmigen] whitequark pushed 1 commit to master [+0/-0/±1] https://git.io/JeMwb
<_whitenotifier-e> [m-labs/nmigen] whitequark 7650431 - back.pysim: fix miscompilation of Signal(unsigned) - Signal(signed).
<adamgreig> i have a different weird thing but i have no guesses about this one: if i delete the docstring of an unused class, it changes simulation behaviour
<adamgreig> http://dpaste.com/22ZZZCQ if you run it and then delete the docstring line and run again, I get 0 the first time and 512 the seocnd time
<_whitenotifier-e> [nmigen] Success. The Travis CI build passed - https://travis-ci.org/m-labs/nmigen/builds/619764190?utm_source=github_status&utm_medium=notification
<_whitenotifier-e> [nmigen] Success. 82.26% (+0.06%) compared to d048f06 - https://codecov.io/gh/m-labs/nmigen/commit/76504319962524b02c7d21111295b655e009bd76
<_whitenotifier-e> [nmigen] Success. 100% of diff hit (target 82.19%) - https://codecov.io/gh/m-labs/nmigen/commit/76504319962524b02c7d21111295b655e009bd76
<_whitenotifier-e> [nmigen] Success. The Travis CI build passed - https://travis-ci.org/m-labs/nmigen/builds/619764190?utm_source=github_status&utm_medium=notification
<_whitenotifier-e> [nmigen] Success. 82.19% (+0%) compared to d048f06 - https://codecov.io/gh/m-labs/nmigen/commit/76504319962524b02c7d21111295b655e009bd76
<whitequark> adamgreig: yes.
<whitequark> this is a race condition in your code that happened to behave deterministically on pysim1
<whitequark> that determinism was also present in migen but only by accident
<Sarayan> accidental determinism, what a concept
<whitequark> I have plans for fixing it properly but that will happen after i finish cxxsim
<whitequark> among other things it has a related but different simulation model that needs to be taken into account
<Sarayan> did I say that cxxsim sounded like an extremely good idea already?
<whitequark> is that sarcasm
<Sarayan> not at all
<Sarayan> fast sim is very, very good
<whitequark> ah, great
<Sarayan> once I manage to do things at a bigger scale I'm pretty sure I will love it
_whitelogger_ has joined #m-labs
kmehall_ has joined #m-labs
kristian1 has joined #m-labs
TD--Linux has joined #m-labs
TD--Linux has joined #m-labs
_whitelogger has quit [*.net *.split]
plonk has quit [*.net *.split]
jryans has quit [*.net *.split]
harryho has quit [*.net *.split]
_whitenotifier-e has quit [*.net *.split]
Dar1us has quit [*.net *.split]
kmehall has quit [*.net *.split]
kristianpaul has quit [*.net *.split]
TD-Linux has quit [*.net *.split]
reportingsjr has quit [*.net *.split]
Dar1us_ is now known as Dar1us
TD--Linux is now known as TD-Linux
reportingsjr has joined #m-labs
<adamgreig> I am also very excited for cxxsim
<adamgreig> Currently doing gross things to use verilator for one or two tests that need very many cycles
<whitequark> how gross are they?
<adamgreig> Meh, a custom external makefile, some glue c++, some spitting stuff back to python, none of it's totally awful but it's very specific and was annoying
<whitequark> ah I see
<adamgreig> Mostly just made it easier to run a sim and view it in gtkwave where normally my tests are lots of asserts throughout sim
mumptai_ has quit [Read error: Connection reset by peer]
mumptai_ has joined #m-labs
kristian1 has quit [Quit: WeeChat 1.9.1]
kristianpaul has joined #m-labs
rohitksingh has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 252 seconds]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 250 seconds]
X-Scale has quit [Ping timeout: 240 seconds]
Stormwind_mobile has joined #m-labs
mumptai_ has quit [Quit: Verlassend]