pulp-runtime/configs/fpgas/pulp/virtex7.sh

22 lines
431 B
Bash
Raw Permalink Normal View History

2020-03-15 21:31:21 +00:00
#!/bin/bash -e
export PULPRT_TARGET=pulp
export PULPRUN_TARGET=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
#Virtex7 uses 10MHz SoC Frequency
2020-04-01 19:24:07 +00:00
export PULPRT_CONFIG_CFLAGS='-DARCHI_FPGA_FREQUENCY=10000000'
2020-03-15 21:31:21 +00:00
export io=uart