iverilog/tgt-vvp
Cary R b26bdd3c19 MinGW fixes (development)
The MinGW system() implementation appears to return the straight
return value instead of the waitpid() like result that more
normal systems return. Because of this just return the system()
result without processing for MinGW compilations.

Older version of the MinGW runtime (pre 3.14) just used the
underlying vsnprintf(). Which has some problems. The 3.14 version
has some nice improvements, but it has a sever bug when processing
"%*.*f", -1, -1, <some_real_value>.  Because of this we need to use
the underlying version without the enhancements for now.

snprintf prints %p differently than the other printf routines
so use _snprintf to get consistent results.

Only build the PDF files if both man and ps2pdf exist.

MinGW does not know about the z modifier for %d, %u, etc.

Add some missing Makefile check targets.
2008-05-22 20:24:21 -07:00
..
.cvsignore vvp.conf files are generated. 2005-03-18 02:57:23 +00:00
Makefile.in Put modpaths in correct scope. 2007-10-31 21:45:34 -07:00
README.txt tgt-vvp generates code that skips nets as inputs. 2001-08-10 00:40:45 +00:00
configure.in Use inttypes.h to get uint64_t print format string 2008-01-14 09:53:20 -08:00
draw_mux.c Support delays for all operators in a continuous assignments. 2008-01-21 18:21:31 -08:00
draw_ufunc.c Detect thread bit allocation failures 2008-04-15 21:51:03 -07:00
draw_vpi.c MinGW fixes (development) 2008-05-22 20:24:21 -07:00
eval_bool.c Use inttypes.h to get uint64_t print format string 2008-01-14 09:53:20 -08:00
eval_expr.c Arithmetic operands can do unsigned work and have signed result. 2008-05-14 11:51:53 -07:00
eval_real.c Handle corner cases of abs(), min() and max() 2008-05-06 22:19:59 -07:00
modpath.c MinGW fixes (development) 2008-05-22 20:24:21 -07:00
vector.c Detect thread bit allocation failures 2008-04-15 21:51:03 -07:00
vvp-s.conf.in Generate VVP_EXECUTABLE flag in conf files. 2003-12-07 19:28:43 +00:00
vvp.c Detect thread bit allocation failures 2008-04-15 21:51:03 -07:00
vvp.conf.in Generate VVP_EXECUTABLE flag in conf files. 2003-12-07 19:28:43 +00:00
vvp_config.h.in Use inttypes.h to get uint64_t print format string 2008-01-14 09:53:20 -08:00
vvp_priv.h Detect thread bit allocation failures 2008-04-15 21:51:03 -07:00
vvp_process.c Add force/release and assign/deassign for real values. 2008-04-17 20:18:20 -07:00
vvp_scope.c MinGW fixes (development) 2008-05-22 20:24:21 -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.