Skip to content

Commit

Permalink
Support sequential UDP devices.
Browse files Browse the repository at this point in the history
  • Loading branch information
steve committed Jun 9, 2005
1 parent 2f7ec71 commit 77792dc
Show file tree
Hide file tree
Showing 3 changed files with 660 additions and 61 deletions.
14 changes: 11 additions & 3 deletions vvp/compile.cc
Expand Up @@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: compile.cc,v 1.204 2005/06/02 16:02:11 steve Exp $"
#ident "$Id: compile.cc,v 1.205 2005/06/09 04:12:30 steve Exp $"
#endif

# include "arith.h"
Expand Down Expand Up @@ -1119,8 +1119,13 @@ void compile_resolver(char*label, char*type, unsigned argc, struct symb_s*argv)
void compile_udp_def(int sequ, char *label, char *name,
unsigned nin, unsigned init, char **table)
{
vvp_udp_s *u = new vvp_udp_s(label, name, nin, sequ? true : false);
u->compile_table(table);
if (sequ) {
vvp_udp_seq_s *u = new vvp_udp_seq_s(label, name, nin);
u->compile_table(table);
} else {
vvp_udp_comb_s *u = new vvp_udp_comb_s(label, name, nin);
u->compile_table(table);
}
free(label);
}

Expand Down Expand Up @@ -1548,6 +1553,9 @@ void compile_param_string(char*label, char*name, char*str, char*value)

/*
* $Log: compile.cc,v $
* Revision 1.205 2005/06/09 04:12:30 steve
* Support sequential UDP devices.
*
* Revision 1.204 2005/06/02 16:02:11 steve
* Add support for notif0/1 gates.
* Make delay nodes support inertial delay.
Expand Down

0 comments on commit 77792dc

Please sign in to comment.