iverilog/tgt-vvp
Stephen Williams 7a812fbe39 Rework vvp code generator for compressed assignments
Now we have a code generator that can handle compressed assignments
as they have been re-imagined in elaboration. There are some cases
that are not yet supported, we'll patch them up in due course.
2011-11-28 15:29:53 -08:00
..
Makefile.in Rework vvp code generator for compressed assignments 2011-11-28 15:29:53 -08:00
README.txt tgt-vvp generates code that skips nets as inputs. 2001-08-10 00:40:45 +00:00
draw_enum.c Add more support for signed enumerations in SV. 2011-09-25 09:56:02 -07:00
draw_mux.c Revert bad merge from vhdl branch 2010-10-02 11:02:27 -07:00
draw_net_input.c For wire and/or nets we need all the net resolution to be and/or. 2011-11-19 08:44:19 -08:00
draw_switch.c Update some warning messages. 2011-01-12 15:57:55 -08:00
draw_ufunc.c Add support for tracing procedural statements. 2011-03-01 18:45:29 -08:00
draw_vpi.c Spelling fixes 2011-03-14 16:28:36 -07:00
eval_bool.c Add support for tracing procedural statements. 2011-03-01 18:45:29 -08:00
eval_expr.c Fix two bugs and use the more efficient !empty() vs size() > 0 2011-11-22 19:44:55 -08:00
eval_real.c Fix some space issues. 2011-09-11 11:41:38 -07:00
modpath.c Make ivl_alloc.h the last include so it doesn't effect any system includes. 2010-11-02 10:51:57 -07:00
stmt_assign.c Rework vvp code generator for compressed assignments 2011-11-28 15:29:53 -08:00
vector.c Fix shadow warnings found on OpenBSD. 2010-05-28 07:03:02 -07:00
vvp-s.conf.in Remove redundant back-end selections. 2008-09-07 16:43:54 -07:00
vvp.c Remove some cppcheck warnings. 2011-05-07 11:40:16 -07: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 08:56:30 -07:00
vvp_priv.h Rework vvp code generator for compressed assignments 2011-11-28 15:29:53 -08:00
vvp_process.c Rework vvp code generator for compressed assignments 2011-11-28 15:29:53 -08:00
vvp_scope.c Assert that sync/async set/clear are not supported for a DFF primitive. 2011-11-17 14:33:00 -08: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.