iverilog/tgt-vvp
Larry Doolittle e221a8ced9 Rearrange compiler warning flags
Before this patch, WARNING_FLAGS applied to both C and C++,
and WARNING_FLAGS_CXX applied to C++ only.
This patch adds a WARNING_FLAGS_CC that applies to C only.
That change should be generally useful; in particular the C
code is almost ready for -Wstrict-prototypes, which does not
apply to C++.

-Wextra (or -W) used to only apply to C++ via WARNING_FLAGS_CXX.
This patch moves it to WARNING_FLAGS, to apply to both C and C++.
Unfortunately, that triggers a ton of warnings.

For now, cover most of the new warnings up by adding
-Wno-unused -Wno-sign-compare -Wno-type-limits
to WARNING_FLAGS_CC.  In the long run, I want to change the C coding
style, and take off these disable-warning flags.  But those changes
can dribble in as separate commits; this patch is big enough already.

Actually fix a couple missing-field-initializers in libveriuser/veriusertfs.c.
2014-07-09 09:04:17 -07:00
..
Makefile.in Rearrange compiler warning flags 2014-07-09 09:04:17 -07:00
README.txt tgt-vvp generates code that skips nets as inputs. 2001-08-10 00:40:45 +00:00
cppcheck.sup Remove some cppcheck warnings 2014-06-28 16:56:09 -07:00
draw_class.c Pick some low-hanging const fruit 2014-06-09 10:47:28 -07:00
draw_enum.c updated FSF-address 2012-08-29 10:12:10 -07:00
draw_mux.c Fix printf opcode argument mismatches in tgt-vvp (cppcheck) 2012-08-31 12:36:55 -07:00
draw_net_input.c Fuss with C function prototypes 2014-07-08 13:44:11 -07:00
draw_switch.c updated FSF-address 2012-08-29 10:12:10 -07:00
draw_ufunc.c Handle initialized darray of strings 2013-10-19 15:34:15 -07:00
draw_vpi.c Fix uninitialized buffer when drawing a real VPI argument 2013-01-22 09:22:50 -08:00
eval_bool.c updated FSF-address 2012-08-29 10:12:10 -07:00
eval_expr.c Remove cppcheck warnings in tgt-vvp 2014-04-17 16:26:51 -07:00
eval_object.c Remove cppcheck warnings in tgt-vvp 2014-04-17 16:26:51 -07:00
eval_real.c Fix leaks in the object stack 2013-12-03 17:24:42 -08:00
eval_string.c Fix leaks in the object stack 2013-12-03 17:24:42 -08:00
modpath.c updated FSF-address 2012-08-29 10:12:10 -07:00
stmt_assign.c Remove cppcheck warnings in tgt-vvp 2014-04-17 16:26:51 -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 Fuss with C function prototypes 2014-07-08 13:44:11 -07:00
vvp_process.c Remove cppcheck warnings in tgt-vvp 2014-04-17 16:26:51 -07:00
vvp_scope.c Basic DFF asynchronous set/reset synthesis support. 2014-06-15 18:22:02 -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.