#42 Syntax error for correct code

Closed
opened 1 year ago by dstadelm · 2 comments
dstadelm commented 1 year ago

When using InitSeed function from RandomPkg.RandomPType the syntax check shows an error.

   library osvvm;
   use osvvm.RandomPkg.RandomPType;
   ...

   variable Rnd : RandomPType;
   ...
x  Rnd.InitSeed(PRand'instance_name); [Error] unexpected ";<newline>" expecting ":=:, "<=", '(', or '.'
When using InitSeed function from RandomPkg.RandomPType the syntax check shows an error. ``` library osvvm; use osvvm.RandomPkg.RandomPType; ... variable Rnd : RandomPType; ... x Rnd.InitSeed(PRand'instance_name); [Error] unexpected ";<newline>" expecting ":=:, "<=", '(', or '.' ```
vhdl-tool commented 1 year ago
Owner

Thanks for the bug report.

Unfortunately, VHDL-Tool doesn't support protected types yet. This means that the *VVM libraries won't work. We're working on adding support for protected types at the moment.

Thanks for the bug report. Unfortunately, VHDL-Tool doesn't support protected types yet. This means that the *VVM libraries won't work. We're working on adding support for protected types at the moment.
vhdl-tool commented 11 months ago
Owner

Protected types are now supported in version 0.0.14 available from the download page.

Protected types are now supported in version 0.0.14 available from the download page.
Sign in to join this conversation.
No Label
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.