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.
This commit is contained in:
Cary R 2011-09-05 16:25:05 -07:00 committed by Stephen Williams
parent 9fb317a4e1
commit 45d8925ad2
1 changed files with 10 additions and 0 deletions

View File

@ -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