mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-24 22:17:45 +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.
21 lines
503 B
Bash
21 lines
503 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 PULPRUN_PLATFORM=fpga
|
|
|
|
export PULPRT_CONFIG_CFLAGS='-DARCHI_FPGA_PER_FREQUENCY=10000000 \
|
|
-DARCHI_FPGA_FC_FREQUENCY=20000000 \
|
|
-DARCHI_FPGA_CL_FREQUENCY=20000000'
|
|
|
|
export io=uart
|