From 28c9f420c60059d2bd4df60afd73531be00f2a0c Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Sun, 3 Apr 2011 17:22:12 -0700 Subject: [PATCH] Add vpiBitVar support is $display and other vpi functions. --- vpi/sys_display.c | 1 + vvp/compile.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/vpi/sys_display.c b/vpi/sys_display.c index 18729c4f1..5a5efd19d 100644 --- a/vpi/sys_display.c +++ b/vpi/sys_display.c @@ -1048,6 +1048,7 @@ static int sys_check_args(vpiHandle callh, vpiHandle argv, const PLI_BYTE8*name, case vpiNet: case vpiReg: case vpiIntegerVar: + case vpiBitVar: case vpiByteVar: case vpiShortIntVar: case vpiIntVar: diff --git a/vvp/compile.cc b/vvp/compile.cc index f742a50a5..5c2aec1f4 100644 --- a/vvp/compile.cc +++ b/vvp/compile.cc @@ -289,6 +289,7 @@ vvp_net_t* vvp_net_lookup(const char*label) switch (vpi->vpi_type->type_code) { case vpiNet: case vpiReg: + case vpiBitVar: case vpiByteVar: case vpiShortIntVar: case vpiIntVar: