Skip to content

Commit

Permalink
Fix some filepathes
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas K. <[email protected]>
  • Loading branch information
EverythingElseWasAlreadyTaken committed May 7, 2024
1 parent 2c002c7 commit 6c386e2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 17 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/fabric_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 fabric_generator/ --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 FABulous/fabric_generator/ --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 fabric_generator --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
flake8 FABulous/fabric_generator --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Run fabric generator flow
run: |
export FAB_ROOT=.
python3.9 FABulous.py -c demo
python3.9 FABulous.py demo --script ./demo/FABulous.tcl
python3.9 FABulous/FABulous.py -c demo
python3.9 FABulous/FABulous.py demo --script ./demo/FABulous.tcl
- name: Run simulation smoketest
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This assumes the default instructions were followed to build a 8x14 fabric in `../fabric_generator`.
This assumes the default instructions were followed to build a 8x14 fabric in `../../fabric_generator`.

Latest Yosys and `nextpnr-generic` from upstream (_not_ the old FABulous nextpnr fork) are used
to build the test design.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
SYNTH_TCL=../../fabric_cad/synth/synth_fabulous.tcl
BIT_GEN=../../fabric_cad/bit_gen.py
SYNTH_TCL=../../FABulous/fabric_cad/synth/synth_fabulous.tcl
BIT_GEN=../../FABulous/fabric_cad/bit_gen.py

DESIGN=counter

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
#!/usr/bin/env bash
set -ex
DESIGN=counter
BITSTREAM=test_design/${DESIGN}.bin
VERILOG=../../fabric_generator/verilog_output
MAX_BITBYTES=16384

rm -rf tmp
mkdir tmp
for i in $(find ../Tile -type f -name "*.v") $(find ../Fabric -type f -name "*.v")
do
do
cp $i tmp/
done

iverilog -D EMULATION -s fab_tb -o fab_tb.vvp test_design/${DESIGN}.vh tmp/* test_design/${DESIGN}.v fabulous_tb.v
iverilog -D EMULATION -s fab_tb -o fab_tb.vvp test_design/${DESIGN}.vh tmp/* test_design/${DESIGN}.v fabulous_tb.v
vvp fab_tb.vvp
rm -rf tmp
rm -rf tmp
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
set -ex
DESIGN=counter
BITSTREAM=test_design/${DESIGN}.bin
VERILOG=../../fabric_generator/verilog_output
MAX_BITBYTES=16384

rm -rf tmp
mkdir tmp
for i in $(find ../Tile -type f -name "*.v") $(find ../Fabric -type f -name "*.v")
do
do
cp $i tmp/
done

iverilog -s fab_tb -o fab_tb.vvp tmp/* test_design/${DESIGN}.v fabulous_tb.v
iverilog -s fab_tb -o fab_tb.vvp tmp/* test_design/${DESIGN}.v fabulous_tb.v
python3 makehex.py $BITSTREAM $MAX_BITBYTES bitstream.hex
vvp fab_tb.vvp
rm -rf tmp
rm -rf tmp

0 comments on commit 6c386e2

Please sign in to comment.