From 60938c29c7cac3b17d3a5301fe77c56ed7e8fdde Mon Sep 17 00:00:00 2001 From: Angelo Garofalo Date: Sun, 15 Mar 2020 22:31:21 +0100 Subject: [PATCH] add fpga config for pulp & marsellus --- configs/fpgas/marsellus/virtex7.sh | 23 +++++++++++++++++++++++ configs/fpgas/pulp/virtex7.sh | 23 +++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 configs/fpgas/marsellus/virtex7.sh create mode 100644 configs/fpgas/pulp/virtex7.sh diff --git a/configs/fpgas/marsellus/virtex7.sh b/configs/fpgas/marsellus/virtex7.sh new file mode 100644 index 0000000..02a6612 --- /dev/null +++ b/configs/fpgas/marsellus/virtex7.sh @@ -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 \ No newline at end of file diff --git a/configs/fpgas/pulp/virtex7.sh b/configs/fpgas/pulp/virtex7.sh new file mode 100644 index 0000000..5b31806 --- /dev/null +++ b/configs/fpgas/pulp/virtex7.sh @@ -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 \ No newline at end of file