Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to use textio function in testbench to input text file as input?

Status
Not open for further replies.

triump.ar

Junior Member level 2
Joined
Dec 9, 2007
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,440
hi,
how to use textio function in testbench to input text file as input.....explain in detail.....as i m new to vhdl
 

textio function

what the simulator that uses you?
 

Re: textio function

i m using xilinx and i want to use modelsim as simulator..
 

Re: textio function

Hi,

You can input by using below mentioned command.....

"readmemb("filename.txt",variable_name);"
 

Re: textio function

i m using this command in the testbench ..but it is showing the error....
Error: deci1.vhd(79): Unknown identifier 'readmemb'.

where i have to use this command...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top