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 August 17th
emeb_mac has quit [Ping timeout: 240 seconds]
emeb has quit [Ping timeout: 256 seconds]
emeb_mac has joined #nmigen
emeb has joined #nmigen
emeb has quit [Ping timeout: 256 seconds]
emeb has joined #nmigen
Degi has quit [Ping timeout: 240 seconds]
Degi has joined #nmigen
electronic_eel has quit [Ping timeout: 256 seconds]
electronic_eel_ has joined #nmigen
emeb has quit [Quit: Leaving.]
jeanthom has joined #nmigen
jeanthom has quit [Ping timeout: 260 seconds]
jeanthom has joined #nmigen
jeanthom has quit [Ping timeout: 246 seconds]
jaseg has quit [Ping timeout: 260 seconds]
jaseg has joined #nmigen
electronic_eel_ has quit [Ping timeout: 240 seconds]
electronic_eel has joined #nmigen
PyroPeter_ has joined #nmigen
PyroPeter has quit [Ping timeout: 264 seconds]
PyroPeter_ is now known as PyroPeter
<tannewt> anyone have experience getting diamond going with nmigen on arch linux? pnmainc exits with code 255 for me
<cr1901_modern> tannewt: _Possibly_ relevant: https://github.com/nmigen/nmigen/pull/410#issuecomment-647472577
<tannewt> thanks!
<tannewt> ooooh, I get output now
<cr1901_modern> Setting up diamond properly is kinda garbage IMO
<tannewt> yuuuuup. that's why I'm willing to help with the open tools
_whitelogger has joined #nmigen
zignig_ has joined #nmigen
zignig has quit [Ping timeout: 240 seconds]
emeb_mac has quit [Quit: Leaving.]
Asu has joined #nmigen
<ktemkin> for reference, Arch is where I run Diamond; both with nMigen and otherwise
<ktemkin> it works out of the box as long as you have the right environment file source’ing
<ktemkin> I can help with that when I’m awake if you run into more troubles
emily has quit [Quit: killed]
nurelin has quit [Quit: killed]
cesar[m] has quit [Quit: killed]
anu3jn has quit [Quit: killed]
jfng has quit [Quit: killed]
jfng has joined #nmigen
jaseg has quit [Ping timeout: 246 seconds]
jaseg has joined #nmigen
cesar[m] has joined #nmigen
anu3jn has joined #nmigen
nurelin has joined #nmigen
emily has joined #nmigen
<zignig_> ktemkin: I finally have luna_acm and a boneless running at 12Mhz on my tinybx.
<zignig_> just the echo for now, not hooked together. That is next.
zignig_ is now known as zignig
d1b22 has joined #nmigen
d1b2 has quit [Read error: Connection reset by peer]
d1b22 is now known as d1b2
jeanthom has joined #nmigen
daknig has joined #nmigen
daknig is now known as DaKnig
DaKnig has left #nmigen [#nmigen]
DaKnig has joined #nmigen
Asu has quit [Remote host closed the connection]
Asu has joined #nmigen
hitomi2507 has joined #nmigen
<tucanae47_> hello guys, i have been trying to put together an example of wishbone bridge like https://github.com/im-tomu/fomu-workshop/blob/master/litex/workshop_rgb.py#L37 in the fomu workshop(i want to do the same without a soc cpu), im trying to learn how to use wishbone with nmigen, but almost everything is wrriten inside soc libraries and im having a hard time to understand, i tried to isolate the wishbone bus funcaionality
<tucanae47_> with using a core from fomu-workshop here https://trinket.io/python/4ab7de47af but im doing something wrong and i think i dont need csr for this, but is hard to isolate for me. any hints, tips?
<tucanae47_> hello guys, i have been trying to put together an example of wishbone bridge like https://github.com/im-tomu/fomu-workshop/blob/master/litex/workshop_rgb.py#L37 in the fomu workshop(i want to do the same without a soc cpu), im trying to learn how to use wishbone with nmigen, but almost everything is wrriten inside soc libraries and im having a hard time to understand, i tried to isolate the wishbone bus funcionality
<tucanae47_> here https://trinket.io/python/4ab7de47af but im doing something wrong and i think i dont need csr for this, but is hard to isolate for me. any hints, tips?
<tucanae47_> (sorry for duplicated msg)
<zignig> tucanae47_: mifune has been looking at that, https://twitter.com/mifune/status/1289954784988954630
<tucanae47_> thanks thats helpful, from that seems luna seems also an option, havent tried it yet, wondering if that setup works with https://github.com/litex-hub/wishbone-utils/tree/master/wishbone-tool
<jeanthom> tucanae47_, https://github.com/jeanthom/gram/blob/master/examples/uartbridge.py I have a UART <-> Wishbone bridge that works with wishbone-tool
<jeanthom> I never tried LUNA's CDC-ACM though
<tucanae47_> @jeanthom thanks! will try :)
<d1b2> <286Tech> Is there a way to create 2D arrays of signals? I have a list of signals, but I cannot index it with a signal.
<zignig> d1b2: how did you want that back ? the selected signal in a single register ?
<d1b2> <286Tech> Ah, apparently an Array type exists for this purpose.
DaKnig has left #nmigen ["WeeChat 2.9"]
DaKnig has joined #nmigen
<zignig> slowing the core down to 12Mhz has blown out zignigs bootloader sequence.
* zignig is compensating.
<zignig> time.sleep FTW !
<zignig> and a longer fifo.
<d1b2> <286Tech> Hmm, I'm getting an assertion error assert defs[sig] is self in ir.py, but I don't quite understand why.
<d1b2> <286Tech> I'm just connecting some signals to some outputs.
<d1b2> <286Tech> If I comment out the part where I connect signals to OLED pins, then there's no error.
<vup> @286Tech that happens when there is a direction mismatch somewhere, maybe the OLED pins have the wrong directron in the board file or something like that
<vup> *direction
<d1b2> <286Tech> Yeah, that could be. Let me double check
<d1b2> <286Tech> Yup, I forgot to add dir="o" to the Pins.
<d1b2> <286Tech> Thank you 🙂
<tannewt> ktemkin: I got it working if I switched from pnmainc to diamondc. I don't have any environment variables. I just copied the license to the default path
emeb has joined #nmigen
jeanthom has quit [Ping timeout: 256 seconds]
jeanthom has joined #nmigen
hitomi2507 has quit [Quit: Nettalk6 - www.ntalk.de]
TiltMeSenpai has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
tannewt_ has joined #nmigen
pdp7_ has joined #nmigen
pdp7 has quit [*.net *.split]
tannewt has quit [*.net *.split]
_whitenotifier-b has quit [*.net *.split]
tannewt_ is now known as tannewt
pdp7_ is now known as pdp7
* whitequark misread "pnmainc ... diamondc" as "pandemicc"
<whitequark> would be an interesting compiler
<tannewt> :-)
emily has quit [Write error: Connection reset by peer]
nurelin has quit [Remote host closed the connection]
anu3jn has quit [Remote host closed the connection]
cesar[m] has quit [Remote host closed the connection]
jfng has quit [Remote host closed the connection]
jfng has joined #nmigen
<ktemkin> pandemicc sounds like it’s a frontend for about half of many languages
<whitequark> mhm
<ktemkin> or a multi-FPGA HLS engine that targets being able to compile half of the C standard
anu3jn has joined #nmigen
cesar[m] has joined #nmigen
emily has joined #nmigen
nurelin has joined #nmigen
<tpw_rules> ktemkin: augh
<tannewt> ktemkin: what is in your diamond environment file?
<d1b2> <Chips4Makers> @Kate Temkin: that HLS engine is called BAMBU
<whitequark> tannewt: export NMIGEN_ENV_Diamond=/usr/local/diamond/3.10_x64/bin/lin64/diamond_env
<whitequark> this should've been in the docs but it seems i forgot to put it in
<tannewt> 👍
<whitequark> (adjust for your version/bitness accordingly)
<tannewt> thanks!
reepca has joined #nmigen
<cr1901_modern> whitequark: This does not work for Windows (when changing the paths appropriately); there is no diamond_env.bat. I point to this script instead:
<cr1901_modern> @echo off
<cr1901_modern> set PATH=C:\lscc\diamond\3.11_x64\bin\nt64;%PATH%
<cr1901_modern> Which works fine. Worth putting in the docs?
<cr1901_modern> Or is this "you're on your own power-user" territory?
emeb_mac has joined #nmigen
<d1b2> <286Tech> Aaaaaand I've ported the ULX3S OLED example to nMigen as well: https://twitter.com/BitlogIT/status/1293654444803072000
<d1b2> <286Tech> The OLED connector is also not in the ULX3S platform file. I'll create a PR for that too.
_whitenotifier-3 has joined #nmigen
<_whitenotifier-3> [nmigen-boards] GuzTech opened pull request #104: Add OLED connector to ulx3s.py - https://git.io/JJ9Ex
Asu has quit [Remote host closed the connection]