iverilog/tgt-vvp
Martin Whitaker 9950704735 Fix vvp code generator bug for CA function calls with array word arguments.
If a function in a continuous assignment is passed an array word as
an argument, syntactically incorrect vvp code is generated. This is
because the code calls draw_net_input to generate the input labels
part way through writing out the .ufunc statement. If an input is
an array word, draw_net_input causes a .array/port statement to be
emitted, which gets written out in the middle of the .ufunc statement.
This patch fixes the problem by collecting the necessary input labels
prior to starting writing the .ufunc statement.
2009-11-01 11:06:33 -08:00
..
Makefile.in Still more build system cleanup. 2009-10-23 10:57:41 -07:00
README.txt tgt-vvp generates code that skips nets as inputs. 2001-08-10 00:40:45 +00:00
draw_mux.c Add error message that only 32 bit immediate CA delays are supported. 2009-10-23 11:00:56 -07:00
draw_net_input.c Add driver for the HiZ of open nets. 2009-10-15 21:19:19 -07:00
draw_switch.c Make control inputs to islands use .import records. 2009-10-11 16:51:06 -07:00
draw_ufunc.c Content-free portability fixes. 2008-09-29 18:06:47 -07:00
draw_vpi.c Add support for signed thread base index for &A<> 2009-09-22 17:20:31 -07:00
eval_bool.c Add support for 64 bit delays in procedural non-blocking assignments. 2009-02-17 10:32:11 -08:00
eval_expr.c Add file/line information to named events and better expr. error. 2009-09-08 15:58:24 -07:00
eval_real.c For real expressions evaluate non-real sub-exprs as bits and convert. 2009-06-19 21:58:13 -07:00
modpath.c Content-free portability fixes. 2008-09-29 18:06:47 -07:00
vector.c Remove most of the lingering CVS droppings. 2008-12-05 21:48:28 -08:00
vvp-s.conf.in Remove redundant back-end selections. 2008-09-07 16:43:54 -07:00
vvp.c Some compiler cleanup and minor memory leak fixes. 2009-06-19 21:42:07 -07:00
vvp.conf.in Remove redundant back-end selections. 2008-09-07 16:43:54 -07:00
vvp_config.h.in Remove most of the lingering CVS droppings. 2008-12-05 21:48:28 -08:00
vvp_priv.h Make control inputs to islands use .import records. 2009-10-11 16:51:06 -07:00
vvp_process.c Optimize a full L-value indexed part select, etc. 2009-09-22 17:23:26 -07:00
vvp_scope.c Fix vvp code generator bug for CA function calls with array word arguments. 2009-11-01 11:06:33 -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.