iverilog/tgt-vvp
Jared Casper 9b785031f5 Implement SystemVerilog final statements.
Add a new IVL_PR_FINAL process type.

Add a flag to NetScope in_final_ which is set when elaborating the
statement of a final procedure.

Add checks during statement elaboration for invalid statements in a
final procedure, similar to checks for statements in functions.

Do a final check to make sure no final blocks have delays.

In the vvp runtime, use "$final" as the flag for the thread created by
the final procedure.  During compilation, instead of adding such a
thread to the sched_list, add it to a new schedule_final_list that
mirrors the schedule_init_list, but is run at the end of simulation.
2011-08-11 14:31:38 -07:00
..
Makefile.in Describe enum type to code generators 2010-11-20 15:09:32 -08:00
README.txt tgt-vvp generates code that skips nets as inputs. 2001-08-10 00:40:45 +00:00
draw_enum.c Properly handle base-type logic enumerations. 2010-11-21 17:24:46 -08:00
draw_mux.c Revert bad merge from vhdl branch 2010-10-02 11:02:27 -07:00
draw_net_input.c Pass structural constant string information to the ivl interface. 2011-04-20 17:29:35 -07: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 Add support for increment and decrement operators 2011-08-11 14:25:19 -07:00
eval_real.c Change the net expression cast from 'i' to 'v' 2011-08-07 11:40:34 -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
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 Add support for tracing procedural statements. 2011-03-01 18:45:29 -08:00
vvp_process.c Implement SystemVerilog final statements. 2011-08-11 14:31:38 -07:00
vvp_scope.c Fix for pr3368642.v. 2011-08-07 11:15: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.