Skip to content

Commit

Permalink
remove dangerous make clean directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Risto97 committed Sep 15, 2024
1 parent 9d9b2c0 commit 9f2e9cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion cmake/sim/iverilog/iverilog.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ function(iverilog IP_LIB)
-o ${ARG_EXECUTABLE}
${SOURCES}
COMMAND touch ${STAMP_FILE}
BYPRODUCTS ${OUTDIR}
DEPENDS ${SOURCES}
COMMENT ${DESCRIPTION}
)
Expand Down
5 changes: 1 addition & 4 deletions examples/sim_example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ ip_sources(${IP} VERILOG # Add source files to the VERILOG file set
${PROJECT_SOURCE_DIR}/tb.v
)

iverilog(${IP}
OUTDIR ${PROJECT_BINARY_DIR}/random # Create iverilog target
EXECUTABLE ${PROJECT_BINARY_DIR}/tb
)
iverilog(${IP})

verilate(${IP} # Create verilate target
MAIN) # Let Verilator create a main.cpp testbench
Expand Down

0 comments on commit 9f2e9cd

Please sign in to comment.