<_whitenotifier-3>
[nmigen] codecov[bot] commented on pull request #313: build.dsl: allow strings to be used as connector numbers - https://git.io/JvqAF
Stormwind_mobile has quit [Ping timeout: 268 seconds]
m4ssi has joined #m-labs
Stormwind_mobile has joined #m-labs
<MikeP>
Hey folks, could someone help me understand an nmigen error I'm seeing? I get "nmigen.hdl.cd.DomainError: Domain 'cd_rotary' is used but not defined", off of the following code:
<MikeP>
cd_rotary = ClockDomain(reset_less=True)
<MikeP>
m.domains += cd_rotary
<MikeP>
m.d.comb += cd_rotary.clk.eq(rotary.a.i)
<MikeP>
any help understanding how CDs really work is much appreciated
<MikeP>
In another design this (very similar) code worked as expected:
<MikeP>
cd_neg = ClockDomain(reset_less=True)
<MikeP>
m.domains += cd_neg
<MikeP>
m.d.comb += cd_neg.clk.eq(~ClockSignal())
<whitequark>
MikeP: did you perhaps forget to add a submodule somewhere?
<whitequark>
oh, wait
<whitequark>
did you do `m.d.cd_rotary` somewhere?
<whitequark>
instead of `m.d.rotary`
<MikeP>
ahhhh yeah that'll be it
<MikeP>
yup that was it
<MikeP>
(facepalm)
<MikeP>
thankyou!
<whitequark>
we might want to add a diagnostic for that
Stormwind_mobile has quit [Ping timeout: 265 seconds]
MikeP has quit [Ping timeout: 268 seconds]
<_whitenotifier-3>
[nmigen] RobertBaruch opened issue #314: How to pass yosys_opts to LatticeICE40Platform? - https://git.io/Jvqhu
<_whitenotifier-3>
[nmigen] adamgreig commented on issue #314: How to pass yosys_opts to LatticeICE40Platform? - https://git.io/Jvqhg
rohitksingh has quit [Ping timeout: 260 seconds]
<_whitenotifier-3>
[nmigen] RobertBaruch commented on issue #314: How to pass yosys_opts to LatticeICE40Platform? - https://git.io/Jvqhj
<_whitenotifier-3>
[nmigen] RobertBaruch closed issue #314: How to pass yosys_opts to LatticeICE40Platform? - https://git.io/Jvqhu
Stormwind_mobile has joined #m-labs
m4ssi has quit [Remote host closed the connection]