Initial commit
This commit is contained in:
18
Libs/RiscV_test/NEORV32_test/simple/ghdl.setup.sh
Normal file
18
Libs/RiscV_test/NEORV32_test/simple/ghdl.setup.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
cd $(dirname "$0")
|
||||
|
||||
NEORV32_LOCAL_RTL=${NEORV32_LOCAL_RTL:-../../rtl}
|
||||
|
||||
mkdir -p build
|
||||
|
||||
ghdl -i --work=neorv32 --workdir=build \
|
||||
"$NEORV32_LOCAL_RTL"/core/*.vhd \
|
||||
"$NEORV32_LOCAL_RTL"/core/mem/*.vhd \
|
||||
"$NEORV32_LOCAL_RTL"/processor_templates/*.vhd \
|
||||
"$NEORV32_LOCAL_RTL"/system_integration/*.vhd \
|
||||
"$NEORV32_LOCAL_RTL"/test_setups/*.vhd \
|
||||
neorv32_tb.simple.vhd \
|
||||
uart_rx.simple.vhd
|
||||
Reference in New Issue
Block a user