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

Open
veripoolbot opened this issue Aug 9, 2012 · 2 comments
Open

Support static inside task #546

veripoolbot opened this issue Aug 9, 2012 · 2 comments

Comments

@veripoolbot
Copy link

@veripoolbot veripoolbot commented Aug 9, 2012


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

This comment has been minimized.

Copy link
Author

@veripoolbot veripoolbot commented Aug 9, 2012


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


Error message:

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

@veripoolbot

This comment has been minimized.

Copy link
Author

@veripoolbot veripoolbot commented Aug 10, 2012


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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.