#42 Syntax error for correct code

Open
opened 3 weeks ago by dstadelm · 1 comments
dstadelm commented 3 weeks 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 3 weeks 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.
Sign in to join this conversation.
No Label
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.