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 1st & 3rd Monday at 1800 UTC
<whitequark> awygle: poke
cr1901_modern1 has joined #nmigen
cr1901_modern has quit [Ping timeout: 260 seconds]
jeanthom has quit [Ping timeout: 246 seconds]
<whitequark> hmm I wonder if I can make "pyrtl" (the core of pysim) faster with the knowledge gained from writing cxxrtl
Degi has quit [Ping timeout: 256 seconds]
Degi has joined #nmigen
electronic_eel has quit [Ping timeout: 265 seconds]
electronic_eel_ has joined #nmigen
_whitelogger has joined #nmigen
cr1901_modern1 has quit [Quit: Leaving.]
cr1901_modern has joined #nmigen
_whitelogger has joined #nmigen
_whitelogger has joined #nmigen
XgF has joined #nmigen
<_whitenotifier-f> [nmigen] trabucayre opened pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNtd
<_whitenotifier-f> [nmigen] trabucayre synchronize pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNtd
<_whitenotifier-f> [nmigen] whitequark reviewed pull request #408 commit - https://git.io/JfNth
<_whitenotifier-f> [nmigen] trabucayre synchronize pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNtd
<_whitenotifier-f> [nmigen-boards] trabucayre opened pull request #67: tinyfpga_axN: use lattice_machxo_2_3l instead of lattice_machxo2 - https://git.io/JfNqO
<_whitenotifier-f> [nmigen-boards] trabucayre synchronize pull request #66: Add Lattice MachXO3LF Starter Kit - https://git.io/Jfbon
<_whitenotifier-f> [nmigen] codecov[bot] commented on pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNqn
<_whitenotifier-f> [nmigen] codecov[bot] edited a comment on pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNqn
<_whitenotifier-f> [nmigen] codecov[bot] edited a comment on pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNqn
<_whitenotifier-f> [nmigen] codecov[bot] edited a comment on pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNqn
<_whitenotifier-f> [nmigen] codecov[bot] edited a comment on pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNqn
<_whitenotifier-f> [nmigen] codecov[bot] edited a comment on pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNqn
<_whitenotifier-f> [nmigen] codecov[bot] edited a comment on pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNqn
<_whitenotifier-f> [nmigen] codecov[bot] edited a comment on pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNqn
<_whitenotifier-f> [nmigen] codecov[bot] edited a comment on pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNqn
<_whitenotifier-f> [nmigen] codecov[bot] edited a comment on pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNqn
<_whitenotifier-f> [nmigen] whitequark reviewed pull request #408 commit - https://git.io/JfNqb
<_whitenotifier-f> [nmigen] trabucayre synchronize pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNtd
<_whitenotifier-f> [nmigen] codecov[bot] edited a comment on pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNqn
<_whitenotifier-f> [nmigen] codecov[bot] edited a comment on pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNqn
<_whitenotifier-f> [nmigen] codecov[bot] edited a comment on pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNqn
Asu has joined #nmigen
electronic_eel_ is now known as electronic_eel
jeanthom has joined #nmigen
jeanthom has quit [Ping timeout: 240 seconds]
jeanthom has joined #nmigen
<FL4SHK> Can anyone help me with this?
<FL4SHK> I've installed nmigen and nmigen-boards on Arch Linux
<FL4SHK> ah, I don't have pyvcd installed
<FL4SHK> any way to do multiple Verilog modules?
<FL4SHK> also, getting an error upon trying to program the dev board
<FL4SHK> "Can't scan JTAG chain. Error code 89."
<FL4SHK> I'll try rebooting my machine and see if that works
<FL4SHK> well, that doesn't seem to have worked.
electronic_eel has quit [Ping timeout: 256 seconds]
electronic_eel has joined #nmigen
<FL4SHK> next guess: need udev rules
<FL4SHK> that fixed it
<FL4SHK> additional question: any way to use a PLL with nmigen (without having to boot up a Quartus project)
<Lofty> FL4SHK: Instance an altera_pll
<tpw_rules> you still need quartus to calculate the parameters
<tpw_rules> last time i wanted to do that at least
<FL4SHK> Lofty: how do I instance a module in nmigen?
<FL4SHK> does that work for instancing another elaboratable?
<tpw_rules> FL4SHK: it's called an Instance
<tpw_rules> and no it's not for instancing other elaboratables
<tpw_rules> if you have a module that's instantiated in verilog like the_module #(SOME_PARAM = 69) cool_name (.some_output(signal_a), .some_input(signal_b));
<tpw_rules> then you would write it in nmigen as cool_name = Instance("the_module", p_SOME_PARAM=69, o_some_output=signal_a, i_some_input=signal_b)
<tpw_rules> honestly i would just make a PLL megafunction with quartus that's set to your desired output and then just instantiate the resulting module
<whitequark> FL4SHK: is there a reason you're not using pip?
<FL4SHK> whitequark: pip?
<FL4SHK> No, there's not
<FL4SHK> tpw_rules: what if I want to instantiate an elaboratable?
<tpw_rules> then just construct it
<FL4SHK> Oh? Okay.
<FL4SHK> even if there's an `elaborate` function? Does nMigen handle calling that automatically?
<FL4SHK> also, regarding the pll, will nMigen's board things handle the sdc stuff?
<FL4SHK> I honestly might want to just synthesize to Verilog with nMigen and use a Quartus project...
<whitequark> you can add a clock constraint on the PLL output with `platform.add_clock_constranit(out_clk, freq)`
<FL4SHK> that sounds great
<FL4SHK> looks like "altpll" is grayed out
<FL4SHK> seems I might be looking for something else
<FL4SHK> that's really strange
<FL4SHK> I thought I'd be able to use a PLL...
<tpw_rules> do you have a device selected?
<FL4SHK> yeah
<FL4SHK> "Megafunction altpll is not supported by the selected device family (Cyclone V)"
<FL4SHK> oh, I must need Altera_PLL
<FL4SHK> seems I don't *have* that
<FL4SHK> there we go
<FL4SHK> had to get it from the IP catalog
jeanthom has quit [Ping timeout: 265 seconds]
<Lofty> I did say altera_pll explicitly :P
jeanthom has joined #nmigen
<awygle> Hi FL4SHK
<awygle> whitequark: I'm out of town this weekend, very asynchronous
jeanthom has quit [Ping timeout: 265 seconds]
<whitequark> awygle: so it turns out "wasp" and "waspy" are taken
<whitequark> on pypi
FL4SHK has quit [Ping timeout: 265 seconds]
FL4SHK has joined #nmigen
<_whitenotifier-f> [nmigen] whitequark closed pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNtd
<_whitenotifier-f> [nmigen/nmigen] whitequark pushed 1 commit to master [+1/-1/±1] https://git.io/JfNgD
<_whitenotifier-f> [nmigen/nmigen] trabucayre 0aef5f4 - vendor.lattice_machxo*: add MachXO3L support.
<_whitenotifier-f> [nmigen] whitequark commented on pull request #408: vendor/lattice_machxo: suppport machXO3 - https://git.io/JfNgy
<_whitenotifier-f> [nmigen/nmigen] whitequark pushed 1 commit to master [+1/-0/±1] https://git.io/JfNgQ
<_whitenotifier-f> [nmigen/nmigen] whitequark 706eb03 - vendor.lattice_machxo2: add back as a compatibility shim.
<_whitenotifier-f> [nmigen-boards] whitequark closed pull request #67: tinyfpga_axN: use lattice_machxo_2_3l instead of lattice_machxo2 - https://git.io/JfNqO
<_whitenotifier-f> [nmigen/nmigen-boards] whitequark pushed 1 commit to master [+0/-0/±2] https://git.io/JfNg7
<_whitenotifier-f> [nmigen/nmigen-boards] trabucayre 40155cd - tinyfpga_axN: use lattice_machxo_2_3l instead of lattice_machxo2
<_whitenotifier-f> [nmigen-boards] whitequark commented on pull request #67: tinyfpga_axN: use lattice_machxo_2_3l instead of lattice_machxo2 - https://git.io/JfNg5
<_whitenotifier-f> [nmigen-boards] whitequark closed pull request #66: Add Lattice MachXO3LF Starter Kit - https://git.io/Jfbon
<_whitenotifier-f> [nmigen/nmigen-boards] whitequark pushed 1 commit to master [+1/-0/±0] https://git.io/JfNgb
<_whitenotifier-f> [nmigen/nmigen-boards] trabucayre 7153d13 - Add Lattice MachXO3LF Starter Kit
<_whitenotifier-f> [nmigen-boards] whitequark commented on pull request #66: Add Lattice MachXO3LF Starter Kit - https://git.io/JfNgN
<_whitenotifier-f> [nmigen/nmigen-yosys] whitequark pushed 1 commit to master [+0/-0/±2] https://git.io/JfN2Z
<_whitenotifier-f> [nmigen/nmigen-yosys] whitequark 85ab7a8 - Update wasmtime.
jeanthom has joined #nmigen
<awygle> whitequark: meetings sound like a good idea, 10am pst Mondays is a bit tricky for me but I can probably make it work
<whitequark> awygle: yeah it kinda sucks for everyone
<whitequark> i'd be happy to have them at 3am my time but i suspect this would just exclude most europeans
<awygle> every time is gonna suck for somebody. I only have like two things I can't move
<awygle> so I guess I'm saying find the best time you can and I'll accommodate as long as it's not 2pm pst Tuesday
* whitequark nods
<whitequark> so about the name
<FL4SHK> how does `Instance` figure out what file the thing you instantiate is in?
<whitequark> it doesn't
<FL4SHK> then how do I inform it?
<whitequark> the same way you can refer to e.g. functions in C without mentioning the file they're in
<FL4SHK> oh right
<FL4SHK> What do if I want to use nmigen-boards?
<FL4SHK> I may not be able?
<whitequark> sure you can
<whitequark> `with open("foo.v") as f: platform.add_file("foo.v", f)`
<FL4SHK> ah
<awygle> wisp?
<whitequark> very much taken, and collides with WISP
<awygle> No, taken. Wispy?
<whitequark> i was thinking something like YWASP
<awygle> Wusp
<awygle> Wosp
<whitequark> those just sound derpy
<awygle> Yes
<awygle> Uh
<whitequark> shockingly, ywasp is already taken too https://github.com/wendlers/ywasp
<whitequark> but i think we can afford colliding with that one
<awygle> Pywaspy
<whitequark> i don't like having the "py" because the packages won't provide any python libraries
<awygle> Tru
<whitequark> any opinion on "YWASP"? Yosys WebAssembly Synthesis & PNR
jeanthom has quit [Ping timeout: 264 seconds]
<awygle> I don't love it but if it works it's fine
<whitequark> do you have any options you love?
<awygle> The main issue I have with ywasp is how do you pronounce it
<awygle> Needs another vowel. Like, yowasp
<whitequark> hrm
<whitequark> there's OWASP
<whitequark> i guess we collide either way with that
<whitequark> and it's not the same domain
<awygle> Ywasp is fine, I don't think the name of this is hugely important honestly.
<whitequark> okay cool, can use that
<awygle> I gotta drive five hours now
<whitequark> o/
<awygle> Later
<_whitenotifier-f> [nmigen/nmigen-yosys] whitequark pushed 1 commit to master [+0/-0/±2] https://git.io/JfNwJ
<_whitenotifier-f> [nmigen/nmigen-yosys] whitequark 8766711 - Remove importlib_metadata dependency.
<FL4SHK> so I have a little question about `Subsignal`s within a `Resource`
<FL4SHK> I've got a `Resource` called "vga" and a `Subsignal` called "r"
<FL4SHK> can I access this via `platform.request("vga.r", ...)`?
<whitequark> nope; you can only do `vga = platform.request("vga"); vga.r`
<_whitenotifier-f> [nmigen] colepoirier commented on issue #407: AttributeError: module 'importlib.resources' has no attribute 'files' - https://git.io/JfNob
<_whitenotifier-f> [nmigen] whitequark commented on issue #407: AttributeError: module 'importlib.resources' has no attribute 'files' - https://git.io/JfNKc
<_whitenotifier-f> [nmigen] colepoirier commented on issue #407: AttributeError: module 'importlib.resources' has no attribute 'files' - https://git.io/JfNKi
<_whitenotifier-f> [nmigen] whitequark commented on issue #407: AttributeError: module 'importlib.resources' has no attribute 'files' - https://git.io/JfNK9
<_whitenotifier-f> [nmigen] whitequark edited a comment on issue #407: AttributeError: module 'importlib.resources' has no attribute 'files' - https://git.io/JfNK9
<_whitenotifier-f> [nmigen] colepoirier commented on issue #407: AttributeError: module 'importlib.resources' has no attribute 'files' - https://git.io/JfNKd
<_whitenotifier-f> [nmigen/nmigen-yosys] whitequark pushed 1 commit to master [+0/-0/±1] https://git.io/JfNKj
<_whitenotifier-f> [nmigen/nmigen-yosys] whitequark db4407f - [skip ci] Remove the installed shared directory before copying over.
<_whitenotifier-f> [nmigen] whitequark commented on issue #407: AttributeError: module 'importlib.resources' has no attribute 'files' - https://git.io/JfN6T
<whitequark> awygle: oh ffs https://github.com/ywasp
<whitequark> yowasp it is
tpw_rules has left #nmigen ["Textual IRC Client: www.textualapp.com"]
tpw_rules has joined #nmigen
jeanthom has joined #nmigen
<_whitenotifier-f> [nmigen/nmigen-yosys] whitequark pushed 1 commit to master [+0/-0/±1] https://git.io/JfNPo
<_whitenotifier-f> [nmigen/nmigen-yosys] whitequark 53292cb - Update wasmtime.
Asu has quit [Ping timeout: 264 seconds]
jeanthom has quit [Ping timeout: 240 seconds]