Skip to content

Commit

Permalink
[PY] [Doc] Update in sync with docs branch and prga.py submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
angl-dev committed Apr 16, 2021
1 parent 0ad7c10 commit 1b8c515
Show file tree
Hide file tree
Showing 19 changed files with 736 additions and 102 deletions.
18 changes: 9 additions & 9 deletions .github/actions/run_example/action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Run an example
description: Build an FPGA example, then run an example design on it
description: Build an FPGA example, then run an example application on it
inputs:
fpga_path:
description: Path to the FPGA example relative to the examples/fpga directory
required: true
default: ""
design_path:
description: Path to the design example relative to the examples/app directory
app_path:
description: Path to the application example relative to the examples/app directory
required: true
default: ""
test:
Expand All @@ -27,40 +27,40 @@ runs:
shell: bash
run: |
pushd ${GITHUB_WORKSPACE}
bash envscr/run make -C ${PWD}/examples/app/${{ inputs.design_path }}
bash envscr/run make -C ${PWD}/examples/app/${{ inputs.app_path }}
popd
- name: Run behavioral simulation of the application
shell: bash
run: |
pushd ${GITHUB_WORKSPACE}
bash envscr/run make -C ${PWD}/examples/app/${{ inputs.design_path }}/tests/${{ inputs.test }} behav
bash envscr/run make -C ${PWD}/examples/app/${{ inputs.app_path }}/tests/${{ inputs.test }} behav
popd
- name: Run synthesis for the application
shell: bash
run: |
pushd ${GITHUB_WORKSPACE}
bash envscr/run make -C ${PWD}/examples/app/${{ inputs.design_path }}/design syn
bash envscr/run make -C ${PWD}/examples/app/${{ inputs.app_path }}/app syn
popd
- name: Run post-synthesis simulation of the application
shell: bash
run: |
pushd ${GITHUB_WORKSPACE}
bash envscr/run make -C ${PWD}/examples/app/${{ inputs.design_path }}/tests/${{ inputs.test }} postsyn
bash envscr/run make -C ${PWD}/examples/app/${{ inputs.app_path }}/tests/${{ inputs.test }} postsyn
popd
- name: Run the full RTL-to-bitstream flow for the application
shell: bash
run: |
pushd ${GITHUB_WORKSPACE}
bash envscr/run make -C ${PWD}/examples/app/${{ inputs.design_path }}/design
bash envscr/run make -C ${PWD}/examples/app/${{ inputs.app_path }}/app
popd
- name: Run post-implementation simulation of the application
shell: bash
run: |
pushd ${GITHUB_WORKSPACE}
bash envscr/run make -C ${PWD}/examples/app/${{ inputs.design_path }}/tests/${{ inputs.test }} postimpl
bash envscr/run make -C ${PWD}/examples/app/${{ inputs.app_path }}/tests/${{ inputs.test }} postimpl
popd
2 changes: 1 addition & 1 deletion .github/workflows/checkinstall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@ jobs:
uses: ./.github/actions/run_example
with:
fpga_path: magic/k4_N2_8x8
design_path: bcd2bin/magic_k4_N2_8x8
app_path: bcd2bin/magic_k4_N2_8x8
test: basic
14 changes: 7 additions & 7 deletions .github/workflows/quickcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
python-version:
- 3.8.2
test:
- design: bcd2bin
- app: bcd2bin
test: basic
fpga:
- k4_N2_8x8
Expand Down Expand Up @@ -183,19 +183,19 @@ jobs:
run: pipenv run make -C examples/fpga/${{ matrix.prog }}/${{ matrix.fpga }}

- name: Make project for the application
run: pipenv run make -C examples/app/${{ matrix.test.design }}/${{ matrix.prog }}_${{ matrix.fpga }}
run: pipenv run make -C examples/app/${{ matrix.test.app }}/${{ matrix.prog }}_${{ matrix.fpga }}

- name: Run behavioral simulation of the application
run: pipenv run make -C examples/app/${{ matrix.test.design }}/${{ matrix.prog }}_${{ matrix.fpga }}/tests/${{ matrix.test.test }} behav
run: pipenv run make -C examples/app/${{ matrix.test.app }}/${{ matrix.prog }}_${{ matrix.fpga }}/tests/${{ matrix.test.test }} behav

- name: Run synthesis for the application
run: pipenv run make -C examples/app/${{ matrix.test.design }}/${{ matrix.prog }}_${{ matrix.fpga }}/design syn
run: pipenv run make -C examples/app/${{ matrix.test.app }}/${{ matrix.prog }}_${{ matrix.fpga }}/app syn

- name: Run post-synthesis simulation of the application
run: pipenv run make -C examples/app/${{ matrix.test.design }}/${{ matrix.prog }}_${{ matrix.fpga }}/tests/${{ matrix.test.test }} postsyn
run: pipenv run make -C examples/app/${{ matrix.test.app }}/${{ matrix.prog }}_${{ matrix.fpga }}/tests/${{ matrix.test.test }} postsyn

- name: Run the full RTL-to-bitstream flow for the application
run: pipenv run make -C examples/app/${{ matrix.test.design }}/${{ matrix.prog }}_${{ matrix.fpga }}/design
run: pipenv run make -C examples/app/${{ matrix.test.app }}/${{ matrix.prog }}_${{ matrix.fpga }}/app

- name: Run post-implementation simulation of the application
run: pipenv run make -C examples/app/${{ matrix.test.design }}/${{ matrix.prog }}_${{ matrix.fpga }}/tests/${{ matrix.test.test }} postimpl
run: pipenv run make -C examples/app/${{ matrix.test.app }}/${{ matrix.prog }}_${{ matrix.fpga }}/tests/${{ matrix.test.test }} postimpl
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/images/FracLUT3_Design.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/images/convgrid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/images/convgrid_noslots.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/images/grid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1b8c515

Please sign in to comment.