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

Handling of interface/struct style of indentfiers #182

Closed
veripoolbot opened this issue Nov 11, 2009 · 1 comment
Closed

Handling of interface/struct style of indentfiers #182

veripoolbot opened this issue Nov 11, 2009 · 1 comment
Assignees

Comments

@veripoolbot
Copy link
Collaborator

@veripoolbot veripoolbot commented Nov 11, 2009


Author Name: ashutosh khare
Original Redmine Issue: 182 from https://www.veripool.org
Original Date: 2009-11-11
Original Assignee: Wilson Snyder (@wsnyder)


In system verilog

always_ff @(posedge clk_va)
du_fu.opcode <= opcode;

such kind of assignment is posseible.

I guess symbol call back rule does not handle identifier of type "du_fu.opcode"

I am getting du_fu as symbol

@veripoolbot

This comment has been minimized.

Copy link
Collaborator Author

@veripoolbot veripoolbot commented Nov 11, 2009


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2009-11-11T12:15:39Z


That's correct, clk_va is a symbol, it's attached to another symbol with the . operator. Symbols are single things you run through a symbol table; for example you don't want clk_va.du_fu to be all one symbol because you couldn't tell the difference between it and
"\clk_va.du_fu ".

KEYWORD 'always_ff'
OPERATOR '@'
OPERATOR '('
KEYWORD 'posedge'
SYMBOL 'clk_va'
OPERATOR ')'
SYMBOL 'du_fu'
OPERATOR '.'
SYMBOL 'opcode'
OPERATOR '<='
SYMBOL 'opcode'
OPERATOR ';'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.