<mtrbot-ml>
[mattermost] <joeshardow> joeshardow joined the team.
_whitelogger has joined #m-labs
proteusguy has joined #m-labs
rohitksingh_work has joined #m-labs
_whitelogger has joined #m-labs
proteusguy has quit [Ping timeout: 250 seconds]
rohitksingh_work has quit [Read error: Connection reset by peer]
rohitksingh_work has joined #m-labs
proteusguy has joined #m-labs
_whitelogger has joined #m-labs
<whitequark>
mithro: not really, because yosys is calling python there, not the other way around
<whitequark>
it'd have to be "libyosys", but in any case that's a horrible pain on windows...
<mtrbot-ml>
[mattermost] <sb10q> whitequark: any issues with making it WSL-only?
<mtrbot-ml>
[mattermost] <sb10q> can vivado etc. be invoked from WSL?
<whitequark>
sb10q: mattermost breaks nickname completion, which is extremely obnoxious.
<whitequark>
as for making it WSL-only, yes, Windows should be a first-class platform and there's no reason to not do so
<whitequark>
what I mean is, libyosys doesn't exist in the first place (not with Python bindings, anyway), there's no point in writing it, and doing so would make it more annoying to use nmigen on Windows
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
proteusguy has quit [Remote host closed the connection]
rohitksingh_work has quit [Read error: Connection reset by peer]
rohitksingh_work has joined #m-labs
elmarco has joined #m-labs
rohitksingh_work has quit [Read error: Connection reset by peer]
<ZirconiumX>
So, in Migen you would inherit from Module and do your logic in __init__, but in nMigen you put the logic in an elaborate() function?
<ZirconiumX>
Also, in terms of writing a boring adder, is it better to use `+` or write your own?
<mtrbot-ml>
[mattermost] <sb10q> ZirconiumX: yes, your class doesn't have to derive from anything with nMigen
<mtrbot-ml>
[mattermost] <sb10q> why would you write your own adder?
<ZirconiumX>
To learn how to write an adder, I suppose
<mtrbot-ml>
[mattermost] <sb10q> FPGAs have dedicated structures for adders that you want to use for efficiency reasons
<mtrbot-ml>
[mattermost] <sb10q> so... writing an adder isn't as simple as you may think