yaxazaa
New Member
Offline
Posts: 6
|
My question is how I do line by line manuplation in Verilog-A after I read in a data file contains two columns. For example: data file name is data.dat contains: 1 10 2 20 3 30
etc;
in Verilog-A:
integrer infile; real x[0:100], y[0:100] real z[0:100];
......
infile = $fopen("$path/data.dat");
Then What I am going to do is to assign column one as x, column two as y, and z = pow(y,x/20). HOw should I do it? Can someone help?
Thanks.
|