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.

Open multi files in verilog testbench

Status
Not open for further replies.

cnspy

Full Member level 3
Joined
Sep 10, 2002
Messages
150
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,298
Activity points
1,041
I have to open a lot of file as

file1.txt
file2.txt
....
file1024.txt

How to open these kind of file name with simple method in verilog?

Such as use loop for it?

thanks.
 

Hello,

could be possible using $sformat() system task and string manipulation. But I didn't try cause I use generally VHDL testbenches.

Regards,
Frank
 

Fvm, thanks a lot. I have try it and it work well.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top