iverilog/tgt-vvp
Cary R 234648231b Add bit/part select release for constants and add an error check.
This patch adds functionality to do a bit or part select release
when a constant value is forced to the net/register. It also adds an
error message when the user tries to force a signal to a bit/part
select. This is not currently handled by the run time, so is now
caught in the compiler (tgt-vvp). Where when this functionality is
needed, it will be easy to know what to do instead of trying to track
down some odd runtime functionality.

What this all means is that you can force a signal to an entire
signal or you can force a constant to any part of a signal (bit,
part or entire) and release any of the above. Technically the
release of a constant value does not have to match the force.
The runtime verifies that if you are releasing a signal driver
it is being done as a full release. I don't see an easy way to
check this in the compiler.

To fix the signal deficiencies we need to rework the force_link
code to allow multiple drivers and partial unlinking. Much of
this is in the runtime, but the %force/link operator may also
need to be changed like I did to the %release opcode.
2008-03-11 19:56:58 -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 Fix user functions with right shift argument. 2008-01-15 21:01:16 -08:00
draw_vpi.c Rework ivl_file_table_* interface and fix most vvp/examples. 2008-01-03 14:13:22 -08: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 Add bit/part select release for constants and add an error check. 2008-03-11 19:56:58 -07:00
eval_real.c Major rework of the ternary operator elaboration code. 2008-03-08 19:45:13 -08:00
modpath.c modpath nodes need vpi expression handles 2007-11-05 19:59:27 -08:00
vector.c Fix that save expression lookaside always clears cached variable values. 2007-04-01 05:26:17 +00:00
vvp-s.conf.in Generate VVP_EXECUTABLE flag in conf files. 2003-12-07 19:28:43 +00:00
vvp.c Rework ivl_file_table_* interface and fix most vvp/examples. 2008-01-03 14:13:22 -08: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 Spelling fixes 2008-01-29 20:24:24 -08:00
vvp_process.c Add bit/part select release for constants and add an error check. 2008-03-11 19:56:58 -07:00
vvp_scope.c Correct format string 2008-02-15 13:26:24 -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.