B
Benjamin Todd
Guest
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
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