diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index a1b0ae2..e5e9e53 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -84,6 +84,21 @@ jobs: make sudo make install + - name: checkout nextpnr + uses: actions/checkout@v4 + with: + repository: YosysHQ/nextpnr + ref: master + path: nextpnr + submodules: true + + - name: install nextpnr + working-directory: nextpnr + run: | + cmake -DARCH=ice40 -DCMAKE_INSTALL_PREFIX=/usr/local . + make + sudo make install + - name: checkout yosys uses: actions/checkout@v4 with: @@ -100,3 +115,14 @@ jobs: - name: test run: cabal run test -- --no-create + + - name: demo + run: | + cabal install + bx --FiatLux -s + bx --RgbCounter -s + bx --RgbCycle -s + bx --Hello -s + bx --Echo -s + bx --LedCtrl -s + bx --SpramReverse -s diff --git a/bayeux.cabal b/bayeux.cabal index 2e5da3d..b924060 100644 --- a/bayeux.cabal +++ b/bayeux.cabal @@ -1,17 +1,21 @@ cabal-version: 3.0 name: bayeux version: 0.1.0.0 -homepage: https://github.com/dopamane/bayeux +homepage: https://github.com/standardsemiconductor/bayeux license: MIT license-file: LICENSE author: dopamane -maintainer: dwc1295@gmail.com +maintainer: standardsemiconductor@gmail.com copyright: David Cox category: Language build-type: Simple extra-doc-files: CHANGELOG.md data-files: data/**/*.pcf +source-repository head + type: git + location: https://github.com/standardsemiconductor/yosys-rtl + library ghc-options: -Wall exposed-modules: Bayeux @@ -34,7 +38,7 @@ library other-modules: Paths_bayeux autogen-modules: Paths_bayeux build-depends: array - , async + , async >= 2.0 , base , bytestring , containers