Add the ability to place callbacks on bit, byte, short, int and long variables.
You can place a callback on the new SystemVerilog 2-state variables.
This commit is contained in:
parent
40c37be307
commit
4f8cace5a9
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2001-2010 Stephen Williams (steve@icarus.com)
|
* Copyright (c) 2001-2011 Stephen Williams (steve@icarus.com)
|
||||||
*
|
*
|
||||||
* This source code is free software; you can redistribute it
|
* This source code is free software; you can redistribute it
|
||||||
* and/or modify it in source code form under the terms of the GNU
|
* and/or modify it in source code form under the terms of the GNU
|
||||||
|
|
@ -148,6 +148,11 @@ static struct __vpiCallback* make_value_change(p_cb_data data)
|
||||||
case vpiReg:
|
case vpiReg:
|
||||||
case vpiNet:
|
case vpiNet:
|
||||||
case vpiIntegerVar:
|
case vpiIntegerVar:
|
||||||
|
case vpiBitVar:
|
||||||
|
case vpiByteVar:
|
||||||
|
case vpiShortIntVar:
|
||||||
|
case vpiIntVar:
|
||||||
|
case vpiLongIntVar:
|
||||||
/* Attach the callback to the vvp_fun_signal node by
|
/* Attach the callback to the vvp_fun_signal node by
|
||||||
putting it in the vpi_callbacks list. */
|
putting it in the vpi_callbacks list. */
|
||||||
struct __vpiSignal*sig;
|
struct __vpiSignal*sig;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue