iverilog/tgt-vvp
Cary R 27cdd27889 Add .cast/int and update .cast/real.
This patch adds .cast/int and updates .cast/real to act as a local
(temporary) net and to support either a signed or unsigned input.
The vvp_vector4_t class not can convert an arbitrarily sized double
to a vector value. This removes the restriction of lround().

Also document the new statements.
2008-06-20 19:45:18 -07:00
..
.cvsignore vvp.conf files are generated. 2005-03-18 02:57:23 +00:00
Makefile.in Add support for tranif devices in the vvp code generator. 2008-06-01 21:08:31 -07:00
README.txt
configure.in Use inttypes.h to get uint64_t print format string 2008-01-14 09:53:20 -08:00
draw_mux.c Allow that sum immediate values can be signed. 2008-06-13 13:32:06 -07:00
draw_net_input.c Add .cast/int and update .cast/real. 2008-06-20 19:45:18 -07:00
draw_switch.c Replace the NetPartSelect:BI with NetTran(VP). 2008-06-03 11:16:25 -07:00
draw_ufunc.c Detect thread bit allocation failures 2008-04-15 21:51:03 -07:00
draw_vpi.c Allow &PV<> to reference a VPI object (signal) for the base. 2008-06-13 18:42:08 -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 Signed load-and-add for arrays. 2008-06-14 19:59:57 -07:00
eval_real.c Properly evaluate a unary ! with logic argument and real result. 2008-06-19 19:14:19 -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 Allow that sum immediate values can be signed. 2008-06-13 13:32:06 -07:00
vvp_process.c Allow that sum immediate values can be signed. 2008-06-13 13:32:06 -07:00
vvp_scope.c Add .cast/int and update .cast/real. 2008-06-20 19:45:18 -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.