openloop wrote on Feb 27th, 2017, 2:13pm:I need to find a command for Verilog -a that will let me write the time that a crossing event occurs. $realtime seems close, but how do I get this into a file for processing later?
You should use $abstime instead of $realtime, which is not officially supported in the analog context.
You should be able to use $fstrobe or $fwrite to write to a file.