The Type character is bad. I have not think about the conversation to
byte type.

I would suggest to reference:
 book "The Designer's guide to VHDL" third edition from Peter J. Ashenden.

in Chapter 16

"A file can only contain one type of object, but that type can be
allmost any VHDL type,including scalar types, records and
one-dimensional arrays. the only types that cannot be stored in files
are mulidimensional arrays, access types, protected types and other files."


Rene



Petter Gustad schrieb:
> From: "R.Doss" <[email protected]>
> Subject: [Ghdl-discuss] FILE IO-Error
> Date: Fri, 06 Nov 2009 09:32:04 +0100
>
>   
>> Just the output is uncommanded. The error must com from read part.
>>     
>
> Change by_te to character, and you should be able to read the file.
>
> Then you can convert the character to your byte type via
> character'pos(a)
>
> Petter
>
>   


_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to