whitequark[m] changed the topic of #nmigen to: nMigen hardware description language · code https://github.com/nmigen · logs https://freenode.irclog.whitequark.org/nmigen
emeb has left #nmigen [#nmigen]
<_whitenotifier-5> [YoWASP/yosys] whitequark pushed 1 commit to develop [+0/-0/±1] https://git.io/JqkhG
<_whitenotifier-5> [YoWASP/yosys] whitequark 5eefb7e - Update dependencies.
lf has quit [Ping timeout: 260 seconds]
lf_ has joined #nmigen
<_whitenotifier-5> [nmigen-boards] TomKeddie synchronize pull request #146: butterstick: add board defn for r1.0 - https://git.io/Jqkb2
lkcl has quit [Ping timeout: 240 seconds]
Bertl is now known as Bertl_zZ
lkcl has joined #nmigen
Degi_ has joined #nmigen
Degi has quit [Ping timeout: 276 seconds]
Degi_ is now known as Degi
_whitelogger has joined #nmigen
revolve has quit [Ping timeout: 264 seconds]
revolve has joined #nmigen
futarisIRCcloud has joined #nmigen
FFY00_ has quit [Remote host closed the connection]
PyroPeter_ has joined #nmigen
PyroPeter has quit [Ping timeout: 245 seconds]
PyroPeter_ is now known as PyroPeter
FFY00_ has joined #nmigen
<GenTooMan> hmm getting a strange error in python one without a line # "AttributeError: __enter__" <-- stepping the code class Simulator: last line reading "self._clocked = set()" is executed. The code then jumps to _unused.py _silence_elaboratable
<GenTooMan> using nmigen V 0.3.dev243+gf7c2b94) line 68 of core.py and line 40 of _unused.py.
jeanthom has joined #nmigen
jeanthom has quit [Ping timeout: 264 seconds]
_whitenotifier-5 has quit [Ping timeout: 240 seconds]
emeb_mac has quit [Quit: Leaving.]
RaYmAn has quit [Remote host closed the connection]
chipmuenk has joined #nmigen
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
Chips4Makers has quit [Ping timeout: 245 seconds]
Chips4Makers has joined #nmigen
FFY00_ has quit [Remote host closed the connection]
FFY00_ has joined #nmigen
Bertl_zZ is now known as Bertl
pftbest has quit [Remote host closed the connection]
revolve has quit [Read error: Connection reset by peer]
pftbest has joined #nmigen
revolve has joined #nmigen
bvernoux has joined #nmigen
<agg> The attribute error suggests you're trying to use something as a context manager (in other words, "with X:") that isn't a context manager, possibly the old "with Simulator() as sim:" syntax?
FFY00_ has quit [Remote host closed the connection]
FFY00_ has joined #nmigen
FFY00_ has quit [Read error: Connection reset by peer]
FFY00_ has joined #nmigen
<GenTooMan> hmm this generates said error https://pastebin.com/h0d0xH84 <-- that syntax is incorrect then?
<agg> yes, it's outdated (by some time now I guess)
<agg> replace line one with sim = Simulator(unit) and de-indent the rest
<agg> I don't think you need proc_clock at all either, but you could remove that later
<agg> (perhaps you do, depends what all the rest of the logic is)
<agg> Simulator(uut)*
lkcl has quit [Ping timeout: 276 seconds]
Chips4Makers has quit [Ping timeout: 246 seconds]
Chips4Makers has joined #nmigen
<GenTooMan> thanks agg it's now simulating (heh) next would be that it actually works in the dev board.
lkcl_ has joined #nmigen
<d1b2> <4o> TypeError: Cannot add a process functools.partial(<function all_test.get_test_processes.<locals>.wr at 0xb5ef3300>, <itertools.chain object at 0xb5ea2090>) because it is not a generator function is there a way to add a function with parameters with add_sync_process?
<agg> 4o: your function needs to take the parameters and return a generator, so like:
<agg> def testbench(param): def inner(): for _ in range(param): yield; return inner
<agg> (you'll have to imagine the indentation)
lkcl_ has quit [Ping timeout: 264 seconds]
<d1b2> <4o> hehe, ok. so much python tricks to learn
pftbest has quit [Remote host closed the connection]
pftbest has joined #nmigen
lkcl_ has joined #nmigen
pftbest has quit [Ping timeout: 246 seconds]
Bertl is now known as Bertl_oO
pftbest has joined #nmigen
lethalbit has quit [Read error: Connection reset by peer]
DX-MON has quit [Read error: Connection reset by peer]
DX-MON has joined #nmigen
lethalbit has joined #nmigen
emeb has joined #nmigen
jeanthom has joined #nmigen
jeanthom has quit [Ping timeout: 264 seconds]
jeanthom has joined #nmigen
jeanthom has quit [Ping timeout: 264 seconds]
jeanthom has joined #nmigen
<modwizcode> benzn why do you sum the result of the &? (re: unsigned sum). Also 1-bit radio mixer sounds neat, is that code public?
jjeanthom has joined #nmigen
jeanthom has quit [Ping timeout: 245 seconds]
modwizcode has quit [Ping timeout: 246 seconds]
Bertl_oO is now known as Bertl
revolve has quit [Read error: Connection reset by peer]
modwizcode has joined #nmigen
revolve has joined #nmigen
lkcl_ has quit [Ping timeout: 264 seconds]
lkcl_ has joined #nmigen
<d1b2> <benzn> @modwizcode at a high level i'm multiplying a carrier with values -1 and 1 with sampled data of 0s and 1s and then running a boxcar filter over a range of bits to build more precision given the heavy quantization
<modwizcode> hmm
<d1b2> <benzn> the code isn't public yet, but will open source once it works
<d1b2> <benzn> red is input from serdes, blue is carrier in-phase, purple is carrier out of phase
<d1b2> <benzn> this has a GMSK/bluetooth modulated 01010101 pattern fed directly to the SERDES RX
<modwizcode> hmm
<modwizcode> The blue/red/purple are all inputs right?
<d1b2> <benzn> blue and purple are internally generated 1-bit carriers
<modwizcode> oh internally generated
<d1b2> <benzn> in this case at 2.40175ghz
<modwizcode> that's a very fast internal signal :)
<modwizcode> What's the difference between the top and bottom half?
<d1b2> <benzn> yeah i use numpy & nmigen to figure out a pattern that i can just read out from BRAM in 20-bit words and xor with everything
<d1b2> <benzn> so it's actually running at 250mhz in this case, but could gear it lower/wider
<modwizcode> oh that makes a lot more sense
<d1b2> <benzn> i'm basically doing GMSK demodulation as if it were FSK
<modwizcode> For some reason I wouldn't have thought that would work
<d1b2> <benzn> so i measure the frequency correlation at 2.40225ghz and 2.401775ghz for a channel at 2.402ghz
<modwizcode> I guess you lose some dB margin but otherwise it works okay?
<d1b2> <benzn> yeah seems to work over the air
<d1b2> <benzn> when i get around to writing CORDIC I can do a more traditional demodulator
<d1b2> <benzn> that measures phase
<d1b2> <benzn> (can probably approximate it without it though, as I am doing with magnitude here -- this is a totally multiplierless design at the moment)
<modwizcode> makes sense
jjeanthom has quit [Ping timeout: 264 seconds]
<d1b2> <benzn> ah this looks great, thanks!
lkcl_ has quit [Ping timeout: 256 seconds]
lkcl_ has joined #nmigen
bvernoux has quit [Read error: Connection reset by peer]
lkcl_ has quit [Ping timeout: 260 seconds]
lkcl_ has joined #nmigen
jjeanthom has joined #nmigen
emeb_mac has joined #nmigen
chipmuenk has quit [Quit: chipmuenk]
chipmuenk has joined #nmigen
chipmuenk has quit [Client Quit]
chipmuenk has joined #nmigen
jjeanthom has quit [Ping timeout: 276 seconds]
chipmuenk has quit [Quit: chipmuenk]
revolve has quit [Read error: Connection reset by peer]
revolve has joined #nmigen
richbridger has quit [Quit: Leaving]
richbridger has joined #nmigen