Skip to content

Generate sources list on top of develop branch#213

Open
benoitdenkinger wants to merge 14 commits into
developfrom
generate_sources_list_on_top_of_develop
Open

Generate sources list on top of develop branch#213
benoitdenkinger wants to merge 14 commits into
developfrom
generate_sources_list_on_top_of_develop

Conversation

@benoitdenkinger
Copy link
Copy Markdown
Contributor

Rebased version of #198 on develop branch

mksoc and others added 13 commits May 19, 2026 09:14
- Remove copy_rtl_files.cmake and copy_rtl_files.py utilities
- Add generate_sources_list.cmake and generate_sources_list.py using slang
- Move and update read_rtl_sources.cmake for new source list format
- Update SoCMakeConfig.cmake and tests to use new utilities
- Remove vhier.cmake and its inclusion from SoCMakeConfig.cmake
- Remove vhier module source files and submodule definitions
- Delete vhier test directory, CMakeLists, and golden.xml
- Update tests CMakeLists to drop vhier subdirectory
… files

- Generate separate rtl_sources.f and include_sources.f files
- Update slang arguments to use --Mmodule and --Minclude options
…ang invocation in CMake

It follows @Risto97 feedback in the MR [1]

- Remove generate_sources_list.py and its invocation
- Integrate slang command directly into CMake function
- Add checks for slang executable and improve error messages
- Use add_custom_command and add_custom_target for output generation
- Update argument handling for top module and synthesis options

[1] #198 (comment)
…guments

It follows @Risto97 feedback in MR [1].

- Introduce SLANG_ARGS keyword argument to pass extra arguments to slang
- Remove deprecated SYNTHESIS option and related code
- Update argument parsing and variable handling for new option

[1] #198 (comment)
@benoitdenkinger benoitdenkinger self-assigned this May 20, 2026
@benoitdenkinger benoitdenkinger added the trigger-gitlab-testing PRs receiving this label automatically trigger the testing workflow on gitlab CI runners. label May 20, 2026
@Risto97
Copy link
Copy Markdown
Contributor

Risto97 commented May 20, 2026

Hello @benoitdenkinger ,
Do you think that generate_sources_list is a bit ambigous as its working only on Verilog and SystemVerilog?

@benoitdenkinger
Copy link
Copy Markdown
Contributor Author

Hi @Risto97, good point. I propose to rename it generate_sv_sources_list. If you have a better idea let me know.

@benoitdenkinger benoitdenkinger added the v1_release To be merged for v1.0.0 release label May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

trigger-gitlab-testing PRs receiving this label automatically trigger the testing workflow on gitlab CI runners. v1_release To be merged for v1.0.0 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants