-
Notifications
You must be signed in to change notification settings - Fork 122
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
Continuous assignment from argumentless functions #67
Comments
@nbdd0121 Disallowing argumentless functions would work. I don't see many people using them. It seems the best use-case is just for style consistency for a group of related functions. For example: https:/pulp-platform/riscv-dbg/blob/138d74bcaa90c70180c12215db3776813d2a95f2/src/dm_pkg.sv#L420-L437
|
By @a-will in #66 (comment)
Wow, I didn't know you could do this. I think this example should be added to the "Use |
This is a dedicated location to discuss a potential addition to the style guide to cover the following edge case:
VCS (2020.12) will currently not run this correctly:
Possible solutions
This is a summary of the discussion made in #66.
assign
/wire
.always_comb
should be used instead. By @sifferman and @marnovandermaaswire [7:0] test = test_func()
). By @GregACFull explanation by @GregAC in #66 (comment)
The text was updated successfully, but these errors were encountered: