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 September 14th
<d1b2> <Banana Phone> Are there any nmigen vga examples?
<d1b2> <Banana Phone> also could someone explain how clocks work in nmigen
<d1b2> <Banana Phone> sorry for asking all of these basic questions. I'm pretty new to fpgas
jaseg has quit [Ping timeout: 272 seconds]
jaseg has joined #nmigen
PyroPeter_ has joined #nmigen
Degi has quit [Ping timeout: 272 seconds]
PyroPeter has quit [Ping timeout: 272 seconds]
PyroPeter_ is now known as PyroPeter
Degi has joined #nmigen
electronic_eel_ has joined #nmigen
electronic_eel has quit [Ping timeout: 272 seconds]
chipmuenk has joined #nmigen
jjeanthom has joined #nmigen
emeb_mac has quit [Quit: Leaving.]
hitomi2508 has joined #nmigen
tannewt has quit [Ping timeout: 244 seconds]
futarisIRCcloud has quit [Ping timeout: 244 seconds]
esden has quit [Ping timeout: 260 seconds]
gravejac has quit [Ping timeout: 260 seconds]
mithro has quit [Ping timeout: 260 seconds]
Qyriad has quit [Ping timeout: 260 seconds]
yuriks has quit [Ping timeout: 244 seconds]
ktemkin has quit [Ping timeout: 244 seconds]
bubble_buster has quit [Ping timeout: 244 seconds]
tannewt has joined #nmigen
key2 has quit [Ping timeout: 260 seconds]
sorear has quit [Ping timeout: 260 seconds]
daveshah has quit [Ping timeout: 260 seconds]
daveshah has joined #nmigen
mithro has joined #nmigen
futarisIRCcloud has joined #nmigen
sorear has joined #nmigen
Qyriad has joined #nmigen
bubble_buster has joined #nmigen
key2 has joined #nmigen
gravejac has joined #nmigen
esden has joined #nmigen
ktemkin has joined #nmigen
yuriks has joined #nmigen
electronic_eel_ is now known as electronic_eel
Asu has joined #nmigen
Asu has quit [Quit: Konversation terminated!]
Asu has joined #nmigen
cesar[m] has quit [Quit: killed]
jfng has quit [Quit: killed]
emily has quit [Quit: killed]
jjeanthom has quit [Remote host closed the connection]
jjeanthom has joined #nmigen
emily has joined #nmigen
emily has quit [Remote host closed the connection]
nurelin has joined #nmigen
cesar[m]1 has joined #nmigen
jfng has joined #nmigen
emily has joined #nmigen
nurelin has left #nmigen ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
jjeanthom has quit [Ping timeout: 260 seconds]
vup has quit [Ping timeout: 265 seconds]
anuejn has quit [Ping timeout: 258 seconds]
anuejn has joined #nmigen
vup has joined #nmigen
d0nker5 has joined #nmigen
* zignig has a Elaboratable that only works if the Temperature is above 22.5C , considering clock res.
alexhw has quit [Ping timeout: 265 seconds]
<zignig> yep, clock is TOO slow.
emeb has joined #nmigen
alexhw has joined #nmigen
hitomi2508 has quit [Quit: Nettalk6 - www.ntalk.de]
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
Lord_Nightmare has joined #nmigen
jjeanthom has joined #nmigen
chipmuenk has quit [Quit: chipmuenk]
jjeanthom has quit [Ping timeout: 260 seconds]
<mithro> ktemkin: Where does the "serial USB ACM" example using LUNA live? I'm having trouble finding it in the docs?
<mithro> ktemkin: Searching for acm doesn't seem to turn up anything?
<ktemkin> the examples are all in that folder
BracketMaster has joined #nmigen
anuejn has quit [Quit: No Ping reply in 180 seconds.]
anuejn has joined #nmigen
<mithro> ktemkin: Not urgent - https://github.com/greatscottgadgets/luna/issues/72 :-)
BracketMaster has quit [Ping timeout: 245 seconds]
<awygle> ktemkin: is usb-PD in scope for Luna?
<ktemkin> awygle: gateware? yes; especially once the USB3 work is done
<ktemkin> hardware? not until after I start selling the inexpensive USB2 design and start designing a much-more-expensive-but-USB3-and-friends one
<awygle> I meant gateware in this case. Good to know! Thanks
chipmuenk has joined #nmigen
emeb_mac has joined #nmigen
<tpw_rules> this may be fixed in a later version but with m.If(blah): with m.Elif(blah2): does not raise a SyntaxError("Elif without preceding If")?
<tpw_rules> well more correctly m.If(blah):\n\twith m.Elif(blah2):
<awygle> huh, indeed it does not, even in my fairly-recent checkout
<awygle> oof i thought this might be an easy fix but the way the context managers are implemented is a bit beyond me
<awygle> at least without spending a bit more time
<tpw_rules> i could file a bug on github if that helps
<awygle> go for it :) then we won't lose track of it (even if wq comes back and says "yeah this is impossible because <complicated python stuff>")
<d1b2> <EmilJ> current status: I want to get nmigen running on my Pynq-Z2, so I am editing nmigen-zynq, which only supports Zynq Ultrascale+ MPSoC to support Zynq 7000 (https://github.com/satellogic/nmigen-zynq)
<d1b2> <EmilJ> these series have different processing systems including different naming of things, which is frustrating
<_whitenotifier-f> [nmigen] tpwrules opened issue #500: Elif without If not recognized in nested If - https://git.io/JU0pk
<vup> @EmilJ not sure what you want to do / if this helps you, but anuejn and I have a bunch of zynq 7000 wrapper stuff here: https://github.com/apertus-open-source-cinema/nmigen-gateware/tree/6dca4047e6/src/cores/primitives/xilinx_s7
<tpw_rules> whee i have the 500th problem :D
ademski has joined #nmigen
Asu has quit [Ping timeout: 272 seconds]
<ademski> Hi, I'm trying to instatiate a closed source core as an Instance and i need to propagate diff ref clock (clk_p, clk_n) as port of the top level without any buffer. Is this posible? How can i dissable buffer instatiation for those ports?
chipmuenk has quit [Quit: chipmuenk]
<d1b2> <EmilJ> vup: that looks exactly like what I am doing. Except the way it is done in nmigen-zynq is a big ol' list of strings, naming the primitives, after which they are requested via string. It's kind of awkward and TCLy. Not very snekthonic at all!
<vup> ademski: `dir="-"` when you request it
<ademski> vup: oh, that is easy! thanks!
<d1b2> <EmilJ> what I don't understand in the apertus nmigen gateware project is that I don't see some sort of interface from, for example, EMIO primitives, to the more abstract nmigen IO access - is this wrapper only covering the minimum interfaces needed for the project?
<vup> well
<vup> it uses yosys to dynamically and automatically generate a wrapper for every port of the PS7
<vup> that is why there is no explicit code that mentions EMIO, you can however access it like the axigp / axihp stuff for example
<d1b2> <EmilJ> that's interesting. That's what the yosys JSON parsing utilities do?
<d1b2> <EmilJ> Also I'm surprised that declaring an AXI isn't parametrized to which hardware resource you want, it seems like you'd want to always be working with a specific AXI because you are interfacing with software which expects your module to appear on a specific bus
<d1b2> <EmilJ> (does the IRC bot support edited messages?)
<vup> yep, thats what the yosys json parsing thing is for.
<vup> we have not needed specific AXI port numbers for this yet, the goal is more to automatically generate the software according to the gateware and (dynamically) load that
<vup> for example there is also code that can automatically generate devicetree overlays with the correct address for memory mapped registers
<vup> or code that generates python code to access memory mapped registers by name / hierarchy
<d1b2> <EmilJ> Very cool. I have no idea how devicetree overlays work. The extent of my experience is looking at the zynq datasheet, and loading a LED blinky bitstream (not overlay) from the silly little jupyter notebooks server, which obviously crashed the linux server. But the LED did blink :D
<vup> lol
<d1b2> <EmilJ> How do you get the Zynq to map axi addresses to memory?
<vup> EmilJ there are specific memory regions that get mapped to the axi ports
jjeanthom has joined #nmigen
<ademski> the axi addresses are described at page 112 of the zynq 7000 trm: https://i.imgur.com/rglnzMI.png
<d1b2> <EmilJ> Yeah, I actually have that open right now
<d1b2> <EmilJ> however I was thinking along the lines of virtual memory
<vup> ah, well we just mmap /dev/mem
<d1b2> <EmilJ> so if I write a userspace program under linux which is to access a programmable logic resource, I would use POSIX calls that map the known static address to
<d1b2> <EmilJ> yep exactly
<d1b2> <edbordin> Irc bot doesn't support edited messages because irc itself doesn't support it (the irc server literally just relays messages as they are sent)
ademski has quit [Ping timeout: 260 seconds]
jjeanthom has quit [Ping timeout: 272 seconds]