mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Tests: fix dpi_export with other simulators
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user