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.

Want to store values from a text file into a multidimensional array in sys verilog

Status
Not open for further replies.

manik045

Newbie level 6
Newbie level 6
Joined
Feb 16, 2010
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Dinajpur
Activity points
1,404
Want to store values from a text file into an multi dimensional array in sys verilog

I have a text file and the name of the file is named.txt. In this file following values are written.

4 5 6 7
8 9 2 1
3 2 4 9
10 10 5 21
I want to store this values in a 4X4 multidimensional array. How can i do this. Please help me.

Thanks in advance.
 

Attachments

  • named.txt
    37 bytes · Views: 94

Re: Want to store values from a text file into an multi dimensional array in sys veri

Use $fscanf
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top