build.res: if not specified, request resource #0.
This markedly differs from oMigen system, which would request consecutive resources. The difference is deliberate; most resources are singular, so it does not matter for them, and for resources where it does matter, which pins are requested should not depend on order of execution of `platform.request`.
This commit is contained in:
parent
dc17d06fe9
commit
f417725b10
2 changed files with 3 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ from nmigen.vendor.ice40_hx1k_blink_evn import *
|
|||
|
||||
class Blinky(Elaboratable):
|
||||
def elaborate(self, platform):
|
||||
clk3p3 = platform.request("clk3p3", 0)
|
||||
clk3p3 = platform.request("clk3p3")
|
||||
user_led = platform.request("user_led", 0)
|
||||
counter = Signal(20)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue