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 TBD
sakirious5 has joined #nmigen
sakirious has quit [Read error: Connection reset by peer]
sakirious5 is now known as sakirious
<agg> mubes: you'll want platform.add_file("path/to/file.v") to include the verilog in the build, and then inst = m.submodules.inst = Instance("INSTANCE_NAME", p_PARAM=val, a_ATTRIB=val, i_INPUT=signal, o_OUTPUT_signal) to wire it up
<d1b2> <mubes> perfect, thank you. Is this stuff documented anywhere? I looked in nmigen/hdl/ir.py but there's not so much in the way of docs in there....don't want to be hassling here if I can pick the stuff up online somewhere.
<agg> there's examples/basic/inst.py but it doesn't have add_file
<d1b2> <mubes> ta
<d1b2> <mubes> I think that's where I'd got stuck, couldn't see how to pull in the code itself.
<agg> if you have an existing large verilog build that's already all set up, and you just want luna usb, it seems like exporting luna as verilog and using that in your build will be simplest, at a guess
<agg> just because otherwise you need to get an nmigen build set up, but if you don't have that much verilog or if your board is a dev board in nmigen-boards that might be pretty quick.
<agg> (that said, if you're interested in doing things in nmigen it's well worth getting the build set up there instead i would say)
lf has quit [Ping timeout: 264 seconds]
lf_ has joined #nmigen
<d1b2> <mubes> I think I'm going to head the integrate-into-nmigen route for ease...eventually I'll want a soc in there too. I have both nmigen and verilog builds up and running so this is exactly the fork in the path point.
Bertl_oO has quit [Ping timeout: 246 seconds]
peeps[zen] has joined #nmigen
peepsalot has quit [Ping timeout: 246 seconds]
peeps[zen] is now known as peepsalot
ktemkin_ has joined #nmigen
ktemkin has quit [Ping timeout: 256 seconds]
carlomaragno has quit [Ping timeout: 256 seconds]
ktemkin_ is now known as ktemkin
carlomaragno has joined #nmigen
ktemkin has quit [Ping timeout: 246 seconds]
ktemkin has joined #nmigen
Bertl_oO has joined #nmigen
lkcl has quit [Ping timeout: 264 seconds]
electronic_eel has quit [Ping timeout: 256 seconds]
electronic_eel has joined #nmigen
Degi_ has joined #nmigen
lkcl has joined #nmigen
Degi has quit [Ping timeout: 256 seconds]
Degi_ is now known as Degi
PyroPeter_ has joined #nmigen
PyroPeter has quit [Ping timeout: 260 seconds]
PyroPeter_ is now known as PyroPeter
peepsalot has quit [Ping timeout: 246 seconds]
peeps has joined #nmigen
peepsalot has joined #nmigen
peeps has quit [Ping timeout: 264 seconds]
jjeanthom has joined #nmigen
jjeanthom has quit [Ping timeout: 256 seconds]
Bertl_oO is now known as Bertl_zZ
yuriks_ has joined #nmigen
yuriks has quit [Ping timeout: 256 seconds]
yuriks_ is now known as yuriks
PyroPeter has quit [Ping timeout: 256 seconds]
PyroPeter has joined #nmigen
emeb_mac has quit [Quit: Leaving.]
nengel has joined #nmigen
nengel has quit [Quit: gone afk]
chipmuenk has joined #nmigen
lkcl has quit [Ping timeout: 272 seconds]
lkcl has joined #nmigen
lkcl has quit [Ping timeout: 264 seconds]
lkcl has joined #nmigen
nengel has joined #nmigen
richbridger has joined #nmigen
nengel has quit [Quit: gone afk]
<_whitenotifier> [nmigen] nickoe commented on pull request #584: Fixup symbiflow toolchain for xilinx 7series - https://git.io/JtWjM
FFY00 has quit [Ping timeout: 240 seconds]
Bertl_zZ is now known as Bertl
nengel has joined #nmigen
lkcl has quit [Ping timeout: 256 seconds]
lkcl has joined #nmigen
jjeanthom has joined #nmigen
emeb_mac has joined #nmigen
jjeanthom has quit [Ping timeout: 264 seconds]
SpaceCoaster_ has joined #nmigen
SpaceCoaster has quit [Ping timeout: 272 seconds]
jjeanthom has joined #nmigen
FFY00 has joined #nmigen
rohitksingh has quit [Read error: Connection reset by peer]
rohitksingh has joined #nmigen
alanvgreen has quit [Read error: Connection reset by peer]
alanvgreen has joined #nmigen
<nickoe> mmm, anyone who know what to put in the template for this comment? https://github.com/SymbiFlow/symbiflow-examples/issues/123#issuecomment-769025271
FFY00 has quit [Read error: Connection reset by peer]
FFY00 has joined #nmigen
nengel has quit [Quit: Bye]
Bertl is now known as Bertl_oO
<nickoe> ok, I sorta fixed that, but I am having problems with the flashing code using the correct path to the bit file..
<_whitenotifier> [nmigen] nickoe edited pull request #584: Fixup symbiflow toolchain for xilinx 7series - https://git.io/JtWqJ
<_whitenotifier> [nmigen] nickoe commented on pull request #584: Fixup symbiflow toolchain for xilinx 7series - https://git.io/JtlE0
* nickoe waves to esden
<esden> nickoe: o/ :)
<nickoe> esden: I was just watching your "let me poke with nmigen" the other day :) But I tried to use symbiflow for the artix7, but not yet quite mmm, working. I have some issues with the flashing stuff not using the correct path to the bin file.
chipmuenk has quit [Quit: chipmuenk]
jjeanthom has quit [Ping timeout: 246 seconds]
feldim2425_ has joined #nmigen
Yatekii has quit [Remote host closed the connection]
feldim2425 has quit [Read error: Connection reset by peer]
feldim2425_ is now known as feldim2425
Yatekii has joined #nmigen
vup has quit [Remote host closed the connection]
vup has joined #nmigen
esden has quit [Ping timeout: 272 seconds]
esden has joined #nmigen
tannewt has quit [Ping timeout: 264 seconds]
tannewt has joined #nmigen
<d1b2> <mubes> Folks, sorry to trouble again, but I'm finding all of this quite hard going, still on the cliff-face I guess. I've now managed to get my verilog integrated with nmigen, but I need to feed it with DDR inputs. These are on a PMOD (bits 1..4, clk on bit 0). I can see that the correct modules are called up via get_input down to get_iddr which instantiates a IDDRX1F for each bit, but for the life of me I can't figure out what I'm supposed to have in my
<d1b2> platform resources to trigger all of that magic to happen..indeed, I've defined by pmod's as Resources cos I can't see how to access them as connectors at all. Can someone please help me out or point me at some doc or examples?