Re: What are steps for driver development of getting data from file and sending it se
iam verification engineer
we use
1)digital electronics
2)verilog
3)system verilog
4)uvm methodology
5)tool- questa
we have environment with moniter,driver,sequencer.i need to driver program of system verilog
What are steps for driver development of getting data from file and sending it serial
tried till
Code Verilog - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Display mcd value before and after the opening the file. module fopenclose();integer mcd,number;initialbegin$display("value of mcd before opening the file %b ", mcd);
mcd =$fopen("xyz.txt");// opening the file $display("value of mcd after opening the file %b ", mcd);repeat(7)begin
number =$random;$fdisplay(mcd," Number is ", number);end$fclose(mcd);// closing the file endendmodule
RESULT
value of mcd before opening the file xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
value of mcd after opening the file 00000000000000000000000000000010
Re: What are steps for driver development of getting data from file and sending it se
Hi,
one last try...
You still don´t say where and how your file is stored.
Imagine:
Someone asks you to collect a parcel.
But no one tells you where to fetch the parcel and how big and heavy it is.
--> you are willing to do the job, but it´s impossible.
The same situation is for us: We want help, but it´s impossible.