Skip to content

Commit

Permalink
[vivado ip] minor clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
stnolting committed Jul 7, 2024
1 parent 3a972da commit 3986dd3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions rtl/system_integration/neorv32_vivado_ip.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# -- NEORV32 - Vivado IP Packaging + Customization GUI Setup --
# -- -------------------------------------------------------------------------------- --
# -- This scripts packages the entire processor as Vivado IP module including a fancy --
# -- customization GUI. --
# -- See the NEORV32 Datasheet and User Guide for more information. --
# -- customization GUI. See the NEORV32 Datasheet & User Guide for more information. --
# -- -------------------------------------------------------------------------------- --
# -- The NEORV32 RISC-V Processor - https://github.com/stnolting/neorv32 --
# -- Copyright (c) NEORV32 contributors. --
Expand All @@ -12,14 +11,15 @@
# -- SPDX-License-Identifier: BSD-3-Clause --
# -- ================================================================================ --


# **************************************************************
# Global configuration
# **************************************************************
set neorv32_home ../..
set rtl_top neorv32_vivado_ip.vhd
set logo docs/figures/neorv32_logo_riscv_small.png
set outputdir neorv32_vivado_ip_work
set cur_dir [ file normalize .]
set cur_dir [file normalize .]


# **************************************************************
Expand All @@ -46,16 +46,14 @@ set_property target_language VHDL [current_project]
# Add HDL source files
# **************************************************************
add_files [glob $neorv32_home/rtl/core/*.vhd]
add_file $neorv32_home/rtl/core/mem/neorv32_dmem.default.vhd
add_file $neorv32_home/rtl/core/mem/neorv32_imem.default.vhd
add_files [glob $neorv32_home/rtl/core/mem/neorv32_*mem.default.vhd]
add_file $neorv32_home/rtl/system_integration/$rtl_top

set_property library neorv32 [get_files [glob $neorv32_home/rtl/core/*.vhd]]
set_property library neorv32 [get_files [glob $neorv32_home/rtl/core/mem/neorv32_*mem.default.vhd]]
set_property library neorv32 [get_files [glob $neorv32_home/rtl/system_integration/$rtl_top]]

set_property top $rtl_top [current_fileset]

update_compile_order -fileset sources_1


Expand Down

0 comments on commit 3986dd3

Please sign in to comment.