mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-19 05:35:47 +00:00
CMake: integrate silimate additions and extensions
- update CMakeLists.txt to load two new files: - SilimateConfig.cmake: sets Silimate configuration options and defaults - SilimateVerific.cmake: compiles Verific library, optionally with Silimate modifications - include silimate tests in test Makefile
This commit is contained in:
parent
e58125b605
commit
d986ee91ac
15 changed files with 380 additions and 22 deletions
|
|
@ -2,7 +2,7 @@ if (NOT YOSYS_ENABLE_VERIFIC)
|
|||
# Stub interface library.
|
||||
add_library(verific INTERFACE)
|
||||
set(verific_data_files)
|
||||
else()
|
||||
elseif (NOT TARGET verific)
|
||||
if (NOT YOSYS_VERIFIC_COMPONENTS)
|
||||
get_verific_components(YOSYS_VERIFIC_COMPONENTS)
|
||||
endif()
|
||||
|
|
@ -58,6 +58,7 @@ yosys_frontend(verific
|
|||
$<$<IN_LIST:edif,${YOSYS_VERIFIC_FEATURES}>:VERIFIC_EDIF_SUPPORT>
|
||||
$<$<IN_LIST:liberty,${YOSYS_VERIFIC_FEATURES}>:VERIFIC_LIBERTY_SUPPORT>
|
||||
$<$<IN_LIST:extensions,${YOSYS_VERIFIC_FEATURES}>:YOSYSHQ_VERIFIC_EXTENSIONS>
|
||||
$<${ENABLE_VERIFIC_SILIMATE_EXTENSIONS}:SILIMATE_VERIFIC_EXTENSIONS>
|
||||
LIBRARIES
|
||||
verific
|
||||
REQUIRES
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue