default_clk = "clk100"
resources = [
Resource("clk100", 0, Pins("129", dir="i"),
- Clock(100e6), Attrs(GLOBAL="1", IO_STANDARD="SB_LVCMOS33")
+ Clock(100e6), Attrs(GLOBAL=True, IO_STANDARD="SB_LVCMOS33")
),
Resource("user_led", 0, Pins("71", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")),
UARTResource(0,
rx="88", tx="85", rts="91", cts="94",
- attrs=Attrs(IO_STANDARD="SB_LVCMOS33", PULLUP="1")
+ attrs=Attrs(IO_STANDARD="SB_LVCMOS33", PULLUP=1)
),
SRAMResource(0,
default_clk = "clk100"
resources = [
Resource("clk100", 0, Pins("129", dir="i"),
- Clock(100e6), Attrs(GLOBAL="1", IO_STANDARD="SB_LVCMOS33")
+ Clock(100e6), Attrs(GLOBAL=True, IO_STANDARD="SB_LVCMOS33")
),
Resource("user_led", 0, Pins("71", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")),
UARTResource(0,
rx="88", tx="85", rts="91", cts="94",
- attrs=Attrs(IO_STANDARD="SB_LVCMOS33", PULLUP="1")
+ attrs=Attrs(IO_STANDARD="SB_LVCMOS33", PULLUP=1)
),
SRAMResource(0,
default_clk = "clk48"
resources = [
Resource("clk48", 0, Pins("F5", dir="i"),
- Clock(48e6), Attrs(GLOBAL="1", IO_STANDARD="SB_LVCMOS33")),
+ Clock(48e6), Attrs(GLOBAL=True, IO_STANDARD="SB_LVCMOS33")),
Resource("user_led", 0, PinsN("A5", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")),
Resource("rgb_led", 0,
default_clk = "clk3p3"
resources = [
Resource("clk3p3", 0, Pins("13", dir="i"), Clock(3.3e6),
- Attrs(GLOBAL="1", IO_STANDARD="SB_LVCMOS33")),
+ Attrs(GLOBAL=True, IO_STANDARD="SB_LVCMOS33")),
Resource("user_led", 0, Pins("59", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")),
Resource("user_led", 1, Pins("56", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")),
default_clk = "clk12"
resources = [
Resource("clk12", 0, Pins("J3", dir="i"),
- Clock(12e6), Attrs(GLOBAL="1", IO_STANDARD="SB_LVCMOS33")),
+ Clock(12e6), Attrs(GLOBAL=True, IO_STANDARD="SB_LVCMOS33")),
Resource("user_led", 0, Pins("C3", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")), # D2
Resource("user_led", 1, Pins("B3", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")), # D3
UARTResource(0,
rx="B10", tx="B12", rts="B13", cts="A15", dtr="A16", dsr="B14", dcd="B15",
- attrs=Attrs(IO_STANDARD="SB_LVCMOS33", PULLUP="1")
+ attrs=Attrs(IO_STANDARD="SB_LVCMOS33", PULLUP=1)
),
*SPIFlashResources(0,
default_clk = "clk12"
resources = [
Resource("clk12", 0, Pins("35", dir="i"),
- Clock(12e6), Attrs(GLOBAL="1", IO_STANDARD="SB_LVCMOS33")),
+ Clock(12e6), Attrs(GLOBAL=True, IO_STANDARD="SB_LVCMOS33")),
Resource("user_led", 0, PinsN("11", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")),
Resource("user_led", 1, PinsN("37", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")),
UARTResource(0,
rx="6", tx="9",
- attrs=Attrs(IO_STANDARD="SB_LVTTL", PULLUP="1")
+ attrs=Attrs(IO_STANDARD="SB_LVTTL", PULLUP=1)
),
*SPIFlashResources(0,
default_clk = "clk12"
resources = [
Resource("clk12", 0, Pins("21", dir="i"),
- Clock(12e6), Attrs(GLOBAL="1", IO_STANDARD="SB_LVCMOS33")),
+ Clock(12e6), Attrs(GLOBAL=True, IO_STANDARD="SB_LVCMOS33")),
Resource("user_led", 0, Pins("99", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")),
Resource("user_led", 1, Pins("98", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")),
UARTResource(0,
rx="9", tx="8", rts="7", cts="4", dtr="3", dsr="2", dcd="1",
- attrs=Attrs(IO_STANDARD="SB_LVTTL", PULLUP="1")
+ attrs=Attrs(IO_STANDARD="SB_LVTTL", PULLUP=1)
),
IrDAResource(0,