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

Clocking block #1118

Closed
veripoolbot opened this issue Dec 7, 2016 · 2 comments
Closed

Clocking block #1118

veripoolbot opened this issue Dec 7, 2016 · 2 comments
Labels
resolution: wontfix Closed; work won't continue on an issue or pull request

Comments

@veripoolbot
Copy link
Contributor


Author Name: alberto castella
Original Redmine Issue: 1118 from https://www.veripool.org


I am writing some system verilog testbench. However, when I create a clocking block, I obtain the following error

@

default clocking cl @(posedge clk);
default input #100ps output #100ps;
output rst_n;
output start;
output mode;
output K;
output init_delay;
output middle_delay;
output end_delay;
input addr;
input addr_en;
input dones;
endclocking

@
syntax error, unexpected IDENTIFIER, expecting '@'.

How can I solve it?

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: alberto castella
Original Date: 2016-12-07T16:33:14Z


Sorry, here is the code

default clocking cl @(posedge clk);
    default input #100ps output #100ps;
    output         rst_n;
    output         start;
    output         mode;
    output         K;
    output         init_delay;
    output         middle_delay;
    output         end_delay;
    input          addr;
    input          addr_en;
    input          dones;
endclocking



@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2016-12-08T12:25:01Z


Verilator does not support SystemVerilog verification constructs, sorry.

If everything works except this, and you'd like to make a patch to support this, please reopen and we can discuss how to go about that.

@veripoolbot veripoolbot added the resolution: wontfix Closed; work won't continue on an issue or pull request label Dec 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution: wontfix Closed; work won't continue on an issue or pull request
Projects
None yet
Development

No branches or pull requests

1 participant