Browse Prior Art Database

DSL Constant Preprocessor (DPP)

IP.com Disclosure Number: IPCOM000102722D
Original Publication Date: 1990-Jan-01
Included in the Prior Art Database: 2005-Mar-17
Document File: 1 page(s) / 39K

Publishing Venue

IBM

Related People

Peterson, MJ: AUTHOR

Abstract

Disclosed is a program that preprocesses DSL/1 (a logic design description language) source code to provide several modern "programming" constructs. These constructs are not available in the base language. They add to the design's readability and reduce the risk of designer errors.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 99% of the total text.

DSL Constant Preprocessor (DPP)

      Disclosed is a program that preprocesses DSL/1 (a logic design
description language) source code to provide several modern
"programming" constructs. These constructs are not available in the
base language.  They add to the design's readability and reduce the
risk of designer errors.

      Constant values for DSL netnames can be added at the top of the
DSL source.  DPP will find all uses of the predefined constant nets
and replace the name with the constant number (essentially similar to
programming language macro preprocessors).

      The replacements are done with string replacements so other
uses of the replacement capability are possible. Replacements are
also done inside of constant definitions so nesting of definitions is
supported.

      DSL forces all case statement labels to be absolute literals
such as B'0000110'.  The DPP replacement allows a designer to use
named labels that greatly increase the readability, flexibility, and
accuracy of these statements.

      The preprocessor creates source code with "LISTING" information
in DPP generated comments.  All DPP definitions are commented out and
all replacements are tagged with the name of the constant in a
comment.

      After the DPP string replacement, the source code line may be
over the 72 character limit imposed by DSL.  DPP will break these
lines into multiple new lines to provide completely compilable source
code.

      Disclosed ano...