Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 The `protect directive causes syntax error

devel
closed-fixed
nobody
4
2006-03-30
2005-10-05
Stephen Williams
No

[This is imported from ivl-bugs PR#478. Original
submitter is Stefan.Thiede@philips.com]

If verilogXL and dc_shell swallow it, designers will
use it.

I would have put it on a single line and that's the way
iverilog seems to be able to parse it.

Stefan

module test `protect (
a
);

// Input Declarations
input a;
`endprotect
endmodule

Discussion

1 2 > >> (Page 1 of 2)
  • Logged In: YES
    user_id=97566

    Added to the ivtest test suite as pr478.v.

     
  • Logged In: YES
    user_id=97566

    This is pretty unusual usage, bug legitimate. It's a real
    bug bug I'll bump the priority down one step. If there is an
    outcry for a fix, I'll raise the priority again.

     
    • priority: 5 --> 4
     
    • status: open --> closed
     
  • Logged In: YES
    user_id=97566

    The attached patch applies to snapshot 20060221, or is included in CVS.

     
    • status: closed --> closed-fixed
     
  • Patch to handle protect differently

     
    Attachments
  • Logged In: YES
    user_id=97566

    The attached patch applies to snapshot 20060221, or is included in CVS.

     
  • Patch to handle protect differently

     
    Attachments
  • Patch to handle protect differently

     
    Attachments
1 2 > >> (Page 1 of 2)