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-06-26 21:39:50 +02:00
|
|
|
N := 50
|
2018-12-19 01:51:13 +01:00
|
|
|
include ../fuzzer.mk
|
|
|
|
|
|
2019-06-26 21:39:50 +02:00
|
|
|
database: build/segbits_cmt_top_upper_t.db
|
2018-12-19 01:51:13 +01:00
|
|
|
|
2019-06-26 21:39:50 +02:00
|
|
|
build/segbits_cmt_top_upper_t.rdb: $(SPECIMENS_OK)
|
2019-07-03 03:22:34 +02:00
|
|
|
${XRAY_SEGMATCH} -c 150 -o build/segbits_cmt_top_upper_t.rdb \
|
2019-07-09 02:16:45 +02:00
|
|
|
$(shell find build -name "segdata_cmt_top_*_upper_t.txt")
|
2019-06-26 21:39:50 +02:00
|
|
|
|
|
|
|
|
build/segbits_cmt_top_upper_t.db: build/segbits_cmt_top_upper_t.rdb write_pll_reg.py
|
|
|
|
|
python3 write_pll_reg.py \
|
|
|
|
|
--seg_in build/segbits_cmt_top_upper_t.rdb \
|
|
|
|
|
> build/segbits_cmt_top_upper_t.rdb2
|
|
|
|
|
${XRAY_DBFIXUP} --db-root build --zero-db bits.dbf \
|
|
|
|
|
--seg-fn-in build/segbits_cmt_top_upper_t.rdb2 \
|
|
|
|
|
--seg-fn-out build/segbits_cmt_top_upper_t.db
|
|
|
|
|
|
|
|
|
|
pushdb: database
|
|
|
|
|
${XRAY_MERGEDB} cmt_top_r_upper_t build/segbits_cmt_top_upper_t.db
|
|
|
|
|
${XRAY_MERGEDB} cmt_top_l_upper_t build/segbits_cmt_top_upper_t.db
|
2018-12-19 01:51:13 +01:00
|
|
|
|
|
|
|
|
.PHONY: database pushdb
|
|
|
|
|
|