mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-29 17:19:36 +02:00
Fix compile issues in previous patch
This commit is contained in:
+2
-2
@@ -462,8 +462,8 @@ static void draw_binary_vec4_logical(ivl_expr_t expr, char op)
|
||||
jmp_type = "1";
|
||||
break;
|
||||
default:
|
||||
opcode = "<invalid>"
|
||||
jmp_type = "<invalid>"
|
||||
opcode = "<invalid>";
|
||||
jmp_type = "<invalid>";
|
||||
assert(0);
|
||||
break;
|
||||
}
|
||||
|
||||
+2
-1
@@ -17,6 +17,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include <cstring>
|
||||
#include "config.h"
|
||||
#include "compiler.h"
|
||||
#include "vpi_user.h"
|
||||
@@ -126,7 +127,7 @@ s_vpi_vecval vpip_calc_clog2(vpiHandle)
|
||||
}
|
||||
void vpip_count_drivers(vpiHandle, unsigned, unsigned [4]) { }
|
||||
void vpip_format_strength(char*, s_vpi_value*, unsigned) { }
|
||||
char* vpip_format_pretty(vpiHandle) { return "invalid"; }
|
||||
char* vpip_format_pretty(vpiHandle) { return strdup("invalid"); }
|
||||
void vpip_make_systf_system_defined(vpiHandle) { }
|
||||
void vpip_mcd_rawwrite(PLI_UINT32, const char*, size_t) { }
|
||||
void vpip_set_return_value(int) { }
|
||||
|
||||
Reference in New Issue
Block a user