mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-14 20:48:09 +00:00
Control-pulp doesn't have an FLL so we hardcode the frequency domain values. Furthermore we allow these hardcoded values to change depending on whether we target the FPGA (zcu102) or rtl sim.
19 lines
464 B
Bash
19 lines
464 B
Bash
#!/bin/bash -e
|
|
|
|
export PULPRT_TARGET=control-pulp
|
|
export PULPRUN_TARGET=control-pulp
|
|
|
|
if [ -n "${ZSH_VERSION:-}" ]; then
|
|
DIR="$(readlink -f -- "${(%):-%x}")"
|
|
scriptDir="$(dirname $DIR)"
|
|
else
|
|
|
|
scriptDir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
|
|
|
fi
|
|
|
|
source $scriptDir/common.sh
|
|
|
|
export PULPRT_CONFIG_CFLAGS='-DARCHI_ASIC_PER_FREQUENCY=100000000 \
|
|
-DARCHI_ASIC_FC_FREQUENCY=100000000 \
|
|
-DARCHI_ASIC_CL_FREQUENCY=100000000'
|