From 45d8925ad2be0dbc882d40eb9ed20d9716f986f4 Mon Sep 17 00:00:00 2001 From: Cary R Date: Mon, 5 Sep 2011 16:25:05 -0700 Subject: [PATCH] Add the ability to $display and $monitor a bit, byte, short, int or long var. Add code so that we can $display and $monitor the two-state variables. --- vpi/sys_display.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/vpi/sys_display.c b/vpi/sys_display.c index 5b8e5af6b..184db2454 100644 --- a/vpi/sys_display.c +++ b/vpi/sys_display.c @@ -916,6 +916,11 @@ static char *get_display(unsigned int *rtnsz, const struct strobe_cb_info *info) case vpiNet: case vpiReg: + case vpiBitVar: + case vpiByteVar: + case vpiShortIntVar: + case vpiIntVar: + case vpiLongIntVar: case vpiIntegerVar: case vpiMemoryWord: case vpiPartSelect: @@ -1438,6 +1443,11 @@ static PLI_INT32 sys_monitor_calltf(ICARUS_VPI_CONST PLI_BYTE8*name) case vpiNet: case vpiReg: case vpiIntegerVar: + case vpiBitVar: + case vpiByteVar: + case vpiShortIntVar: + case vpiIntVar: + case vpiLongIntVar: case vpiRealVar: case vpiPartSelect: /* Monitoring reg and net values involves setting