add fpga config for pulp & marsellus

This commit is contained in:
Angelo Garofalo 2020-03-15 22:31:21 +01:00
parent ea661b8e01
commit 60938c29c7
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,23 @@
#!/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 50MHz SoC Frequency
export PULPRT_CONFIG_CFLAGS='-DARCHI_FPGA_FREQUENCY=50000000'
export io=uart

View file

@ -0,0 +1,23 @@
#!/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 50MHz SoC Frequency
export PULPRT_CONFIG_CFLAGS='-DARCHI_FPGA_FREQUENCY=50000000'
export io=uart