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.

What are the steps for driver development of getting data from a file and sending it serial?

Status
Not open for further replies.

Srisrutha

Newbie level 3
Newbie level 3
Joined
Jul 6, 2018
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
38
What are steps for driver development of getting data from file and sending it serial

steps to write code. What are steps for driver development of getting data from a file and sending it serial
 
Last edited by a moderator:

Re: What are steps for driver development of getting data from file and sending it se

driver for which one ?(OS or embedded)
 

Re: What are steps for driver development of getting data from file and sending it se

Hi,

Besides the "missing of useful informations"...

Usally every OS I know has all necessary included. No need to write a driver.

Klaus
 

Re: What are steps for driver development of getting data from file and sending it se

system verilog (verification,vlsi)
 

Re: What are steps for driver development of getting data from file and sending it se

Hi,

Too lazy to give useful informations?

How can we know what hardware you use? Where and how the file is stored, what file system ...

I will come back if you show a somehow complete specification and what you have done so far.

Klaus
 

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; 
initial 
begin 
$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 
end 
endmodule


RESULT

value of mcd before opening the file xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
value of mcd after opening the file 00000000000000000000000000000010
 
Last edited by a moderator:

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.

I´m off.

Klaus
 


Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top