Allow vpiIntegerVar as parameter to $value$plusarg

This commit is contained in:
steve 2002-08-10 17:00:31 +00:00
parent 6151d796a2
commit 27178cedda
1 changed files with 5 additions and 1 deletions

View File

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#ident "$Id: sys_plusargs.c,v 1.1 2002/04/07 04:37:53 steve Exp $" #ident "$Id: sys_plusargs.c,v 1.2 2002/08/10 17:00:31 steve Exp $"
# include <vpi_user.h> # include <vpi_user.h>
# include <string.h> # include <string.h>
@ -207,6 +207,7 @@ static int sys_value_plusargs_compiletf(char*xx)
switch (vpi_get(vpiType, arg)) { switch (vpi_get(vpiType, arg)) {
case vpiReg: case vpiReg:
case vpiIntegerVar:
break; break;
default: default:
@ -326,6 +327,9 @@ void sys_plusargs_register()
/* /*
* $Log: sys_plusargs.c,v $ * $Log: sys_plusargs.c,v $
* Revision 1.2 2002/08/10 17:00:31 steve
* Allow vpiIntegerVar as parameter to $value$plusarg
*
* Revision 1.1 2002/04/07 04:37:53 steve * Revision 1.1 2002/04/07 04:37:53 steve
* Add $plusargs system functions. * Add $plusargs system functions.
* *