byucc.edif.libraries.xilinx
Class SignalSymbol

java.lang.Object
  extended by byucc.edif.libraries.xilinx.Symbol
      extended by byucc.edif.libraries.xilinx.SignalSymbol
All Implemented Interfaces:
VhdlParserConstants

 class SignalSymbol
extends Symbol

Represents and entry in the symbol tables for a signal or a variable. if a signal kind is given, a signal is generated, if a signal kind is not given, a variable is generated by the constructor.

Version:
$Id: Symbol.java,v 1.2 2004/05/06 00:47:34 tsa6 Exp $

Field Summary
 ASTrelation init
          Expression for initial value
 int signal_kind
          Kind of this signal
 Symbol type
          Type of this signal
 
Fields inherited from class byucc.edif.libraries.xilinx.Symbol
identifier, kind, last_alias
 
Fields inherited from interface byucc.edif.libraries.xilinx.VhdlParserConstants
ABS, ACCESS, ACROSS, ADD, AFTER, ALIAS, ALL, AND, ARCHITECTURE, ARRAY, ASSERT, ATTRIBUTE, base, base_specifier, based_integer, based_literal, basic_character, basic_graphic_character, basic_identifier, BEGIN, bit_string_literal, bit_value, BLOCK, BODY, BREAK, BUFFER, BUS, CASE, character_literal, COMMENT, COMPONENT, CONCAT, CONFIGURATION, CONSTANT, decimal_literal, DEFAULT, digit, DISCONNECT, DIV, DOWNTO, ELSE, ELSIF, END, ENTITY, EOF, EQ, EXIT, EXP, exponent, extended_digit, extended_identifier, FILE, FOR, format_effector, FUNCTION, GE, GENERATE, GENERIC, graphic_character, GROUP, GT, GUARDED, IF, IMPURE, IN, INERTIAL, INOUT, integer, IS, LABEL, LE, letter, letter_or_digit, LIBRARY, LINKAGE, LITERAL, LO, LOOP, lower_case_letter, MAP, MOD, MUL, NAND, NATURE, NEQ, NEW, NEXT, NOISE, NOR, NOT, NULL, OF, ON, OPEN, OR, other_special_character, OTHERS, OUT, PACKAGE, PORT, POSTPONED, PROCEDURAL, PROCEDURE, PROCESS, PURE, QUANTITY, RANGE, RECORD, REGISTER, REJECT, REM, REPORT, RETURN, ROL, ROR, SELECT, SEMICOLON, SEVERITY, SHARED, SIGNAL, SLA, SLL, special_character, SPECTRUM, SRA, SRL, string_literal, SUB, SUBNATURE, SUBTYPE, TERMINAL, THEN, THROUGH, TO, tokenImage, TOLERANCE, TRANSPORT, TYPE, UNAFFECTED, underline, UNITS, UNTIL, upper_case_letter, USE, VARIABLE, WAIT, WHEN, WHILE, WITH, XNOR, XOR
 
Constructor Summary
SignalSymbol(java.lang.String id, Symbol t, ASTrelation i)
          Create a new variable symbol for the identifier id with the type t and the inition value i.
SignalSymbol(java.lang.String id, Symbol t, int sk, ASTrelation i)
          Create a new signal symbol for the identifier id with the type t of a signal-kind (bus, register,...) sk and an initial value i
 
Method Summary
 
Methods inherited from class byucc.edif.libraries.xilinx.Symbol
dump
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public Symbol type
Type of this signal


signal_kind

public int signal_kind
Kind of this signal


init

public ASTrelation init
Expression for initial value

Constructor Detail

SignalSymbol

public SignalSymbol(java.lang.String id,
                    Symbol t,
                    int sk,
                    ASTrelation i)
Create a new signal symbol for the identifier id with the type t of a signal-kind (bus, register,...) sk and an initial value i


SignalSymbol

public SignalSymbol(java.lang.String id,
                    Symbol t,
                    ASTrelation i)
Create a new variable symbol for the identifier id with the type t and the inition value i.