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

Macro definition #3

Open
peijunh opened this issue Jul 7, 2021 · 0 comments
Open

Macro definition #3

peijunh opened this issue Jul 7, 2021 · 0 comments

Comments

@peijunh
Copy link

peijunh commented Jul 7, 2021

Hello, when I try to convert the system verilog, I include a sv file defining a macro. But it gives me this error:

image

Here ASSERT_DEFAULT_CLK and ASSERT_DEFAULT_RST are defined previously, so they are not unknown macros.
define ASSERT_DEFAULT_CLK clk_i define ASSERT_DEFAULT_RST !rst_ni

So does this syntax supported? I appreciate your help.

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

No branches or pull requests

1 participant