On Mar 5, 6:32*pm, Jonathan Bromley <jonathan.brom...@MYCOMPANY.com>
wrote:
> On Fri, 5 Mar 2010 10:16:13 -0800 (PST), Tricky <trickyh...@gmail.com>
> wrote:
>
> >I have this setup in a file:
>
> >type pt is protected
> >end protected pt;
>
> >type pt is protected body
> > *file ft *: text;
> >end protected body pt;
>
> >When I compile it in modelsim I get the error: Unknown method "ft"
> >pointing at the end of the the protected type declaration.
>
> >Am I breaking a VHDL rule (ie. files cant be put inside protected
> >types) is it a modelsim bug?
>
> Just guessing here, but... did you remember to
> * use std.textio.all;
> to get the definition of "text"?
>
> If that's the problem, then the error message is,
> how shall we say, less than helpful...
> --
> Jonathan Bromley
Yes I have included std.textio. Had the problem in 2 different files
Ill raise the issue with mentor
|