Skip to content

YAML configuration file definition #6

@rodrigomelo9

Description

@rodrigomelo9

PyFPGA currently uses:

openflow:
    oci:
        engine:
            command: docker
            volumes: ["$HOME:$HOME"]
            work: $PWD
        containers:
            ghdl: "ghdl/synth:beta"
            yosys: "ghdl/synth:beta"
            nextpnr-ice40: "ghdl/synth:nextpnr-ice40"
            icetime: "ghdl/synth:icestorm"
            icepack: "ghdl/synth:icestorm"
            iceprog: "--device /dev/bus/usb ghdl/synth:prog"
            nextpnr-ecp5: "ghdl/synth:nextpnr-ecp5"
            ecppack: "ghdl/synth:trellis"
            openocd: "--device /dev/bus/usb ghdl/synth:prog"
    tools:
        ghdl: ghdl
        yosys: yosys
        nextpnr-ice40: nextpnr-ice40
        icetime: icetime
        icepack: icepack
        iceprog: iceprog
        nextpnr-ecp5: nextpnr-ecp5
        ecppack: ecppack
        openocd: openocd

I am thinking in a simplification for openflow:

engine:
  command: docker
  volumes: ["$HOME:$HOME"]
  work: $PWD
containers:
  ghdl: "ghdl/synth:beta"
  yosys: "ghdl/synth:beta"
  nextpnr-ice40: "ghdl/synth:nextpnr-ice40"
  icetime: "ghdl/synth:icestorm"
  icepack: "ghdl/synth:icestorm"
  iceprog: "--device /dev/bus/usb ghdl/synth:prog"
  nextpnr-ecp5: "ghdl/synth:nextpnr-ecp5"
  ecppack: "ghdl/synth:trellis"
  openocd: "--device /dev/bus/usb ghdl/synth:prog"
tools:
  ghdl: ghdl
  yosys: yosys
  nextpnr-ice40: nextpnr-ice40
  icetime: icetime
  icepack: icepack
  iceprog: iceprog
  nextpnr-ecp5: nextpnr-ecp5
  ecppack: ecppack
  openocd: openocd

@umarcor @olofk @carlosedp as suggested in olofk/edalize#221 could be a good idea to define a shared format :-D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions