Tests: Add --gdbbt, and abort on V3ERROR_NA in V3Ast

This commit is contained in:
Wilson Snyder
2010-01-17 14:48:39 -05:00
parent ba07dc1804
commit 08b63b4f01
4 changed files with 21 additions and 9 deletions
+9
View File
@@ -143,6 +143,15 @@ WDataOutP VL_ZERO_RESET_W(int obits, WDataOutP outwp) {
return outwp;
}
//===========================================================================
// Debug
void _VL_DEBUG_PRINT_W(int lbits, WDataInP iwp) {
VL_PRINTF(" Data: w%d: ", lbits);
for (int i=VL_WORDS_I(lbits)-1; i>=0; i--) { VL_PRINTF("%08x ",iwp[i]); }
VL_PRINTF("\n");
}
//===========================================================================
// Slow math