ChanServ changed the topic of #nmigen to: nMigen hardware description language · code at https://github.com/nmigen · logs at https://freenode.irclog.whitequark.org/nmigen · IRC meetings each Monday at 1800 UTC · next meeting July 27th
Yehowshua has joined #nmigen
<Yehowshua> Yosys in your browser https://webassembly.sh/
<Yehowshua> `wapm install Yehowshua/yosys`
<Yehowshua> Works best in chrome
Yehowshua has quit [Remote host closed the connection]
Yehowshua has joined #nmigen
<Yehowshua> It uses yosys.wasm
Yehowshua has quit [Ping timeout: 245 seconds]
<_whitenotifier-b> [nmigen] cestrauss commented on issue #439: fsm_state changes mid cycle - https://git.io/JJWKI
<_whitenotifier-b> [nmigen] cestrauss edited a comment on issue #439: fsm_state changes mid cycle - https://git.io/JJWKI
<_whitenotifier-b> [nmigen] cestrauss edited a comment on issue #439: fsm_state changes mid cycle - https://git.io/JJWKI
Degi has quit [Ping timeout: 265 seconds]
Degi has joined #nmigen
<_whitenotifier-b> [nmigen] programmerjake opened issue #443: add API to get simulation time for debugging - https://git.io/JJWKx
<_whitenotifier-b> [nmigen-boards] whitequark reviewed pull request #88 commit - https://git.io/JJW6Z
<_whitenotifier-b> [nmigen-boards] whitequark reviewed pull request #88 commit - https://git.io/JJW6n
<_whitenotifier-b> [nmigen] whitequark commented on issue #439: fsm_state changes mid cycle - https://git.io/JJW6z
<_whitenotifier-b> [nmigen] whitequark commented on issue #443: add API to get simulation time for debugging - https://git.io/JJW6V
<whitequark> FL4SHK: yeah, what awygle said is exactly right
<whitequark> TiltMeSenpai: awygle is also right there
<whitequark> FFY00: I've addressed that in a review
<whitequark> Yehowshua: that doesn't actually work yet, try running `synth_ice40`
<whitequark> the reason I haven't published it on wapm is the data files, both for yosys and nextpnr
<FFY00> whitequark, do you have a link?
<FFY00> nvm, I'm dumb
<whitequark> :)
<awygle> the sweet sound of validation
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to xilinx-sim_device [+0/-0/±2] https://git.io/JJWi9
<_whitenotifier-b> [nmigen/nmigen] whitequark b78e875 - vendor.xilinx_{7series,ultrascale}: add SIM_DEVICE parameter.
<_whitenotifier-b> [nmigen] whitequark opened pull request #444: vendor.xilinx_{7series,ultrascale}: add SIM_DEVICE parameter - https://git.io/JJWi7
<_whitenotifier-b> [nmigen] whitequark commented on issue #438: wrong type of buffer primitive used in series 7 - https://git.io/JJWi5
<_whitenotifier-b> [nmigen] whitequark opened issue #445: Replace Travis CI with GH Actions - https://git.io/JJWiF
<_whitenotifier-b> [nmigen] codecov[bot] commented on pull request #444: vendor.xilinx_{7series,ultrascale}: add SIM_DEVICE parameter - https://git.io/JJWiN
<_whitenotifier-b> [nmigen] codecov[bot] edited a comment on pull request #444: vendor.xilinx_{7series,ultrascale}: add SIM_DEVICE parameter - https://git.io/JJWiN
<_whitenotifier-b> [nmigen] codecov[bot] edited a comment on pull request #444: vendor.xilinx_{7series,ultrascale}: add SIM_DEVICE parameter - https://git.io/JJWiN
<_whitenotifier-b> [nmigen] codecov[bot] edited a comment on pull request #444: vendor.xilinx_{7series,ultrascale}: add SIM_DEVICE parameter - https://git.io/JJWiN
<_whitenotifier-b> [nmigen] codecov[bot] edited a comment on pull request #444: vendor.xilinx_{7series,ultrascale}: add SIM_DEVICE parameter - https://git.io/JJWiN
jaseg has quit [Ping timeout: 272 seconds]
jaseg has joined #nmigen
electronic_eel has quit [Ping timeout: 246 seconds]
electronic_eel has joined #nmigen
PyroPeter_ has joined #nmigen
PyroPeter has quit [Ping timeout: 246 seconds]
PyroPeter_ is now known as PyroPeter
<awygle> Yehowshua: do you speak Rust?
<awygle> well i hope so, because this is your fault: https://github.com/awygle/waggle
<awygle> now with image and short explanation
<whitequark> awygle: cool!
<awygle> :D
<awygle> it obviously needs a bunch of work to be production ready and the code is a learning-as-i-go mess, but i'm pleased that the idea turned out to be sound
<awygle> including one triangle per bit, one draw call, etc
<awygle> it's in opengl es 3.0 also so it should transition to webgl easily (or so lokathor assures me)
<whitequark> uh, that needs webgl2
<whitequark> not just webgl
<awygle> o :( i don't know anything about the different versions honestly
<awygle> oh yeah no UBOs in webgl 1
<awygle> ... and no instanced drawing
<awygle> butts.
<awygle> how widely deployed is webgl 2?
<awygle> hm that could be a lot worse
<awygle> oh well it's out of my brain now, that's the important thing
hitomi2504 has joined #nmigen
emeb has quit [Quit: Leaving.]
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to gha [+0/-0/±1] https://git.io/JJWFw
<_whitenotifier-b> [nmigen/nmigen] whitequark 3934865 - CI: replace Travis with GitHub Actions.
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to gha [+0/-0/±1] https://git.io/JJWFr
<whitequark> ugh, yaml is an abomination
<_whitenotifier-b> [nmigen/nmigen] whitequark d7090a0 - CI: replace Travis with GitHub Actions.
<whitequark> and github doesn't even explain what the syntax error is
<whitequark> oh fucking hel
<whitequark> i actually copied that from the readme
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to gha [+0/-0/±1] https://git.io/JJWFb
<_whitenotifier-b> [nmigen/nmigen] whitequark eca7dcd - CI: replace Travis with GitHub Actions.
<whitequark> ah it's because the error is on the *next* line and not the one it says it is
chipmuenk has joined #nmigen
hitomi2505 has joined #nmigen
hitomi2504 has quit [Ping timeout: 258 seconds]
jeanthom has quit [Ping timeout: 240 seconds]
Asu has joined #nmigen
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to gha [+0/-0/±1] https://git.io/JJWbV
<_whitenotifier-b> [nmigen/nmigen] whitequark 79c6f60 - CI: replace Travis with GitHub Actions.
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to gha [+0/-0/±1] https://git.io/JJWb6
<_whitenotifier-b> [nmigen/nmigen] whitequark b109184 - CI: replace Travis with GitHub Actions.
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to gha [+0/-0/±1] https://git.io/JJWNq
<_whitenotifier-b> [nmigen/nmigen] whitequark 3c8f19b - CI: replace Travis with GitHub Actions.
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to gha [+0/-0/±1] https://git.io/JJWNZ
<_whitenotifier-b> [nmigen/nmigen] whitequark 1644f3c - CI: replace Travis with GitHub Actions.
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to gha [+0/-0/±1] https://git.io/JJWNV
<_whitenotifier-b> [nmigen/nmigen] whitequark 323f28d - CI: replace Travis with GitHub Actions.
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to gha [+0/-0/±1] https://git.io/JJWNM
<_whitenotifier-b> [nmigen/nmigen] whitequark c4b4648 - CI: replace Travis with GitHub Actions.
chipmuenk1 has joined #nmigen
chipmuenk has quit [Ping timeout: 256 seconds]
chipmuenk1 is now known as chipmuenk
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to master [+0/-1/±1] https://git.io/JJWAw
<_whitenotifier-b> [nmigen/nmigen] whitequark d698259 - CI: replace Travis with GitHub Actions.
<_whitenotifier-b> [nmigen/nmigen] whitequark deleted branch gha
<_whitenotifier-b> [nmigen] whitequark closed issue #445: Replace Travis CI with GH Actions - https://git.io/JJWiF
<_whitenotifier-b> [nmigen] whitequark deleted branch gha - https://git.io/JJJOy
<_whitenotifier-b> [nmigen/nmigen] github-actions[bot] pushed 1 commit to gh-pages [+0/-0/±13] https://git.io/JJWA6
<_whitenotifier-b> [nmigen/nmigen] whitequark b8aecc6 - Deploying to gh-pages from @ d69825988bd89d742ea9e214ffc40838578034e2 🚀
jeanthom has joined #nmigen
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to master [+0/-1/±1] https://git.io/JJWxL
<_whitenotifier-b> [nmigen/nmigen] whitequark 19ef84e - CI: replace Travis with GitHub Actions.
<_whitenotifier-b> [nmigen/nmigen] github-actions[bot] pushed 1 commit to gh-pages [+0/-0/±11] https://git.io/JJWxm
<_whitenotifier-b> [nmigen/nmigen] whitequark b79e9ed - Deploying to gh-pages from @ 19ef84e73045cf43e2ab0b6830fbc068fa6b8833 🚀
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to master [+0/-1/±1] https://git.io/JJWxC
<_whitenotifier-b> [nmigen/nmigen] whitequark c86aaa2 - CI: replace Travis with GitHub Actions.
<_whitenotifier-b> [nmigen/nmigen] github-actions[bot] pushed 1 commit to gh-pages [+0/-0/±11] https://git.io/JJWx4
<_whitenotifier-b> [nmigen/nmigen] whitequark 7202336 - Deploying to gh-pages from @ c86aaa29cc485100f8693f38933f35c461425e0e 🚀
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to master [+0/-1/±1] https://git.io/JJWxK
<_whitenotifier-b> [nmigen/nmigen] whitequark d71e19e - CI: replace Travis with GitHub Actions.
<_whitenotifier-b> [nmigen/nmigen-soc] whitequark pushed 1 commit to gha [+1/-1/±0] https://git.io/JJWxi
<_whitenotifier-b> [nmigen/nmigen-soc] whitequark e352e2d - CI: replace Travis with GitHub Actions.
<_whitenotifier-b> [nmigen/nmigen] github-actions[bot] pushed 1 commit to gh-pages [+0/-0/±11] https://git.io/JJWxX
<_whitenotifier-b> [nmigen/nmigen] whitequark 7a85368 - Deploying to gh-pages from @ d71e19e27c2a57037c30b838b13d30426a2173f6 🚀
<_whitenotifier-b> [nmigen/nmigen-soc] whitequark pushed 1 commit to master [+1/-1/±0] https://git.io/JJWxy
<_whitenotifier-b> [nmigen/nmigen-soc] whitequark e352e2d - CI: replace Travis with GitHub Actions.
<_whitenotifier-b> [nmigen-soc] whitequark deleted branch gha - https://git.io/JJWxS
<_whitenotifier-b> [nmigen/nmigen-soc] whitequark deleted branch gha
jeanthom has quit [Ping timeout: 256 seconds]
<_whitenotifier-b> [nmigen/nmigen-stdio] whitequark pushed 1 commit to master [+0/-0/±1] https://git.io/JJWhy
<_whitenotifier-b> [nmigen/nmigen-stdio] whitequark 01eb8fd - Update .gitignore.
<_whitenotifier-b> [nmigen-boards] rroohhh reviewed pull request #88 commit - https://git.io/JJWjY
<_whitenotifier-b> [nmigen-boards] rroohhh synchronize pull request #88: Travis: set up CI builds - https://git.io/JJWeh
<_whitenotifier-b> [nmigen-boards] whitequark reviewed pull request #88 commit - https://git.io/JJWjW
<_whitenotifier-b> [nmigen/nmigen-boards] whitequark pushed 1 commit to master [+0/-0/±2] https://git.io/JJWjR
<_whitenotifier-b> [nmigen/nmigen-boards] whitequark 01c10b0 - tinyfpga_axN: use vendor.lattice_machxo2, not .lattice_machxo_2_3l.
<_whitenotifier-b> [nmigen-boards] rroohhh synchronize pull request #88: Travis: set up CI builds - https://git.io/JJWeh
<_whitenotifier-b> [nmigen-boards] rroohhh edited pull request #88: CI: Setup github actions - https://git.io/JJWeh
<jfng> awygle: nice ! perhaps https://github.com/psurply/dwfv could be of interest to you ?
<jfng> it only has a TUI for now, though
<d1b2> <edbordin> cr1901_modern so, imagine my surprise when I can make a bunch of symbiyosys test cases pass on windows. from what I gather looking at your old PR, the issues come when you try to kill a running job right?
<whitequark> jfng: nice
<whitequark> edbordin: fyi, I vetoed that PR back in the day, but I didn't have a solution offhand then
<whitequark> if the PR is rebased on sby master I think I can write the Windows code that is required to get it merged
<d1b2> <edbordin> whitequark yup, I got the backstory involving a bug in asyncio on windows that is apparently unresolved
<d1b2> <edbordin> funnily enough I'm now hitting issues on darwin in CI that I didn't get locally
<d1b2> <edbordin> oh I'm definitely happy to rebase that PR if it helps you
<whitequark> edbordin: great, if you do that I'll volunteer to do the trick necessary to avoid shelling out
<cr1901_modern> >I vetoed that PR back in the day
<cr1901_modern> Is that why nobody offered any public feedback?
<cr1901_modern> edbordin: There were two issues
<d1b2> <edbordin> cr1901_modern seeing as you did most of the work so far are you happy for me to help out or would you rather keep running with it?
<cr1901_modern> edbordin: By all means, feel free to help out.
<cr1901_modern> One issue is discussed here: https://bugs.python.org/issue37381
<cr1901_modern> The other issue is on Windows there isn't a working async ctrl+c handler
<cr1901_modern> in python
<d1b2> <edbordin> that...explains some things I've observed using python on windows
<d1b2> <edbordin> namely, giant stack traces when pressing ctrl+c
<cr1901_modern> Anyways for various reasons it became impossible for me to work on getting this merged and if I were to do it again at this point, I would restart from the beginning
<cr1901_modern> "The Hard Way" is also a correct way to do this
<cr1901_modern> Which isn't quite as difficult as I make it out to be, I just _really_ didn't want to do it
<d1b2> <edbordin> well, given it is now approaching my bedtime I won't dive into anything right now
<d1b2> <edbordin> but I seem to be torn between whitequark saying we can make it work and cr1901_modern saying we should start again 😛
<whitequark> edbordin: i'm only talking about the taskkill part
<whitequark> i can do the ctypes thing, it's not hard
<cr1901_modern> I'm confused about the ctypes thing
<cr1901_modern> if you go the async route, do we need ctypes?
<cr1901_modern> I thought ctypes was only used if we do things "The Hard Way" in the linked GH comment.
<cr1901_modern> whitequark: To be clear: _AFAIR_, the taskkill thing never appeared until I tried the async approach
<d1b2> <edbordin> perhaps whitequark is proposing using ctypes to achieve the same effect as taskkill
Lofty has quit [Quit: Love you all~]
<whitequark> exactly
<cr1901_modern> Well, the bug report has a MCVE if you want to start w/ that
<d1b2> <edbordin> I know this would never fly but it would be pretty easy to just pull this package in and call it day >_< https://pypi.org/project/psutil/
<d1b2> <edbordin> (I can see the lack of pip infrastructure means it would in fact not be easy to "just" pull it in)
ZirconiumX has joined #nmigen
ZirconiumX is now known as Lofty
<_whitenotifier-b> [nmigen] whitequark commented on issue #441: PS7 block not initialized on series-7 Zynq targets - https://git.io/JJlUU
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 1 commit to cxxsim [+0/-0/±1] https://git.io/JJlUZ
<_whitenotifier-b> [nmigen/nmigen] whitequark 1f8ba74 - wip (#439)
<_whitenotifier-b> [nmigen] whitequark commented on issue #439: fsm_state changes mid cycle - https://git.io/JJlUC
<_whitenotifier-b> [nmigen] whitequark closed issue #439: fsm_state changes mid cycle - https://git.io/JJcGX
lkcl_ has joined #nmigen
lkcl has quit [Ping timeout: 256 seconds]
nurelin has quit [Remote host closed the connection]
emily has quit [Remote host closed the connection]
cstrauss[m] has quit [Remote host closed the connection]
jfng has quit [Remote host closed the connection]
enick_401 has joined #nmigen
jfng has joined #nmigen
nurelin has joined #nmigen
cesar[m]1 has joined #nmigen
<_whitenotifier-b> [nmigen] whitequark commented on issue #440: Wrong timestep with mixed clock edge ticks within pysim - https://git.io/JJlLe
<_whitenotifier-b> [nmigen] whitequark closed issue #440: Wrong timestep with mixed clock edge ticks within pysim - https://git.io/JJcZT
Asu has quit [Remote host closed the connection]
Asu has joined #nmigen
Asu has quit [Remote host closed the connection]
Asu has joined #nmigen
Asu has quit [Remote host closed the connection]
Asu has joined #nmigen
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 2 commits to master [+0/-0/±2] https://git.io/JJlY1
<_whitenotifier-b> [nmigen/nmigen] whitequark 1321c45 - sim._pycoro: avoid spurious wakeups.
<_whitenotifier-b> [nmigen/nmigen] whitequark 7aedb3e - back.rtlil: lower maximum accepted wire size.
<_whitenotifier-b> [nmigen/nmigen] github-actions[bot] pushed 1 commit to gh-pages [+0/-0/±13] https://git.io/JJlYF
<_whitenotifier-b> [nmigen/nmigen] whitequark 794aa62 - Deploying to gh-pages from @ 7aedb3e77045e865ea8e676b4a6616d03599a3ad 🚀
<_whitenotifier-b> [nmigen] whitequark commented on issue #440: Wrong timestep with mixed clock edge ticks within pysim - https://git.io/JJlOU
<_whitenotifier-b> [nmigen/nmigen] whitequark pushed 8 commits to cxxsim [+3/-0/±13] https://git.io/JJl3G
<_whitenotifier-b> [nmigen/nmigen] whitequark d22ec02 - _toolchain.cxx: new toolchain.
<_whitenotifier-b> [nmigen/nmigen] whitequark 6519000 - wip
<_whitenotifier-b> [nmigen/nmigen] whitequark 554a57c - wip
<_whitenotifier-b> [nmigen/nmigen] ... and 5 more commits.
<_whitenotifier-b> [nmigen] cestrauss commented on issue #439: fsm_state changes mid cycle - https://git.io/JJl30
proteus-guy has quit [Ping timeout: 258 seconds]
<_whitenotifier-b> [nmigen] cestrauss commented on issue #439: fsm_state changes mid cycle - https://git.io/JJlsr
<_whitenotifier-b> [nmigen] whitequark reopened issue #439: fsm_state changes mid cycle - https://git.io/JJcGX
hitomi2505 has quit [Ping timeout: 265 seconds]
chipmuenk has quit [Quit: chipmuenk]
proteus-guy has joined #nmigen
emeb has joined #nmigen
Asu has quit [Quit: Konversation terminated!]
Kekskruemel has joined #nmigen
Kekskruemel_ has joined #nmigen
Kekskruemel has quit [Client Quit]
Kekskruemel_ has quit [Quit: Leaving]
Kekskruemel has joined #nmigen
Kekskruemel_ has joined #nmigen
Kekskruemel_ has quit [Client Quit]
<Kekskruemel> whitequark: thanks for fixing the bug!
Kekskruemel has quit [Quit: Leaving]
<d1b2> <286Tech> Can I use initial statements in nmigen?
<TD-Linux> just give your Signal() a default value
<awygle> Signal(reset=1)
<awygle> for example
<d1b2> <286Tech> Yes, that's the reset value.
<d1b2> <286Tech> But I mean initial in the formal verification sense.
<awygle> oh sure
<awygle> Initial
<d1b2> <286Tech> For example, I want to do the initial assert bla Verilog equivalent in nmigen.
<awygle> in the same module as Past, Stable, Rose, Fell, etc
<d1b2> <286Tech> Yeah I found it, but that's not exactly what I mean.
<d1b2> <286Tech> It's just 1 at the first cycle of model checking, and 0 otherwise.
<awygle> you probably have to do it manually. if Initial() Assume(signal == value)
<d1b2> <286Tech> Ah ok
<awygle> (which i expect is a direct mapping to what Yosys supports)
<d1b2> <286Tech> Let's see if that works 🙂
<awygle> or well you said `initial assert` so itd be `if Initial(): Assert` not Assume but you could probably have figured that out lol
<d1b2> <286Tech> Well like I said before, you can do initial assert bla, but I don't know if that's what will be generated with your suggestion. Time to find out 😄
<d1b2> <286Tech> Ok, so nmigen uses yosys's $initstate system verilog task to generate statements equivalent to initial blocks from what I can tell at a first glance.
<d1b2> <286Tech> And it seems to work, but I'll check it out in more depth tomorrow after I get some sleep 🙂
<d1b2> <286Tech> Good night peeps!
<awygle> night :)
<_whitenotifier-b> [nmigen] programmerjake commented on issue #443: add API to get simulation time for debugging - https://git.io/JJliY