Tests: fix dpi_export with other simulators

This commit is contained in:
Wilson Snyder 2010-01-22 20:41:19 -05:00
parent c017f2e7c4
commit 42a7aca504

View File

@ -93,7 +93,12 @@ int dpix_run_tests() {
}
#endif
CHECK_RESULT (strcmp(svDpiVersion(), "1800-2005"), 0);
#ifndef CADENCE // Unimplemented; how hard is it?
printf ("svDpiVersion: %s\n",svDpiVersion());
CHECK_RESULT (strcmp(svDpiVersion(), "1800-2005")==0
|| strcmp(svDpiVersion(), "P1800-2005")==0
, 1);
#endif
CHECK_RESULT (dpix_int123(), 0x123 );