From 634ca791c7b17e5c7fe8aed36a58ab0f49fe4c62 Mon Sep 17 00:00:00 2001 From: Karol Gugala Date: Mon, 22 Apr 2019 18:35:54 +0200 Subject: [PATCH] fuzzers: 007: bel: merge slicel and slicem timigs Signed-off-by: Karol Gugala --- fuzzers/007-timing/bel/Makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/fuzzers/007-timing/bel/Makefile b/fuzzers/007-timing/bel/Makefile index f1bdc456..46d32eb8 100644 --- a/fuzzers/007-timing/bel/Makefile +++ b/fuzzers/007-timing/bel/Makefile @@ -1,4 +1,4 @@ -all: build/sdf +all: pushdb clean: rm -rf build @@ -10,10 +10,16 @@ build/bel_timings.json: build/bel_timings.txt python3 tim2json.py --timings=build/bel_timings.txt --json=build/bel_timings.json --properties=build/bel_properties.txt --belpins=build/bel_pins.txt --sitepins=build/tile_pins.txt build/sdf: build/bel_timings.json - python3 ${XRAY_UTILS_DIR}/makesdf.py --json=${PWD}/build/bel_timings.json --sdf=${PWD}/build - mkdir -p ${XRAY_DATABASE_DIR}/${XRAY_DATABASE}/timings - cp build/*sdf ${XRAY_DATABASE_DIR}/${XRAY_DATABASE}/timings - touch run.ok + python ${XRAY_UTILS_DIR}/makesdf.py --json=${PWD}/build/bel_timings.json --sdf=${PWD}/build cleandb: rm -rf ${XRAY_DATABASE_DIR}/${XRAY_DATABASE}/timings + +mergesdfs: build/sdf + python ${XRAY_UTILS_DIR}/sdfmerge.py --sdfs build/CLBLL_L.sdf build/CLBLL_R.sdf build/CLBLM_L.sdf build/CLBLM_R.sdf --site SLICEM --out build/slicem.sdf + python ${XRAY_UTILS_DIR}/sdfmerge.py --sdfs build/CLBLL_L.sdf build/CLBLL_R.sdf build/CLBLM_L.sdf build/CLBLM_R.sdf --site SLICEL --out build/slicel.sdf + +pushdb: mergesdfs + mkdir -p ${XRAY_DATABASE_DIR}/${XRAY_DATABASE}/timings + cp build/*sdf ${XRAY_DATABASE_DIR}/${XRAY_DATABASE}/timings + touch run.ok