From 4537de81205fe48d709dc89f981cadab707cf115 Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 9 May 2001 02:53:25 +0000 Subject: [PATCH] Implement the .resolv syntax. --- vvp/Makefile.in | 4 +-- vvp/README.txt | 15 ++++----- vvp/compile.cc | 50 ++++++++++++++++++++++++++++-- vvp/compile.h | 13 +++++++- vvp/functor.cc | 11 ++++++- vvp/functor.h | 7 +++-- vvp/lexor.lex | 6 +++- vvp/parse.y | 16 ++++++++-- vvp/resolv.cc | 82 +++++++++++++++++++++++++++++++++++++++++++++++++ vvp/resolv.h | 41 +++++++++++++++++++++++++ 10 files changed, 227 insertions(+), 18 deletions(-) create mode 100644 vvp/resolv.cc create mode 100644 vvp/resolv.h diff --git a/vvp/Makefile.in b/vvp/Makefile.in index 20073eeb4..2854ed732 100644 --- a/vvp/Makefile.in +++ b/vvp/Makefile.in @@ -16,7 +16,7 @@ # 59 Temple Place - Suite 330 # Boston, MA 02111-1307, USA # -#ident "$Id: Makefile.in,v 1.17 2001/05/08 23:59:33 steve Exp $" +#ident "$Id: Makefile.in,v 1.18 2001/05/09 02:53:25 steve Exp $" # # SHELL = /bin/sh @@ -62,7 +62,7 @@ V = vpi_modules.o vpi_const.o vpi_iter.o vpi_mcd.o vpi_priv.o \ vpi_scope.o vpi_signal.o vpi_tasks.o vpi_time.o vpi_memory.o O = main.o parse.o parse_misc.o lexor.o compile.o debug.o functor.o \ -symbols.o codes.o vthread.o schedule.o tables.o udp.o memory.o $V +resolv.o symbols.o codes.o vthread.o schedule.o tables.o udp.o memory.o $V vvp: $O $(CXX) $(rdynamic) $(CXXFLAGS) $(LDFLAGS) -o vvp $O $(LIBS) $(dllib) diff --git a/vvp/README.txt b/vvp/README.txt index b06956675..e4ae0379f 100644 --- a/vvp/README.txt +++ b/vvp/README.txt @@ -1,7 +1,7 @@ /* * Copyright (c) 2001 Stephen Williams (steve@icarus.com) * - * $Id: README.txt,v 1.24 2001/05/08 23:58:43 steve Exp $ + * $Id: README.txt,v 1.25 2001/05/09 02:53:25 steve Exp $ */ VVP SIMULATION ENGINE @@ -387,13 +387,14 @@ to make this one go. RESOLVER STATEMENTS: -Resolver statements are functors with 4 inputs, but their job is to -calculate a resolved output using strength resolution. The type of the -functor is used to select a specific resolution function. +Resolver statements are strength-aware functors with 4 inputs, but +their job typically is to calculate a resolved output using strength +resolution. The type of the functor is used to select a specific +resolution function. -