sb0 changed the topic of #m-labs to: https://m-labs.hk :: Mattermost https://chat.m-labs.hk :: Logs http://irclog.whitequark.org/m-labs
early has quit [Quit: Leaving]
early has joined #m-labs
Getorix has joined #m-labs
harryho has quit [Remote host closed the connection]
harryho has joined #m-labs
<harryho> whitequark: Hi, referring to this issue (https://github.com/m-labs/nmigen/issues/11), there's no way to simulate combinational logic in nmigen v0.1rc1, right?
<mtrbot-ml> [mattermost] <sb10q> "simulate" how?
<harryho> umm, for example, `reg1.eq(reg2[:1])` is a comb statement, and I want to know if reg1 gives the expected value when I assign different values in reg2.
<harryho> this is an extremely simplified example.
<mtrbot-ml> [mattermost] <sb10q> you can work around it by changing the input synchronously in the simulation generatoe
<mtrbot-ml> [mattermost] <sb10q> you can work around it by changing the input synchronously in the simulation generator
<mtrbot-ml> [mattermost] <sb10q> the only thing that isn't supported is asynchronous simulation generators; comb statements work
Getorix has quit [Quit: Textual IRC Client: www.textualapp.com]
Getorix has joined #m-labs
Getorix has quit [Ping timeout: 245 seconds]
edef has quit [Quit: leaving]
edef has joined #m-labs
rqou has quit [Quit: ZNC 1.7.x-git-709-1bb0199 - http://znc.in]
Stormwind_mobile has quit [Ping timeout: 240 seconds]
Stormwind_mobile has joined #m-labs
X-Scale has quit [Ping timeout: 240 seconds]
X-Scale` has joined #m-labs
X-Scale` is now known as X-Scale
rqou has joined #m-labs
harryho has quit [Remote host closed the connection]
<mtrbot-ml> [mattermost] <harryho> @sb10q, whitequark: I pushed some code for the CSR DSL this afternoon on my fork, please take a look. A major change was that I now make `CSRRegister` an Elaboratable that has a `CSRElement`, while allowing the user to add CSR fields by referring to the CSRRegister object. I did it by adding a context manager, and you can see the usage in my `test_csr_dsl` code.
<mtrbot-ml> [mattermost] <harryho> The documentation still needs improvement tho. Sorry about that.
<whitequark> I'll take a look soon, probably tomorrow and over the weekend
<mtrbot-ml> [mattermost] <harryho> Sure thing, thanks for all the comments!!
<mtrbot-ml> [mattermost] <sb10q> https://repairfaq.org/sam/brochures/ls2br1.htm "Design Features: Headphones: ... The headphones supplied with each Model 220 form an important design feature, for they enable the operator to listen in on the output of the servo control system and thus evaluate the problem of retroreflection and back-scattering"
<whitequark> reminds me of how I debugged USB transfers with coil whine once
<Dar1us> got to hook up that pattern matching wetware somehow..
Stormwind_mobile has quit [Ping timeout: 276 seconds]
<adamgreig> does anyone have any small examples of an (n)migen spi slave? just want to get an idea of what a good architecture looks like for such a thing
<adamgreig> what to do about the cdc mostly I guess, I just want to expose a 32 bit word that gets written and another that is read out on each transaction
<whitequark> zipcpu has an example of the architecture
<adamgreig> i found rawslave.v, thanks for the pointer
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 240 seconds]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 240 seconds]
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 250 seconds]
Stormwind_mobile has joined #m-labs
<rjo> adamgreig: https://github.com/m-labs/pdq/blob/master/pdq/gateware/spi.py and I have another one (for Sinara Banker and Mirny) that doesn't need any additional clock (purely clocked with clk and cs) will hopefully be release soon.
<adamgreig> Ah cool, thanks rjo
electronic_eel has quit [Ping timeout: 265 seconds]
electronic_eel has joined #m-labs
mumptai has joined #m-labs
electronic_eel_ has joined #m-labs
electronic_eel has quit [Ping timeout: 276 seconds]
Stormwind_mobile has quit [Ping timeout: 240 seconds]
kuldeep has joined #m-labs
topo has joined #m-labs
<_whitenotifier> [nmigen] Fatsie opened issue #258: Bikeshed: Packaging existing RTL code with nmigen wrapper - https://git.io/Je0MB
<_whitenotifier> [nmigen] whitequark commented on issue #258: Bikeshed: Packaging existing RTL code with nmigen wrapper - https://git.io/Je0Mr
Stormwind_mobile has joined #m-labs
<_whitenotifier> [nmigen] whitequark commented on issue #258: Bikeshed: Packaging existing RTL code with nmigen wrapper - https://git.io/Je0My
balrog has quit [Ping timeout: 250 seconds]
balrog has joined #m-labs
mumptai has quit [Remote host closed the connection]
lkcl has joined #m-labs