Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

process to include a text file in vhdl testbench

sir,

i want to include a text file in my testbench code. but i don't understand how to include this?? i come to know to include

"use std.textio.all;

use IEEE.std_logic_textio.all;"

should i have to decare this package manually??? plz help me.:cry:

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thats all you need to include. But remember you cannot compile a testbench in quartus. You can only run it in modeslim. Textio does not work in quartus.