Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SV, Includes, and Wildcard Support #62

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

fkwilken
Copy link
Contributor

Needed the ability to do simulation with the caravel with system verilog based designs.
SV Designs are included using in includes.rtl.caravel_user_project with the following syntax:
-sv -I $(USER_PROJECT_VERILOG)/rtl/peripherals $(USER_PROJECT_VERILOG)/rtl/peripherals/*.sv

With this PR, caravel-cocotb can now

  • parse system verilog files (starting with -sv)
  • expand wildcard (*) operator as needed when parsing
  • include directories notated with -I flag for .svh and .vh files

* Add Wildcard and SV Support

* Add Support for Extra Include Directorys for .svh and .vh
Copy link
Member

@M0stafaRady M0stafaRady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great update

@M0stafaRady M0stafaRady merged commit 6feb4ec into efabless:main Nov 20, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for System Verilog Includes and Wildcards When Generating includes.v
2 participants