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-05-07 15:57:39 +02:00
|
|
|
N ?= 50
|
2019-02-12 18:54:51 +01:00
|
|
|
|
|
|
|
|
include ../fuzzer.mk
|
|
|
|
|
|
|
|
|
|
database: build/segbits_clk_bufg_rebuf.db
|
|
|
|
|
|
|
|
|
|
build/segbits_clk_bufg_rebuf.rdb: $(SPECIMENS_OK)
|
2019-02-12 22:22:29 +01:00
|
|
|
${XRAY_SEGMATCH} -c 1 -o build/segbits_clk_bufg_rebuf.rdb \
|
2019-02-12 18:54:51 +01:00
|
|
|
$(addsuffix /segdata_clk_bufg_rebuf.txt,$(SPECIMENS))
|
|
|
|
|
|
|
|
|
|
build/segbits_clk_bufg_rebuf.db: build/segbits_clk_bufg_rebuf.rdb
|
|
|
|
|
${XRAY_DBFIXUP} --db-root build --zero-db bits.dbf \
|
|
|
|
|
--seg-fn-in build/segbits_clk_bufg_rebuf.rdb \
|
|
|
|
|
--seg-fn-out build/segbits_clk_bufg_rebuf.db
|
|
|
|
|
${XRAY_MASKMERGE} build/mask_clk_bufg_rebuf.db \
|
|
|
|
|
$(addsuffix /segdata_clk_bufg_rebuf.txt,$(SPECIMENS))
|
|
|
|
|
|
|
|
|
|
pushdb: database
|
|
|
|
|
${XRAY_MERGEDB} clk_bufg_rebuf build/segbits_clk_bufg_rebuf.db
|
|
|
|
|
${XRAY_MERGEDB} mask_clk_bufg_rebuf build/mask_clk_bufg_rebuf.db
|
|
|
|
|
|
|
|
|
|
.PHONY: database pushdb
|