im trying to save the values of a counter in a textfile. Using verilog and the frontpanel.
Do i have to write the values in a ram or can i send them directly to the pc?
here is some code:
assign epA0wire = count; // Count is my reg for the counter
okPipeOut epA0(.ok1(ok1), .ok2(ok2x 17*0 +: 17 ]), .ep_addr(8’ha0), .ep_datain(epA0wire));
but it dont work. it writes something in the file, but it looks like random chars of the ascii table.