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.

when writing files in verilog, can i control the pointer?

Status
Not open for further replies.

arsenal

Full Member level 2
Joined
Oct 17, 2004
Messages
143
Helped
15
Reputation
30
Reaction score
4
Trophy points
1,298
Activity points
1,103
verilog pointer

hi ,
I wanna write signals to a file using $fdisplay in verilog testbench ,and how can i decide which line to write? that is ,is there any pointer like that in C that I can switch between the lines in the file being writen?
(after each $fdisplay , the file will automatically switch to another line, how can i switch back to the line written just now to overlap it with another $fdisplay?)


thanks a lot!
 

Have you considered $ftell and $fseek? I've never used them in Verilog, but maybe they will do what you want.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top