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.

[SOLVED] Question regarding system verilog

Status
Not open for further replies.

srish

Newbie level 6
Joined
Dec 13, 2011
Messages
14
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,375
how to create and write a radom variable in that particular created file?
i use file which is integer type
then file=$fopen(path where i want file to be created)
then $fwrite(file , random variable)
then $fclose(file)
but it is not created and working
plz HELP
 

oh i find out that the method described above is absolutely right .........no problem with that method of opening and writing the file.
 

Try to use static integer type for file variable.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top