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.

How to restart the $fscanf

Status
Not open for further replies.

jeevs

Newbie level 4
Joined
Sep 13, 2005
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,338
Hi,

I need a help.In my testbench I am feeding the inputs to the dut through a file.This input to the dut from the file has to be restarted once there is certain condition.I had used $fscanf initially which only drives once but I cannot restart when certain condition occurs.I want to restart the File read.I was using fscanf in the initial block.I have changed this to an always block where I dont use the $fclose so that when certain condition occurs the fscanf should be restarted.
Is there any other alternative.

I am unable to get the desired result.Please advice.

Thanks in advance.

Regards,
Jeevs
 

would you please share some codes?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top