Skip to content

Commit

Permalink
fixup! WIP: [#64890] Add VCS support and unify usage of simulators
Browse files Browse the repository at this point in the history
  • Loading branch information
JanOlencki committed Sep 10, 2024
1 parent 1de2ac2 commit 6118d31
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 24 deletions.
4 changes: 0 additions & 4 deletions samples/ahb_dma/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,5 @@ set(SIM_FILES dma_ahb_simple.v)
set(VERILATOR_CSOURCES ../../cpp/sim_main_dpi.cpp)
set(VERILATOR_ARGS -Wno-WIDTH -Wno-CASEINCOMPLETE --timing)

# Questa variables
set(QUESTA_ARGS "")
set(QUESTA_OPTIMIZATION_ARGS -floatparameters+ReceiverPort+SenderPort+Address)

# CMake file doing the hard job
include(../../cmake/build-cosimulation.cmake)
4 changes: 0 additions & 4 deletions samples/ahb_mem/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,5 @@ set(SIM_FILES mem_ahb.v)
set(VERILATOR_CSOURCES ../../cpp/sim_main_dpi.cpp)
set(VERILATOR_ARGS --timing)

# Questa variables
set(QUESTA_ARGS "")
set(QUESTA_OPTIMIZATION_ARGS -floatparameters+ReceiverPort+SenderPort+Address)

# CMake file doing the hard job
include(../../cmake/build-cosimulation.cmake)
4 changes: 0 additions & 4 deletions samples/apb3_completer_mem/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,5 @@ set(SIM_FILES apb3_completer_mem.sv)
set(VERILATOR_CSOURCES ../../cpp/sim_main_dpi.cpp)
set(VERILATOR_ARGS --timing)

# Questa variables
set(QUESTA_ARGS "")
set(QUESTA_OPTIMIZATION_ARGS -floatparameters+ReceiverPort+SenderPort+Address)

# CMake file doing the hard job
include(../../cmake/build-cosimulation.cmake)
4 changes: 0 additions & 4 deletions samples/apb3_requester_synth/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,5 @@ set(SIM_FILES
set(VERILATOR_CSOURCES ../../cpp/sim_main_dpi.cpp)
set(VERILATOR_ARGS --timing)

# Questa variables
set(QUESTA_ARGS "")
set(QUESTA_OPTIMIZATION_ARGS -floatparameters+ReceiverPort+SenderPort+Address)

# CMake file doing the hard job
include(../../cmake/build-cosimulation.cmake)
4 changes: 0 additions & 4 deletions samples/apb3_standalone/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,5 @@ set(SIM_FILES
set(VERILATOR_CSOURCES sim_main.cpp)
set(VERILATOR_ARGS --timing --assert)

# Questa variables
set(QUESTA_ARGS "")
set(QUESTA_OPTIMIZATION_ARGS "")

# CMake file doing the hard job
include(../../cmake/build-cosimulation.cmake)
3 changes: 1 addition & 2 deletions samples/axi_fastvdma/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ set(AXI_DATA_WIDTH 32 CACHE STRING "Width of data channels in the AXI data bus")
set(VERILATOR_ARGS --timing -GAXIDataWidth=${AXI_DATA_WIDTH})

# Questa variables
set(QUESTA_ARGS "")
set(QUESTA_OPTIMIZATION_ARGS -floatparameters+ReceiverPort+SenderPort+Address -GAXIDataWidth=${AXI_DATA_WIDTH})
set(QUESTA_OPTIMIZATION_ARGS GAXIDataWidth=${AXI_DATA_WIDTH})

# CMake file doing the hard job
include(../../cmake/build-cosimulation.cmake)
3 changes: 1 addition & 2 deletions samples/axi_ram/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ set(AXI_DATA_WIDTH 64 CACHE STRING "Width of data channels in the AXI data bus")
set(VERILATOR_ARGS -Wno-WIDTH -Wno-CASEINCOMPLETE -Wno-UNSIGNED --timing -GAXIDataWidth=${AXI_DATA_WIDTH})

# Questa variables
set(QUESTA_ARGS "")
set(QUESTA_OPTIMIZATION_ARGS -floatparameters+ReceiverPort+SenderPort+Address -GAXIDataWidth=${AXI_DATA_WIDTH})
set(QUESTA_OPTIMIZATION_ARGS -GAXIDataWidth=${AXI_DATA_WIDTH})

# CMake file doing the hard job
include(../../cmake/build-cosimulation.cmake)

0 comments on commit 6118d31

Please sign in to comment.