Here is the PLI application $strobe_compare which compares pairs of signals when called from RTL code or the VCS command line. A typical application is to compare the gate level pins with the RTL pins in a parallel simulation.
This code is based on work done by the VCS Support team, with cleanups by Oscar Strohacker and me on 4/5/02.
Download the tar file or send me email to get a copy. It includes: