iverilog/tgt-vvp
Cary R faf456ee7e Allocate a string buffer as needed in the code generator and vvp display code
When sending a string to a system task/function allocate the space needed
to avoid truncating the string vs using a large fixed buffer.

In vvp allocate and use an exactly sized buffer for the MCD print routine if
the fixed buffer is not large enough. Using a fixed buffer keeps normal
printing fast.
2012-08-30 19:12:11 -07:00
..
Makefile.in updated FSF-address 2012-08-29 10:12:10 -07:00
README.txt tgt-vvp generates code that skips nets as inputs. 2001-08-10 00:40:45 +00:00
draw_enum.c updated FSF-address 2012-08-29 10:12:10 -07:00
draw_mux.c updated FSF-address 2012-08-29 10:12:10 -07:00
draw_net_input.c updated FSF-address 2012-08-29 10:12:10 -07:00
draw_switch.c updated FSF-address 2012-08-29 10:12:10 -07:00
draw_ufunc.c updated FSF-address 2012-08-29 10:12:10 -07:00
draw_vpi.c Allocate a string buffer as needed in the code generator and vvp display code 2012-08-30 19:12:11 -07:00
eval_bool.c updated FSF-address 2012-08-29 10:12:10 -07:00
eval_expr.c updated FSF-address 2012-08-29 10:12:10 -07:00
eval_object.c updated FSF-address 2012-08-29 10:12:10 -07:00
eval_real.c updated FSF-address 2012-08-29 10:12:10 -07:00
eval_string.c updated FSF-address 2012-08-29 10:12:10 -07:00
modpath.c updated FSF-address 2012-08-29 10:12:10 -07:00
stmt_assign.c updated FSF-address 2012-08-29 10:12:10 -07:00
vector.c updated FSF-address 2012-08-29 10:12:10 -07:00
vvp-s.conf.in Remove redundant back-end selections. 2008-09-07 16:43:54 -07:00
vvp.c updated FSF-address 2012-08-29 10:12:10 -07:00
vvp.conf.in Remove redundant back-end selections. 2008-09-07 16:43:54 -07:00
vvp_config.h.in updated FSF-address 2012-08-29 10:12:10 -07:00
vvp_priv.h updated FSF-address 2012-08-29 10:12:10 -07:00
vvp_process.c updated FSF-address 2012-08-29 10:12:10 -07:00
vvp_scope.c updated FSF-address 2012-08-29 10:12:10 -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.