mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-29 01:03:29 +02:00
Support sequential UDP devices.
This commit is contained in:
+11
-3
@@ -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"
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user