-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework (and auto-generate) file-list files (#972)
- Loading branch information
Showing
9 changed files
with
148 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_package.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_fifo.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_decompressor.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_control.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_regfile.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_cp_shifter.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_cp_muldiv.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_cp_bitmanip.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_cp_fpu.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_cp_cfu.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_cp_cond.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_alu.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_lsu.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_pmp.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_bootloader_image.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_application_image.vhd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_package.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_clockgate.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_fifo.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_decompressor.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_control.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_regfile.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_cp_shifter.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_cp_muldiv.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_cp_bitmanip.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_cp_fpu.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_cp_cfu.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_cp_cond.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_alu.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_lsu.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu_pmp.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cpu.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_intercon.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cache.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_dma.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_imem.entity.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_dmem.entity.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_boot_rom.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_xip.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_xbus.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_cfs.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_sdi.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_gpio.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_wdt.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_mtime.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_uart.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_spi.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_twi.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_pwm.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_trng.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_neoled.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_xirq.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_gptmr.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_onewire.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_slink.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_crc.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_sysinfo.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_debug_dtm.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_debug_dm.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_top.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_bootloader_image.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/neorv32_application_image.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/mem/neorv32_imem.legacy.vhd | ||
NEORV32_RTL_PATH_PLACEHOLDER/core/mem/neorv32_dmem.legacy.vhd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Generate file lists for the CPU and the entire processor/SoC | ||
# using GHDL's elaborate option. | ||
|
||
set -e | ||
|
||
cd $(dirname "$0") | ||
|
||
mkdir -p ~build | ||
|
||
ghdl -i --work=neorv32 --workdir=~build core/*.vhd core/mem/*.vhd | ||
|
||
echo "Regenerating file_list_cpu.f ..." | ||
ghdl --elab-order --work=neorv32 --workdir=~build neorv32_cpu > ~file_list_cpu.f | ||
while IFS= read -r line; do | ||
echo "NEORV32_RTL_PATH_PLACEHOLDER/$line" | ||
done < ~file_list_cpu.f > file_list_cpu.f | ||
|
||
echo "Regenerating file_list_soc.f ..." | ||
ghdl --elab-order --work=neorv32 --workdir=~build neorv32_top > ~file_list_soc.f | ||
while IFS= read -r line; do | ||
echo "NEORV32_RTL_PATH_PLACEHOLDER/$line" | ||
done < ~file_list_soc.f > file_list_soc.f | ||
|
||
rm ~file_list_cpu.f ~file_list_soc.f | ||
rm -rf ~build |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters