2020-04-16 10:15:28 +02:00
|
|
|
# Copyright (C) 2017-2020 The Project X-Ray Authors.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a ISC-style
|
|
|
|
|
# license that can be found in the LICENSE file or at
|
|
|
|
|
# https://opensource.org/licenses/ISC
|
|
|
|
|
#
|
|
|
|
|
# SPDX-License-Identifier: ISC
|
2019-07-23 14:33:52 +02:00
|
|
|
SLICEL_SDFS = build/CLBLL_L.sdf build/CLBLL_R.sdf build/CLBLM_L.sdf build/CLBLM_R.sdf
|
|
|
|
|
SLICEM_SDFS = build/CLBLL_L.sdf build/CLBLL_R.sdf build/CLBLM_L.sdf build/CLBLM_R.sdf
|
2019-04-01 21:05:16 +02:00
|
|
|
|
2019-07-23 14:33:52 +02:00
|
|
|
all: build/all_sdf.ok
|
|
|
|
|
|
|
|
|
|
build/all_sdf.ok: build/carry4_slicel.sdf build/carry4_slicem.sdf
|
|
|
|
|
touch build/all_sdf.ok
|
2019-04-01 21:05:16 +02:00
|
|
|
clean:
|
|
|
|
|
rm -rf build
|
|
|
|
|
|
2019-07-02 19:04:10 +02:00
|
|
|
build/run.ok:
|
2019-04-01 21:05:16 +02:00
|
|
|
bash runme.sh
|
2019-07-23 14:33:52 +02:00
|
|
|
touch build/run.ok
|
2019-04-01 21:05:16 +02:00
|
|
|
|
2019-07-02 19:04:10 +02:00
|
|
|
build/fixup_timings: build/run.ok
|
2019-06-04 11:23:30 +02:00
|
|
|
python3 fixup_timings_txt.py --txtin build/bel_timings.txt --txtout build/bel_timings.txt --site RAMBFIFO36E1 --slice BRAM_L --type timings
|
|
|
|
|
python3 fixup_timings_txt.py --txtin build/bel_timings.txt --txtout build/bel_timings.txt --site RAMBFIFO36E1 --slice BRAM_R --type timings
|
|
|
|
|
python3 fixup_timings_txt.py --txtin build/bel_pins.txt --txtout build/bel_pins.txt --site RAMBFIFO36E1 --slice BRAM_L --type pins
|
|
|
|
|
python3 fixup_timings_txt.py --txtin build/bel_pins.txt --txtout build/bel_pins.txt --site RAMBFIFO36E1 --slice BRAM_R --type pins
|
|
|
|
|
python3 fixup_timings_txt.py --txtin build/bel_properties.txt --txtout build/bel_properties.txt --site RAMBFIFO36E1 --slice BRAM_L --type properties
|
|
|
|
|
python3 fixup_timings_txt.py --txtin build/bel_properties.txt --txtout build/bel_properties.txt --site RAMBFIFO36E1 --slice BRAM_R --type properties
|
2020-02-12 05:09:17 +01:00
|
|
|
touch build/fixup_timings
|
2019-06-04 11:23:30 +02:00
|
|
|
|
|
|
|
|
build/bel_timings.json: build/fixup_timings
|
2019-05-30 10:11:40 +02:00
|
|
|
python3 tim2json.py --timings=build/bel_timings.txt --json=build/bel_timings.json --properties=build/bel_properties.txt --propertiesmap=properties_map.json --pinaliasmap=pin_alias_map.json --belpins=build/bel_pins.txt --sitepins=build/tile_pins.txt --debug true
|
2019-04-01 21:05:16 +02:00
|
|
|
|
2019-06-20 19:28:55 +02:00
|
|
|
build/sdf.ok: build/bel_timings.json
|
2019-05-24 15:05:53 +02:00
|
|
|
python3 ${XRAY_UTILS_DIR}/makesdf.py --json=${PWD}/build/bel_timings.json --sdf=${PWD}/build
|
2019-06-20 13:35:02 +02:00
|
|
|
touch build/sdf.ok
|
2019-04-17 16:50:15 +02:00
|
|
|
|
2019-07-23 14:33:52 +02:00
|
|
|
build/slicem.sdf: build/sdf.ok
|
|
|
|
|
python3 ${XRAY_UTILS_DIR}/sdfmerge.py --sdfs $(SLICEL_SDFS) --site SLICEM --out build/slicem.sdf
|
|
|
|
|
|
|
|
|
|
build/slicel.sdf: build/sdf.ok
|
|
|
|
|
python3 ${XRAY_UTILS_DIR}/sdfmerge.py --sdfs $(SLICEL_SDFS) --site SLICEL --out build/slicel.sdf
|
|
|
|
|
|
|
|
|
|
build/carry4_slicem.sdf: build/slicem.sdf
|
|
|
|
|
python3 carry4delays.py --input build/slicem.sdf --output build/carry4_slicem.sdf
|
|
|
|
|
|
|
|
|
|
build/carry4_slicel.sdf: build/slicel.sdf
|
|
|
|
|
python3 carry4delays.py --input build/slicel.sdf --output build/carry4_slicel.sdf
|