ronyrus has quit [Remote host closed the connection]
proteus-dude has joined #nmigen
_whitelogger has joined #nmigen
_whitelogger has joined #nmigen
<ktemkin>
hmm -- it might be nice to have a clean idiom for passing around clock attributes (like the frequency of a domain's clock signal); that'd allow for nice, clean declarations like `u = UARTReceiver(baud=115200)`
<ktemkin>
though I imagine that'd be tricky to implement without also creating a confusing mechanic, given the way clock domains are created
Asu has joined #nmigen
ronyrus has joined #nmigen
ronyrus has quit [Remote host closed the connection]
Asu has quit [Remote host closed the connection]
Asu has joined #nmigen
<awygle>
ugh still can't get diamond backend to work
<awygle>
probably shoulda just set up a red hat/fedora VM
<cr1901_modern>
This is what I had to do to get pnmainc working
<awygle>
yosys is picking up the wrong libc++ now i think
<cr1901_modern>
Okay, that's a problem then :/
<cr1901_modern>
These are my notes for dealing w/ diamond paths. I was trying to add autodetection to omigen, but eventually they dropped all the autodetection stuff: http://ix.io/1rj5
<cr1901_modern>
diamond_env sets LD_LIBRARY_PATH, and yosys will need to run to convert the RTLIL to Verilog
<cr1901_modern>
Prob worth opening an issue for this
<cr1901_modern>
awygle: Could you generate the build inputs but not run diamond, and then paste the shell script for me?
<awygle>
i can try, gimme a sec
<cr1901_modern>
awygle: Actually I found the lines I want
<_whitenotifier-3>
[nmigen] rroohhh opened issue #320: Unclear error message on direction mismatch between Instance in submodule and toplevel usage - https://git.io/Jv8fh
<_whitenotifier-3>
[nmigen] whitequark commented on issue #320: Unclear error message on direction mismatch between Instance in submodule and toplevel usage - https://git.io/Jv8fj
Asu has quit [Ping timeout: 268 seconds]
<awygle>
the o->n conversion of Signal(max=N) should be Signal(range(N)), right?
<whitequark>
yes
<whitequark>
(it says that in the deprecation warning, no?)
<awygle>
i just got an explosion, not a deprecation warning. but i'm messing around in nmigen.compat, so that's probably why
<awygle>
(by explosion i mean "unexpected keyword argument" error)
<whitequark>
awygle: ok, i have diamond working
<awygle>
oh sweet
<whitequark>
`fakeroot alien --scripts x.rpm` is just fine
<whitequark>
not sure what broke for you
<awygle>
on what linux distro?
<whitequark>
debian
<awygle>
i didn't use fakeroot i just used Actual Root, lemme try with fakeroot and see if that helps...
<whitequark>
mostly packages from stable (everything diamond depends on should be from stable, anyway_
<whitequark>
the diamond GUI runs
<whitequark>
let me check nmigen now
<whitequark>
awygle: i can reproduce your crash
<whitequark>
awygle: sigh
<whitequark>
awygle: for x in /usr/local/diamond/3.11_x64/synpbase/bin/*; do [ -f $x ] && sudo sed 's,#!/bin/sh,#!/bin/bash,' -i $x; done
<emily>
hey come on at least do /usr/bin/env bash
<awygle>
Jesus. Arright lol
<whitequark>
emily: pointless
<whitequark>
the rest of it is still full of absolute paths
<whitequark>
awygle: applies to 3.10 too iirc
<ktemkin>
oh gods; it's 2020 and we're still getting bitten by the "everyone links /bin/sh to bash except debian who links to dash by default" thing?
<ktemkin>
life hack: put the blinders back on and `dpkg-reconfigurure dash` your way to `bash` being your `/bin/sh`~