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

Support static inside task #546

Closed
veripoolbot opened this issue Aug 9, 2012 · 3 comments
Closed

Support static inside task #546

veripoolbot opened this issue Aug 9, 2012 · 3 comments
Labels
area: data-types Issue involves data-types effort: days Expect this issue to require roughly days of invested effort to resolve resolution: fixed Closed; fixed type: feature-IEEE Request to add new feature, described in IEEE 1800

Comments

@veripoolbot
Copy link
Contributor


Author Name: Alex Solomatnikov
Original Redmine Issue: 546 from https://www.veripool.org
Original Date: 2012-08-09


Example:

task write (input integer option);
         
         static int burst_length = 8;
         static int other_bank = 3;
...

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Alex Solomatnikov
Original Date: 2012-08-09T19:06:06Z


Error message:

%Error: ...: Unsupported: Static in this context

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2012-08-10T23:42:33Z


Actually by the standard "static" is the default unless the task is automatic, but verilator presently assumes everything is automatic which should probably be reconsidered.

@veripoolbot veripoolbot added area: data-types Issue involves data-types effort: days Expect this issue to require roughly days of invested effort to resolve type: feature-IEEE Request to add new feature, described in IEEE 1800 labels Dec 22, 2019
@wsnyder wsnyder added the resolution: fixed Closed; fixed label Feb 7, 2023
@wsnyder
Copy link
Member

wsnyder commented Feb 7, 2023

#3830 added support for function static, example passes.

@wsnyder wsnyder closed this as completed Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: data-types Issue involves data-types effort: days Expect this issue to require roughly days of invested effort to resolve resolution: fixed Closed; fixed type: feature-IEEE Request to add new feature, described in IEEE 1800
Projects
None yet
Development

No branches or pull requests

2 participants