com.sun.electric.tool.user
Class CompileVHDL

java.lang.Object
  extended by com.sun.electric.tool.user.CompileVHDL

public class CompileVHDL
extends java.lang.Object

This is the VHDL Compiler.


Constructor Summary
CompileVHDL(Cell vhdlCell)
          The constructor compiles the VHDL and produces a netlist.
 
Method Summary
 java.util.List<java.lang.String> getALSNetlist(Library destLib)
          Method to generate an ALS (simulation) netlist.
 java.util.List<java.lang.String> getQUISCNetlist(Library destLib)
          Method to generate a QUISC (silicon compiler) netlist.
 boolean hasErrors()
          Method to report whether the VHDL compile was successful.
static com.sun.electric.tool.user.CompileVHDL.VKeyword isKeyword(java.lang.String tString)
          Method to get address in the keyword table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompileVHDL

public CompileVHDL(Cell vhdlCell)
The constructor compiles the VHDL and produces a netlist.

Method Detail

hasErrors

public boolean hasErrors()
Method to report whether the VHDL compile was successful.

Returns:
true if there were errors.

getQUISCNetlist

public java.util.List<java.lang.String> getQUISCNetlist(Library destLib)
Method to generate a QUISC (silicon compiler) netlist.

Parameters:
destLib - destination library.
Returns:
a List of strings with the netlist.

getALSNetlist

public java.util.List<java.lang.String> getALSNetlist(Library destLib)
Method to generate an ALS (simulation) netlist.

Parameters:
destLib - destination library.
Returns:
a List of strings with the netlist.

isKeyword

public static com.sun.electric.tool.user.CompileVHDL.VKeyword isKeyword(java.lang.String tString)
Method to get address in the keyword table.

Parameters:
tString - string to lookup.
Returns:
entry in keywords table if keyword, else null.