edu.byu.ece.edif.tools.sterilize.lutreplace
Class RLOCRemove

java.lang.Object
  extended by edu.byu.ece.edif.tools.sterilize.lutreplace.RLOCRemove

public class RLOCRemove
extends java.lang.Object

This tool simply removes LOCs or RLOCs from EDIF.

Version:
$Id: RLOCRemove.java 144 2008-11-07 18:44:51Z jamescarroll $
Author:
Nathan Rollins

Field Summary
private static java.lang.String _designname
           
private static EdifEnvironment _eedesign
           
private static java.lang.String _ext
           
private static java.lang.String _newedif
           
private static java.lang.String _type
           
 
Constructor Summary
RLOCRemove(EdifEnvironment eeDesign)
           
RLOCRemove(EdifEnvironment eeDesign, java.lang.String newFileName)
           
RLOCRemove(java.lang.String filename)
           
 
Method Summary
private static void _parseArgs(java.lang.String[] args)
          This function parses the arguments passed in from the command-line when executing the main function.
private static void _usage()
          This function prints out the command-line options
static void main(java.lang.String[] args)
          A main function
private  void removeRLOC(EdifLibraryManager elmdesign)
           
 void setOutputEdifFile(java.lang.String filename)
          This function sets the name of the EDIF output file.
 void writeEdif()
          This function writes an EDIF file corresponding to the _eedesign EdifEnvironment variable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_eedesign

private static EdifEnvironment _eedesign

_ext

private static java.lang.String _ext

_designname

private static java.lang.String _designname

_newedif

private static java.lang.String _newedif

_type

private static java.lang.String _type
Constructor Detail

RLOCRemove

public RLOCRemove(java.lang.String filename)

RLOCRemove

public RLOCRemove(EdifEnvironment eeDesign,
                  java.lang.String newFileName)

RLOCRemove

public RLOCRemove(EdifEnvironment eeDesign)
Method Detail

removeRLOC

private void removeRLOC(EdifLibraryManager elmdesign)

setOutputEdifFile

public void setOutputEdifFile(java.lang.String filename)
This function sets the name of the EDIF output file.

Parameters:
filename - the name of the output EDIF file

writeEdif

public void writeEdif()
This function writes an EDIF file corresponding to the _eedesign EdifEnvironment variable


main

public static void main(java.lang.String[] args)
A main function

Parameters:
args - the command-line input arguments

_parseArgs

private static void _parseArgs(java.lang.String[] args)
This function parses the arguments passed in from the command-line when executing the main function.

Parameters:
args - the command-line arguments

_usage

private static void _usage()
This function prints out the command-line options