May 1, 2006 #1 S samuel_raja_77 Junior Member level 2 Joined Apr 8, 2006 Messages 20 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,458 how to write the values generated in the verilog module to a output file
May 2, 2006 #2 V vivek Member level 4 Joined May 19, 2005 Messages 69 Helped 10 Reputation 20 Reaction score 1 Trophy points 1,288 Activity points 2,040 use file i/o system tasks like $fprintf. search this forum; queries based on file i/o operations in verilog bave been asked and answered by many before
use file i/o system tasks like $fprintf. search this forum; queries based on file i/o operations in verilog bave been asked and answered by many before
May 3, 2006 #3 B beejan Junior Member level 2 Joined Apr 28, 2006 Messages 23 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,473 Pl. refer Verilog book by Samir palnitkar. All these concepts are clearly explained in this book
May 6, 2006 #4 N naveen reddy Junior Member level 3 Joined Jun 2, 2005 Messages 28 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,525 use the system task $fopen( file name.dat) ex: results = $fopen("results.dat")
May 7, 2006 #5 A atuo Member level 3 Joined Feb 19, 2004 Messages 58 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,286 Activity points 493 Hi , If you are using the verilog-2001, there are many I/O file system task can be used like C . You can open a file and write the data/stream to the file. Thanks. Lsong
Hi , If you are using the verilog-2001, there are many I/O file system task can be used like C . You can open a file and write the data/stream to the file. Thanks. Lsong