mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 14:17:51 -04:00
[sim] use file lists for simple GHDL setup
experimental!
This commit is contained in:
parent
e3ef6aeae9
commit
14ef5396fb
1 changed files with 4 additions and 2 deletions
|
@ -6,11 +6,13 @@ cd $(dirname "$0")
|
|||
|
||||
NEORV32_LOCAL_RTL=${NEORV32_LOCAL_RTL:-../../rtl}
|
||||
|
||||
FILE_LIST=`cat $NEORV32_LOCAL_RTL/file_list_soc.f`
|
||||
CORE_SRCS="${FILE_LIST//NEORV32_RTL_PATH_PLACEHOLDER/"$NEORV32_LOCAL_RTL"}"
|
||||
|
||||
mkdir -p build
|
||||
|
||||
ghdl -i --work=neorv32 --workdir=build \
|
||||
"$NEORV32_LOCAL_RTL"/core/*.vhd \
|
||||
"$NEORV32_LOCAL_RTL"/core/mem/*.vhd \
|
||||
$CORE_SRCS \
|
||||
"$NEORV32_LOCAL_RTL"/processor_templates/*.vhd \
|
||||
"$NEORV32_LOCAL_RTL"/system_integration/*.vhd \
|
||||
"$NEORV32_LOCAL_RTL"/test_setups/*.vhd \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue