Ejemplo n.º 1
0
def gen_fwid(*args,**kwargs):
    # construct the descriptor object
    fw  = Firmware()
    fw.build_sha = get_git_revision_short_hash()
    fw.comment = get_build_url()

    fw.fpga_part_number = "7z020"
    fw.num_leds = 5
    fw.board_name = "Snickerdoodle black"

    c = fw.connector.add()
    c.name = "JA.GPIO1"
    c.pins = 25

    c = fw.connector.add()
    c.name = "JA.GPIO2"
    c.pins = 25

    c = fw.connector.add()
    c.name = "JB.GPIO1"
    c.pins = 25

    c = fw.connector.add()
    c.name = "JB.GPIO2"
    c.pins = 25

    c = fw.connector.add()
    c.name = "JC.GPIO1"
    c.pins = 25


    return fw
Ejemplo n.º 2
0
def gen_fwid(*args,**kwargs):
    # construct the descriptor object
    fw  = Firmware()
    fw.build_sha = get_git_revision_short_hash()
    fw.comment = get_build_url()

    fw.fpga_part_number = "altera socfpga"
    fw.num_leds = 4
    fw.board_name = "Terasic DE0-Nano"

    c = fw.connector.add()
    c.name = "GPIO0.P2"
    c.pins = 17

    c = fw.connector.add()
    c.name = "GPIO0.P3"
    c.pins = 17

    c = fw.connector.add()
    c.name = "GPIO1.P2"
    c.pins = 17

    c = fw.connector.add()
    c.name = "GPIO1.P3"
    c.pins = 17

    return fw
def gen_fwid(*args, **kwargs):
    # construct the descriptor object
    fw = Firmware()
    fw.build_sha = get_git_revision_short_hash()
    fw.comment = get_build_url()

    fw.fpga_part_number = "altera socfpga"
    fw.num_leds = 4
    fw.board_name = "Terasic DE0-Nano"

    c = fw.connector.add()
    c.name = "GPIO0.P2"
    c.pins = 17

    c = fw.connector.add()
    c.name = "GPIO0.P3"
    c.pins = 17

    c = fw.connector.add()
    c.name = "GPIO1.P2"
    c.pins = 17

    c = fw.connector.add()
    c.name = "GPIO1.P3"
    c.pins = 17

    return fw
Ejemplo n.º 4
0
def gen_fwid(*args,**kwargs):
    # construct the descriptor object
    fw  = Firmware()
    fw.build_sha = get_git_revision_short_hash()
    fw.comment = get_build_url()

    fw.fpga_part_number = "7z010"
    fw.num_leds = 0
    fw.board_name = "JDCBM"

    c = fw.connector.add()
    c.name = "GPIO0.P1"
    c.pins = 32

    return fw
Ejemplo n.º 5
0
def gen_fwid(*args, **kwargs):
    # construct the descriptor object
    fw = Firmware()
    fw.build_sha = get_git_revision_short_hash()
    fw.comment = get_build_url()

    fw.fpga_part_number = "7z010"
    fw.num_leds = 0
    fw.board_name = "JDCBM"

    c = fw.connector.add()
    c.name = "GPIO0.P1"
    c.pins = 32

    return fw
Ejemplo n.º 6
0
def gen_fwid(*args, **kwargs):
    # construct the descriptor object
    fw = Firmware()
    fw.build_sha = get_git_revision_short_hash()
    fw.comment = get_build_url()

    # 1 hm2 LED
    fw.fpga_part_number = "7z020"
    fw.num_leds = 1
    fw.board_name = "Prototype"

    # 24 pins called out in PIN_PROTOTYPE.vhd
    c = fw.connector.add()
    c.name = "JA1"
    c.pins = 24

    return fw
Ejemplo n.º 7
0
def gen_fwid(*args, **kwargs):
    # construct the descriptor object
    fw = Firmware()
    fw.build_sha = get_git_revision_short_hash()
    fw.comment = get_build_url()

    # Of the 5 LEDs on the Snickerdoodle board,
    # 1 is accessable for user applications
    fw.fpga_part_number = "7z020"
    fw.num_leds = 1
    fw.board_name = "Prototype"

    # 25 out of the 40 pins on each header are usable
    c = fw.connector.add()
    c.name = "JA.GPIO1"
    c.pins = 17

    return fw
Ejemplo n.º 8
0
def gen_fwid(*args, **kwargs):
    # construct the descriptor object
    fw = Firmware()
    fw.build_sha = get_git_revision_short_hash()
    fw.comment = get_build_url()

    fw.fpga_part_number = "xczu3eg-sbva484-1-e"
    fw.num_leds = 1
    fw.board_name = "ULTR"

    c = fw.connector.add()
    c.name = "GPIO0.P0"
    c.pins = 18

    c = fw.connector.add()
    c.name = "GPIO0.P1"
    c.pins = 18

    return fw