Skip to content

Commit 341a972

Browse files
committed
Added header explanation to patch_slang.cmake
1 parent 787af05 commit 341a972

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

libs/EXTERNAL/patch_slang.cmake

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# Patch step for yosys-slang
2+
#
3+
# The variable 'IN' points to vtr_root/libs/EXTERNAL/yosys-slang/src/slang_frontend.cc
4+
# This file contains the UndrivenPass that we want to disable
5+
#
6+
# This patch step finds the line where the UndrivenPass is called and comments out that line
7+
#
8+
# The UndrivenPass needs to be disabled due to unsupported synchronous rules in vtr_primitives.v
9+
110
if(NOT DEFINED IN)
211
message(FATAL_ERROR "patch_slang.cmake: IN (SLANG_FE) variable not set.")
312
endif()

0 commit comments

Comments
 (0)