Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Access Type Unsupported ISE6.2.03i

Reply
Thread Tools

Access Type Unsupported ISE6.2.03i

 
 
Benjamin Todd
Guest
Posts: n/a
 
      10-19-2004
I've a problem using the image_pb.vhd package from vhdlcohen... I think it's
a problem to do with Xilinx ISE...

for example:

function Image(In_Image : Integer) return String is
variable L : Line; -- access type
variable W : String(1 to 32) := (others => ' ');
-- Long enough to hold a time string
begin
Std.TextIO.WRITE(L, in_image);
W(L.all'range) := L.all;
Deallocate(L);
return W;
end Image;

fails a syntax check for the reason: "/image_pb.vhd Line 97. Access Type
unsupported."
this happens at every point where the ".all" is used - I never had this
problem before: Anyone any suggestions? It's most likely something
completely simple that's staring me in the face!

Thanks in advance.
Ben


 
Reply With Quote
 
 
 
 
Laurent Gauch
Guest
Posts: n/a
 
      10-19-2004
Benjamin Todd wrote:
> I've a problem using the image_pb.vhd package from vhdlcohen... I think it's
> a problem to do with Xilinx ISE...
>
> for example:
>
> function Image(In_Image : Integer) return String is
> variable L : Line; -- access type
> variable W : String(1 to 32) := (others => ' ');
> -- Long enough to hold a time string
> begin
> Std.TextIO.WRITE(L, in_image);
> W(L.all'range) := L.all;
> Deallocate(L);
> return W;
> end Image;
>
> fails a syntax check for the reason: "/image_pb.vhd Line 97. Access Type
> unsupported."
> this happens at every point where the ".all" is used - I never had this
> problem before: Anyone any suggestions? It's most likely something
> completely simple that's staring me in the face!
>
> Thanks in advance.
> Ben
>
>

Your code is for simulation only -> Xilinx XST synthesizer can do
nothing with Std.TextIO package !

Laurent
www.amontec.com
 
Reply With Quote
 
 
 
 
Benjamin Todd
Guest
Posts: n/a
 
      10-19-2004
No, I'm doing a syntax check, not a synthesis.

It's for a testbench. =)

"Laurent Gauch" <> wrote in message
news:...
> Benjamin Todd wrote:
> > I've a problem using the image_pb.vhd package from vhdlcohen... I think

it's
> > a problem to do with Xilinx ISE...
> >
> > for example:
> >
> > function Image(In_Image : Integer) return String is
> > variable L : Line; -- access type
> > variable W : String(1 to 32) := (others => ' ');
> > -- Long enough to hold a time string
> > begin
> > Std.TextIO.WRITE(L, in_image);
> > W(L.all'range) := L.all;
> > Deallocate(L);
> > return W;
> > end Image;
> >
> > fails a syntax check for the reason: "/image_pb.vhd Line 97. Access Type
> > unsupported."
> > this happens at every point where the ".all" is used - I never had this
> > problem before: Anyone any suggestions? It's most likely something
> > completely simple that's staring me in the face!
> >
> > Thanks in advance.
> > Ben
> >
> >

> Your code is for simulation only -> Xilinx XST synthesizer can do
> nothing with Std.TextIO package !
>
> Laurent
> www.amontec.com



 
Reply With Quote
 
Mike Treseler
Guest
Posts: n/a
 
      10-19-2004
Benjamin Todd wrote:
> No, I'm doing a syntax check, not a synthesis.
>
> It's for a testbench. =)
>

Consider using modelsim "vcom"
for a syntax check.

-- Mike Treseler
 
Reply With Quote
 
Benjamin Todd
Guest
Posts: n/a
 
      10-19-2004
Ah, thanks!!!
Turns out that ModelSim will compile it.

Ben



"Mike Treseler" <> wrote in message
news:XbCdnfS_0YnOs-jcRVn-...
> Benjamin Todd wrote:
> > No, I'm doing a syntax check, not a synthesis.
> >
> > It's for a testbench. =)
> >

> Consider using modelsim "vcom"
> for a syntax check.
>
> -- Mike Treseler



 
Reply With Quote
 
Charles M. Elias
Guest
Posts: n/a
 
      10-19-2004
"Benjamin Todd" <> wrote in message news:<cl2ma6$jq5$>...
> No, I'm doing a syntax check, not a synthesis.
>
> It's for a testbench. =)


If the type is not supported for synthesis then it is very likely it
will not pass a syntax test for a synthesis tool. The alternative
would be for the synthesis tool to pass unsynthesizable, but correct,
VHDL code and then give you an error message when you tried to
synthesize it. You should run the syntax test on your simulation
tool, after all, that is where you will be using your test bench.

Charles

>
> "Laurent Gauch" <> wrote in message
> news:...
> > Benjamin Todd wrote:
> > > I've a problem using the image_pb.vhd package from vhdlcohen... I think

> it's
> > > a problem to do with Xilinx ISE...
> > >
> > > for example:
> > >
> > > function Image(In_Image : Integer) return String is
> > > variable L : Line; -- access type
> > > variable W : String(1 to 32) := (others => ' ');
> > > -- Long enough to hold a time string
> > > begin
> > > Std.TextIO.WRITE(L, in_image);
> > > W(L.all'range) := L.all;
> > > Deallocate(L);
> > > return W;
> > > end Image;
> > >
> > > fails a syntax check for the reason: "/image_pb.vhd Line 97. Access Type
> > > unsupported."
> > > this happens at every point where the ".all" is used - I never had this
> > > problem before: Anyone any suggestions? It's most likely something
> > > completely simple that's staring me in the face!
> > >
> > > Thanks in advance.
> > > Ben
> > >
> > >

> > Your code is for simulation only -> Xilinx XST synthesizer can do
> > nothing with Std.TextIO package !
> >
> > Laurent
> > www.amontec.com

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid or unsupported code page type error AndyB ASP .Net 0 05-23-2005 06:34 PM
reading large jpeg / jpg files error on java imageio read: javax.imageio.IIOException: Unsupported Image Type Davidski Java 0 11-05-2004 09:44 PM
Tmpgenc clean install problems, unsupported type clay DVD Video 4 10-07-2004 08:40 PM
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' Martin Koekenberg Python 3 08-26-2004 12:04 PM
Unsupported feature error:access type is not supported NEETU GARG VHDL 1 04-10-2004 12:31 AM



Advertisments