2018-10-24 02:26:26 +02:00
|
|
|
#!/bin/bash
|
2020-04-16 10:50:39 +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
|
2018-11-07 04:09:24 +01:00
|
|
|
# Generic generate.sh for scripts that use top.py to generate top.v
|
|
|
|
|
# and then use generate.py for segment generation
|
2018-10-24 02:26:26 +02:00
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
2018-12-03 21:00:06 +01:00
|
|
|
export FUZDIR=$PWD
|
2018-10-24 02:26:26 +02:00
|
|
|
source ${XRAY_GENHEADER}
|
2019-01-09 22:54:53 +01:00
|
|
|
|
|
|
|
|
echo '`define SEED 32'"'h$(echo $1 | md5sum | cut -c1-8)" > setseed.vh
|
|
|
|
|
|
2019-01-07 17:36:33 +01:00
|
|
|
make -f $XRAY_DIR/utils/top_generate.mk
|
2018-10-24 02:26:26 +02:00
|
|
|
|