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

SV grammar hirarchical identifier in delay_value rule #160

Open
Thomasb81 opened this issue Oct 20, 2021 · 0 comments
Open

SV grammar hirarchical identifier in delay_value rule #160

Thomasb81 opened this issue Oct 20, 2021 · 0 comments

Comments

@Thomasb81
Copy link
Contributor

test_hier_delay_value.sv.tar.gz
SystemVerilog grammar of hdlConvertor failed to parse the attached testcase.

Apparently following syntax is right... LRM seems incomplete. the syntax is accepted and simulation is run by several commercial simulator.

But systemVerilog grammar of hdlConvertor does not allow this (aka hierarchical identifier for a delay value (delay_value rule )

module test_module0();

    identifier1 test_module1();

    initial begin
        $display("%t start",$time);
        #identifier1.identifier2.identifier3;
        $display("%t end",$time);
    end

endmodule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant