Questions tagged [textio]

Standard file IO package found in VHDL. It contains functions to read/write files with data of all standard types in VHDL including character, integer, and std_logic.

Filter by
Sorted by
Tagged with
0
votes
1answer
199 views

Where is the body of the textio package?

I have used the textio package several times and thought about reading it. When I opened the textio package from my ModelSim library window in the std library I found that the body of the package is ...
4
votes
1answer
2k views

VHDL: How to change the resolution of time printed using “now” in VHDL to file or terminal

The "now" is usually used if one wants to print simulation time to screen or into a file. I need to print simulation time in ms into a file. However, using now with writeline into a file is giving me ...
3
votes
1answer
7k views

VHDL: Is it possible to have a “variable length” string in VHDL like in programming languages?

According to the package named Standard in VHDL, the string is actually declared as array of character type where the character type itself is also defined within the package. Provided that I am ...