Check for extra digits in sized binary, octal and hex constants.
[iverilog.git] / net_force.cc
blob3707bab3922bf29de5b26c7c541667372222981d
1 /*
2 * Copyright (c) 2000-2004 Stephen Williams (steve@picturel.com)
4 * This source code is free software; you can redistribute it
5 * and/or modify it in source code form under the terms of the GNU
6 * General Public License as published by the Free Software
7 * Foundation; either version 2 of the License, or (at your option)
8 * any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19 #ifdef HAVE_CVS_IDENT
20 #ident "$Id: net_force.cc,v 1.13 2004/12/11 02:31:26 steve Exp $"
21 #endif
23 # include "config.h"
24 # include "compiler.h"
27 * This file contains implementation of the NetForce, NetRelease,
28 * NetCAssign and NetDeassign classes. These are similar or related in
29 * that they handle the procedural continuous assign and force
30 * statements.
33 # include "netlist.h"
34 # include <assert.h>
38 * $Log: net_force.cc,v $
39 * Revision 1.13 2004/12/11 02:31:26 steve
40 * Rework of internals to carry vectors through nexus instead
41 * of single bits. Make the ivl, tgt-vvp and vvp initial changes
42 * down this path.
44 * Revision 1.12 2004/02/18 17:11:56 steve
45 * Use perm_strings for named langiage items.
47 * Revision 1.11 2003/03/06 00:28:41 steve
48 * All NetObj objects have lex_string base names.
50 * Revision 1.10 2003/01/27 05:09:17 steve
51 * Spelling fixes.
53 * Revision 1.9 2002/08/19 00:06:12 steve
54 * Allow release to handle removal of target net.
56 * Revision 1.8 2002/08/12 01:34:59 steve
57 * conditional ident string using autoconfig.
59 * Revision 1.7 2002/01/19 19:02:08 steve
60 * Pass back target errors processing conditionals.
62 * Revision 1.6 2001/11/14 03:28:49 steve
63 * DLL target support for force and release.
65 * Revision 1.5 2001/10/31 05:24:52 steve
66 * ivl_target support for assign/deassign.
68 * Revision 1.4 2001/10/28 01:14:53 steve
69 * NetObj constructor finally requires a scope.
71 * Revision 1.3 2001/07/25 03:10:49 steve
72 * Create a config.h.in file to hold all the config
73 * junk, and support gcc 3.0. (Stephan Boettcher)
75 * Revision 1.2 2000/05/12 01:22:41 steve
76 * NetCAssign needs to incr_eref its lval to lock it down.
78 * Revision 1.1 2000/05/11 23:37:27 steve
79 * Add support for procedural continuous assignment.