Skip to content

Commit 755fac3

Browse files
committed
mock-array: clean out FLOW_HOME usage, use more specific variables such as RESULTS_DIR
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent a088445 commit 755fac3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

flow/designs/asap7/mock-array/Element/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export DIE_AREA = $(shell \
2424

2525
export IO_CONSTRAINTS = designs/asap7/mock-array/Element/io.tcl
2626

27-
export PDN_TCL = $(FLOW_HOME)/platforms/asap7/openRoad/pdn/BLOCK_grid_strategy.tcl
27+
export PDN_TCL = $(PLATFORM_DIR)/openRoad/pdn/BLOCK_grid_strategy.tcl
2828

2929
# Detailed routing should be easy, limit iterations
3030
export DETAILED_ROUTE_END_ITERATION ?= 6

flow/designs/asap7/mock-array/simulate.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ mkdir -p $OBJ_DIR
1313
mkdir -p $POST_DIR
1414

1515
# Copy Verilog files used for simulation to post dir in the objects area
16-
cp $FLOW_HOME/results/asap7/mock-array/base/6_final.v $POST_DIR/MockArrayFinal.v
17-
cp $FLOW_HOME/results/asap7/mock-array_Element/base/6_final.v $POST_DIR/MockArrayElement.v
16+
cp $RESULTS_DIR/6_final.v $POST_DIR/MockArrayFinal.v
17+
cp $RESULTS_DIR/../../mock-array_Element/base/6_final.v $POST_DIR/MockArrayElement.v
1818

1919
# Run simulation and have Verilator write the output files to the objects area
2020
verilator -Wall --cc \
@@ -31,10 +31,10 @@ verilator -Wall --cc \
3131
$PLATFORM_DIR/verilog/stdcell/asap7sc7p5t_SIMPLE_RVT_TT_201020.v \
3232
$PLATFORM_DIR/verilog/stdcell/dff.v \
3333
$PLATFORM_DIR/verilog/stdcell/empty.v \
34-
$FLOW_HOME/results/asap7/mock-array/base/6_final.v \
35-
$FLOW_HOME/results/asap7/mock-array_Element/base/6_final.v \
34+
$RESULTS_DIR/6_final.v \
35+
$RESULTS_DIR/../../mock-array_Element/base/6_final.v \
3636
--exe \
37-
$FLOW_HOME/designs/src/mock-array/simulate.cpp
37+
$DESIGN_HOME/src/mock-array/simulate.cpp
3838

3939
# Link the generated object files into the VMockArray executable
4040
make -j16 -C $OBJ_DIR -f VMockArray.mk

0 commit comments

Comments
 (0)