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

24 lines
443 B
Bash
Raw Permalink Normal View History

2020-03-15 21:31:21 +00:00
#!/bin/bash -e
export PULPRT_TARGET=marsellus
export PULPRUN_TARGET=marsellus
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
2020-04-01 18:33:28 +00:00
export io=uart
2020-03-15 21:31:21 +00:00