mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-11-18 08:54:44 +00:00
add fpga config for pulp & marsellus
This commit is contained in:
parent
ea661b8e01
commit
60938c29c7
2 changed files with 46 additions and 0 deletions
23
configs/fpgas/marsellus/virtex7.sh
Normal file
23
configs/fpgas/marsellus/virtex7.sh
Normal 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
|
||||||
23
configs/fpgas/pulp/virtex7.sh
Normal file
23
configs/fpgas/pulp/virtex7.sh
Normal 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
|
||||||
Loading…
Reference in a new issue