heba_saleh
Newbie level 2
Dear all
I am new to verilog-a and symicaDe tool .. I want to write and read data from a file so I copied a simple veriloga code from the manual.
However, i am getting as error ---->
I would be grateful if someone told me how to solve this problem
thank you in advance
I am new to verilog-a and symicaDe tool .. I want to write and read data from a file so I copied a simple veriloga code from the manual.
Code Verilog - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 `include "disciplines.vams" `include "constants.vams" module fileexample; integer mcd1 ; integer mcd2 ; integer mcd ; analog begin @(initial_step) begin mcd1 = $fopen("file11.txt","a") ; mcd2 = $fopen("file2.txt","a") ; end mcd = mcd1 | mcd2 ; $fstrobe(mcd, "This is written to both files") ; $fclose(mcd1); $fclose(mcd2); end endmodule
However, i am getting as error ---->
cyclically dependent cells found: FileTest(I0) - FileTest(I0)
1 error(s), 0 warning(s)
I would be grateful if someone told me how to solve this problem
thank you in advance