iverilog/tgt-vvp
Stephen Williams 1a725e063b Remove malloc.h support and for C++ files use <c...> include files.
The functions (malloc, free, etc.) that used to be provided in
malloc.h are now provided in cstdlib for C++ files and stdlib.h for
C files. Since we require a C99 compliant compiler it makes sense
that malloc.h is no longer needed.

This patch also modifies all the C++ files to use the <c...>
version of the standard C header files (e.g. <cstdlib> vs
<stdlib.h>). Some of the files used the C++ version and others did
not. There are still a few other header changes that could be done,
but this takes care of much of it.

(Cherry-picked from 1993bf6f69)
2010-06-01 11:27:16 -07:00
..
Makefile.in Add explicit dependencies on generated header files. 2009-12-04 15:20:03 -08:00
README.txt tgt-vvp generates code that skips nets as inputs. 2001-08-10 00:40:45 +00:00
draw_mux.c Fix delays in continuous assignment to support 64bit delays. 2009-12-01 10:21:57 -08:00
draw_net_input.c Remove malloc.h support and for C++ files use <c...> include files. 2010-06-01 11:27:16 -07:00
draw_switch.c Remove malloc.h support and for C++ files use <c...> include files. 2010-06-01 11:27:16 -07:00
draw_ufunc.c Remove malloc.h support and for C++ files use <c...> include files. 2010-06-01 11:27:16 -07:00
draw_vpi.c Remove malloc.h support and for C++ files use <c...> include files. 2010-06-01 11:27:16 -07:00
eval_bool.c Remove malloc.h support and for C++ files use <c...> include files. 2010-06-01 11:27:16 -07:00
eval_expr.c Remove malloc.h support and for C++ files use <c...> include files. 2010-06-01 11:27:16 -07:00
eval_real.c Add warning about casting large integer values to reals. 2009-12-25 17:53:08 -05:00
modpath.c Content-free portability fixes. 2008-09-29 18:06:47 -07:00
vector.c Remove most of the lingering CVS droppings. 2008-12-05 21:48:28 -08:00
vvp-s.conf.in Remove redundant back-end selections. 2008-09-07 16:43:54 -07:00
vvp.c Unify the version stamp in the version_*.h header files. 2009-11-27 12:37:11 -08:00
vvp.conf.in Remove redundant back-end selections. 2008-09-07 16:43:54 -07:00
vvp_config.h.in Remove malloc.h support and for C++ files use <c...> include files. 2010-06-01 11:27:16 -07:00
vvp_priv.h Some compiler cleanup and minor memory leak fixes. 2009-06-23 09:14:03 -07:00
vvp_process.c Remove malloc.h support and for C++ files use <c...> include files. 2010-06-01 11:27:16 -07:00
vvp_scope.c Remove malloc.h support and for C++ files use <c...> include files. 2010-06-01 11:27:16 -07:00

README.txt

THE VVP TARGET

SYMBOL NAME CONVENTIONS

There are some naming conventions that the vp target uses for
generating symbol names.

* wires and regs

Nets and variables are named V_<full-name> where <full-name> is the
full hierarchical name of the signal.

* Logic devices

Logic devices (and, or, buf, bufz, etc.) are named L_<full_name>. In
this case the symbol is attached to a functor that is the output of
the logic device.


GENERAL FUNCTOR WEB STRUCTURE

The net of gates, signals and resolvers is formed from the input
design. The basic structure is wrapped around the nexus, which is
represented by the ivl_nexus_t.

Each nexus represents a resolved value. The input of the nexus is fed
by a single driver. If the nexus in the design has multiple drivers,
the drivers are first fed into a resolver (or a tree of resolvers) to
form a single output that is the nexus.

The nexus, then, feeds its output to the inputs of other gates, or to
the .net objects in the design.