Jul 29, 2017 #1 M manik045 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 Click to expand... 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: 67
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 Click to expand... I want to store this values in a 4X4 multidimensional array. How can i do this. Please help me. Thanks in advance.
Jul 30, 2017 #2 D dave_59 Advanced Member level 3 Joined Dec 15, 2011 Messages 838 Helped 365 Reputation 734 Reaction score 360 Trophy points 1,353 Location Fremont, CA, USA Activity points 7,365 Re: Want to store values from a text file into an multi dimensional array in sys veri Use $fscanf