f4pga/f4pga-env
Unai Martinez-Corral 80748d7516 add f4pga-env
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-04-21 13:29:02 +02:00

21 lines
293 B
Bash
Executable file

#!/usr/bin/env bash
set -e
case "$1" in
bin)
(
cd $(dirname "$0")
pwd
)
;;
share)
(
case "$F4PGA_FAM" in
xc7) cd $(dirname "$0")/../share/symbiflow;;
eos-s3) cd $(dirname "$0")/../share;;
esac
pwd
)
;;
esac