nehat
Newbie level 3
- Joined
- Jan 25, 2015
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 17
hi,
I amusing $fopenw and $fwrite for dealing with my filein my verilog code.
every time my code enters always@(posedge clk) block , i want to rewrite my file (not append to the end of the file),
in other words i want to clear my file and then write it again.
is there any way to clear a file in verilog???
please please answer me asap. i am going nuts!!
thank you in advance
I amusing $fopenw and $fwrite for dealing with my filein my verilog code.
every time my code enters always@(posedge clk) block , i want to rewrite my file (not append to the end of the file),
in other words i want to clear my file and then write it again.
is there any way to clear a file in verilog???
please please answer me asap. i am going nuts!!
thank you in advance