mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-01 21:18:55 +00:00
Merge b6c57ce9bf into 5d7486115a
This commit is contained in:
commit
ba9e28499f
9 changed files with 70 additions and 7 deletions
|
|
@ -6,5 +6,6 @@ add_subdirectory(json)
|
|||
add_subdirectory(liberty)
|
||||
add_subdirectory(rpc)
|
||||
add_subdirectory(rtlil)
|
||||
add_subdirectory(slang)
|
||||
add_subdirectory(verific)
|
||||
add_subdirectory(verilog)
|
||||
|
|
|
|||
39
frontends/slang/CMakeLists.txt
Normal file
39
frontends/slang/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
include(lib/cmake/GitRevision.cmake)
|
||||
git_rev_parse(YOSYS_SLANG_REVISION ${CMAKE_CURRENT_SOURCE_DIR}/lib)
|
||||
git_rev_parse(SLANG_REVISION ${PROJECT_SOURCE_DIR}/libs/slang)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lib/src/version.h.in ${CMAKE_CURRENT_BINARY_DIR}/version.h)
|
||||
|
||||
yosys_frontend(slang
|
||||
lib/src/abort_helpers.cc
|
||||
lib/src/addressing.cc
|
||||
lib/src/async_pattern.cc
|
||||
lib/src/async_pattern.h
|
||||
lib/src/blackboxes.cc
|
||||
lib/src/builder.cc
|
||||
lib/src/cases.cc
|
||||
lib/src/cases.h
|
||||
lib/src/diag.cc
|
||||
lib/src/diag.h
|
||||
lib/src/initialization.cc
|
||||
lib/src/lvalue.cc
|
||||
lib/src/memory.h
|
||||
lib/src/naming.cc
|
||||
lib/src/procedural.cc
|
||||
lib/src/slang_frontend.cc
|
||||
lib/src/slang_frontend.h
|
||||
lib/src/statements.h
|
||||
lib/src/sva.cc
|
||||
lib/src/variables.cc
|
||||
lib/src/variables.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/version.h
|
||||
ENABLE_IF
|
||||
YOSYS_ENABLE_SLANG
|
||||
INCLUDE_DIRS
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
LIBRARIES
|
||||
$<${YOSYS_ENABLE_SLANG}:slang::slang>
|
||||
fmt::fmt
|
||||
)
|
||||
|
||||
# TODO: remove next line when warnings/errors are fixed
|
||||
set_target_properties(yosys_read_slang PROPERTIES YOSYS_IS_ABC ON)
|
||||
1
frontends/slang/lib
Submodule
1
frontends/slang/lib
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 3251530961e0e8a8054098c9bb8376474958944a
|
||||
Loading…
Add table
Add a link
Reference in a new issue