Skip to content

Commit

Permalink
Remove some of the functions for repository to be cleaner. The remove…
Browse files Browse the repository at this point in the history
…d functions were only temporary added initially
  • Loading branch information
Risto97 committed Sep 15, 2024
1 parent 93bf5a7 commit c9e4b70
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 1,107 deletions.
15 changes: 10 additions & 5 deletions SoCMakeConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,32 @@ cmake_minimum_required(VERSION 3.25)

set(SoCMake_FOUND TRUE)

include("${CMAKE_CURRENT_LIST_DIR}/cmake/hwip.cmake")
# ====================================
# ======== Core functions ============
# ====================================
include("${CMAKE_CURRENT_LIST_DIR}/cmake/utils/socmake_graph.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/hwip.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/utils/subdirectory_search.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/utils/add_subdirs.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/utils/get_all_targets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/utils/print_help.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/utils/graphviz.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/utils/multi_option.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/utils/find_python.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/utils/print_list.cmake")

# ====================================
# ======== Additional utilities ======
# ====================================
include("${CMAKE_CURRENT_LIST_DIR}/cmake/utils/copy_rtl_files/copy_rtl_files.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/utils/copy_rtl_files/vhier.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/utils/print_list.cmake")

# ====================================
# ======== Simulation ================
# ====================================

# ----- Verilator ------
include("${CMAKE_CURRENT_LIST_DIR}/cmake/sim/verilator/verilate.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/sim/verilator/verilate_xml.cmake")

# ----- iverilog ------
include("${CMAKE_CURRENT_LIST_DIR}/cmake/sim/iverilog/iverilog.cmake")
Expand Down Expand Up @@ -80,7 +87,6 @@ include("${CMAKE_CURRENT_LIST_DIR}/cmake/synth/yosys/yosys_build.cmake")
# ====================================

include("${CMAKE_CURRENT_LIST_DIR}/cmake/tmrg/tmrg/tmrg.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/tmrg/tmrv/tmrv.cmake")

# ====================================
# ======== FIRMWARE ==================
Expand All @@ -89,7 +95,6 @@ include("${CMAKE_CURRENT_LIST_DIR}/cmake/tmrg/tmrv/tmrv.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/firmware/fw_utils.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/firmware/add_tests.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/firmware/linker_script/gen_lds.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/cmake/firmware/linker_script/src/lds_props.cmake")

set(IBEX_TOOLCHAIN "${CMAKE_CURRENT_LIST_DIR}/cmake/firmware/toolchains/riscv_toolchain.cmake" CACHE INTERNAL "IBEX_TOOLCHAIN")

Expand Down
215 changes: 0 additions & 215 deletions cmake/firmware/linker_script/src/gen_linker_script.py

This file was deleted.

13 changes: 0 additions & 13 deletions cmake/firmware/linker_script/src/lds_props.cmake

This file was deleted.

11 changes: 0 additions & 11 deletions cmake/firmware/linker_script/src/lds_props.rdl

This file was deleted.

Loading

0 comments on commit c9e4b70

Please sign in to comment.