-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
- Loading branch information
Showing
3 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Generated from .github/kokoro/kokoro-cfg.py | ||
# To regenerate run: | ||
# cd .github/kokoro/ && python3 kokoro-cfg.py | ||
|
||
build_file: "symbiflow-arch-defs-continuous-ql/.github/kokoro/ql.sh" | ||
|
||
timeout_mins: 4320 | ||
|
||
action { | ||
define_artifacts { | ||
# File types | ||
regex: "**/*result*.xml" | ||
regex: "**/*sponge_log.xml" | ||
regex: "**/.ninja_log" | ||
regex: "**/pack.log" | ||
regex: "**/place.log" | ||
regex: "**/route.log" | ||
regex: "**/*_sv2v.v.log" | ||
regex: "**/*_qor.csv" | ||
strip_prefix: "github/symbiflow-arch-defs-continuous-ql/" | ||
} | ||
} | ||
|
||
env_vars { | ||
key: "KOKORO_TYPE" | ||
value: "continuous" | ||
} | ||
|
||
env_vars { | ||
key: "KOKORO_DIR" | ||
value: "symbiflow-arch-defs-continuous-ql" | ||
} | ||
|
||
env_vars { | ||
key: "SYMBIFLOW_ARCH" | ||
value: "ql" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Generated from .github/kokoro/kokoro-cfg.py | ||
# To regenerate run: | ||
# cd .github/kokoro/ && python3 kokoro-cfg.py | ||
|
||
build_file: "symbiflow-arch-defs-presubmit-ql/.github/kokoro/ql.sh" | ||
|
||
timeout_mins: 4320 | ||
|
||
action { | ||
define_artifacts { | ||
# File types | ||
regex: "**/*result*.xml" | ||
regex: "**/*sponge_log.xml" | ||
regex: "**/.ninja_log" | ||
regex: "**/pack.log" | ||
regex: "**/place.log" | ||
regex: "**/route.log" | ||
regex: "**/*_sv2v.v.log" | ||
regex: "**/*_qor.csv" | ||
strip_prefix: "github/symbiflow-arch-defs-presubmit-ql/" | ||
} | ||
} | ||
|
||
env_vars { | ||
key: "KOKORO_TYPE" | ||
value: "presubmit" | ||
} | ||
|
||
env_vars { | ||
key: "KOKORO_DIR" | ||
value: "symbiflow-arch-defs-presubmit-ql" | ||
} | ||
|
||
env_vars { | ||
key: "SYMBIFLOW_ARCH" | ||
value: "ql" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
|
||
SCRIPT_SRC="$(realpath ${BASH_SOURCE[0]})" | ||
SCRIPT_DIR="$(dirname "${SCRIPT_SRC}")" | ||
|
||
export CMAKE_FLAGS=-GNinja | ||
export BUILD_TOOL=ninja | ||
source ${SCRIPT_DIR}/common.sh | ||
|
||
echo | ||
echo "========================================" | ||
echo "Running ql tests (make all_ql_tests)" | ||
echo "----------------------------------------" | ||
( | ||
source env/conda/bin/activate symbiflow_arch_def_base | ||
|
||
#FIXME: Integrate the following custom packages with SymbiFlow | ||
conda uninstall symbiflow-yosys -y | ||
pip3 uninstall v2x -y | ||
|
||
# Custom Yosys + the latest SymbiFlow Yosys Plugins | ||
conda install quicklogic-yosys -c litex-hub -y | ||
conda install --no-deps symbiflow-yosys-plugins=1.0.0.7_0174_g5e6370a=20201012_171341 -y | ||
|
||
# Custom v2x | ||
pip3 install git+https://github.com/QuickLogic-Corp/python-symbiflow-v2x@b0c8679c1fc9c90ca1555aab055b25a4a7d83fb6 | ||
|
||
cd build | ||
export VPR_NUM_WORKERS=${CORES} | ||
ninja -j${MAX_CORES} all_ql_tests | ||
ninja print_qor > ql_qor.csv | ||
) | ||
echo "----------------------------------------" | ||
|
||
source ${SCRIPT_DIR}/package_results.sh |