forked from github/verilator
Tests: fix dpi_export with other simulators
This commit is contained in:
parent
c017f2e7c4
commit
42a7aca504
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user