Skip to content

Commit

Permalink
[sim] ghdl: only use files from rtl/core
Browse files Browse the repository at this point in the history
  • Loading branch information
stnolting committed Dec 19, 2024
1 parent a38f7d8 commit 9d13cc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sim/ghdl.run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ chmod 777 neorv32_tb.uart0_rx.out neorv32_tb.uart1_rx.out
mkdir -p build

# GHDL import
find ../rtl ../sim -type f -name '*.vhd' -exec \
ghdl -i --std=08 --workdir=build --ieee=standard --work=neorv32 {} \;
find ../rtl/core ../sim -type f -name '*.vhd' -exec \
ghdl -i --std=08 --workdir=build --ieee=standard --work=neorv32 {} \;

# GHDL analyze
$GHDL -m --work=neorv32 --workdir=build --std=08 neorv32_tb
Expand Down

0 comments on commit 9d13cc5

Please sign in to comment.