Skip to content

Commit 7d60726

Browse files
committed
tests: add test_outoftree.sh
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 692a574 commit 7d60726

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

flow/designs/asap7/minimal/config.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export DESIGN_NICKNAME = minimal
2-
export SDC_FILE = designs/asap7/minimal/empty.sdc
2+
export SDC_FILE = $(FLOW_HOME)/designs/asap7/minimal/empty.sdc
33
export PLATFORM = asap7
44
# Faster build and more information in GUI with hierarchical synthesis
55
export SYNTH_HIERARCHICAL ?= 1
@@ -17,3 +17,7 @@ export PLACE_DENSITY ?= 0.20
1717
# This won't work with an empty .sdc file
1818
export SKIP_REPORT_METRICS = 1
1919

20+
# Faster build, remove these in your own config.mk
21+
export SKIP_CTS_REPAIR_TIMING = 1
22+
export REMOVE_ABC_BUFFERS = 1
23+
export SKIP_INCREMENTAL_REPAIR = 1

flow/test/test_outoftree.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
#
3+
# deltaDebug.py integration smoke-test, run from ORFS/flow folder.
4+
#
5+
# Exit with error if anything is amiss, including evaluation of
6+
# variable names such as $(false), unused variables, etc.
7+
set -x -ue -o pipefail
8+
9+
cd "$(dirname "$0")/.."
10+
rm -rf results/outoftree/
11+
mkdir -p results/outoftree/
12+
cd results/outoftree/
13+
cp ../../designs/src/aes/* .
14+
make --file=../../Makefile DESIGN_CONFIG=../../designs/asap7/minimal/config.mk DESIGN_NAME=aes_cipher_top VERILOG_FILES="$(ls *.v | xargs)" grt

0 commit comments

Comments
 (0)