-
Notifications
You must be signed in to change notification settings - Fork 31
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
Implement function calls #168
Comments
Hi @tampler, thanks for the heads up. There are a few parts of the examples in the paper that moore does not yet fully support, but was in the paper for the sake of completeness (and show how things would map to LLHD). I'm working on getting this done though 👍. Changing this into a tracking issue for function calls. |
Sure take your time. I'll be keeping my eye on this project and your awesome work |
Thanks! Any SystemVerilog code snippets that you find which are rejected by moore are very welcome here on the issue tracker 😃 ! |
Implement a simple function/task argument canonicalization query. The query gathers a function or task's argument list either from the list provided as part of the function/task prototype, or by extracting them from the body. The `-Vfunc-args` verbosity option shows a list of canonicalized arguments for each subroutine. Contributes towards #168.
Add query to determine the mapping of the arguments passed to a call expression, to the arguments of the corresponding function or task declaration. Contributes to #168.
Implement a simple function/task argument canonicalization query. The query gathers a function or task's argument list either from the list provided as part of the function/task prototype, or by extracting them from the body. The `-Vfunc-args` verbosity option shows a list of canonicalized arguments for each subroutine. Contributes towards #168.
Add query to determine the mapping of the arguments passed to a call expression, to the arguments of the corresponding function or task declaration. Contributes to #168.
Implement a simple function/task argument canonicalization query. The query gathers a function or task's argument list either from the list provided as part of the function/task prototype, or by extracting them from the body. The `-Vfunc-args` verbosity option shows a list of canonicalized arguments for each subroutine. Contributes towards #168.
Add query to determine the mapping of the arguments passed to a call expression, to the arguments of the corresponding function or task declaration. Contributes to #168.
Implement a simple function/task argument canonicalization query. The query gathers a function or task's argument list either from the list provided as part of the function/task prototype, or by extracting them from the body. The `-Vfunc-args` verbosity option shows a list of canonicalized arguments for each subroutine. Contributes towards #168.
Add query to determine the mapping of the arguments passed to a call expression, to the arguments of the corresponding function or task declaration. Contributes to #168.
Implement a simple function/task argument canonicalization query. The query gathers a function or task's argument list either from the list provided as part of the function/task prototype, or by extracting them from the body. The `-Vfunc-args` verbosity option shows a list of canonicalized arguments for each subroutine. Contributes towards #168.
Add query to determine the mapping of the arguments passed to a call expression, to the arguments of the corresponding function or task declaration. Contributes to #168.
Tracking issue for the implementation of function calls.
Todo
test/svlog/funcs/std_example.sv
test/svlog/funcs/std_example.sv
func
scall
sHello Fabian
Started to learn about this project. This work is awesome! Thanks for contributing a lot of effort and building this!
I tried to compile an example from your paper with
moore
and got a bug. Just to let you know about this issue. Here's the fileThe text was updated successfully, but these errors were encountered: