New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blink.py error: unexpected keyword argument 'max' #3
Comments
I tried this: diff --git a/blink/blink.py b/blink/blink.py
index 8e66c9f..0a828f4 100644
--- a/blink/blink.py
+++ b/blink/blink.py
@@ -13,8 +13,8 @@ class Blinker(Elaboratable):
m.domains.sync = ClockDomain()
m.d.comb += ClockSignal().eq(clk12)
- counter = Signal(max=self.maxperiod+1)
- period = Signal(max=self.maxperiod+1)
+ counter = Signal(self.maxperiod+1)
+ period = Signal(self.maxperiod+1)
m.d.comb += period.eq(self.maxperiod) It does run but no blinking LED like with the migen example. |
note: I never see the bitstream programming output |
for contrast, this works:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I encountered this error:
The text was updated successfully, but these errors were encountered: