byucc.jhdl.Xilinx.XC4000.techmap
Class TESTTechmap

java.lang.Object
  extended bybyucc.jhdl.Xilinx.XC4000.techmap.TESTTechmap

public class TESTTechmap
extends java.lang.Object

This is a regression test for the XC4000 library. The tests it runs should either set the static flag testOK or throw an exception to signal failure; but calling System.exit() is discouraged because it does not return to the regression tester. If any test needs to reference a file, the method getTestDirPath() returns the relative path to byucc/jhdl/Xilinx/XC4000/techmap/test from the current directory of execution.


Field Summary
static boolean runningRegression
           
static boolean testOK
           
 
Constructor Summary
TESTTechmap()
           
 
Method Summary
static int getIntegerArg(java.lang.String s)
           
static java.lang.String getTestDirPath()
          Returns the relative path from the command line to the test directory, so that hard-coded netlists can point to the right file.
static void main(java.lang.String[] argv)
           
static void printSyntax()
           
static void printTestList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testOK

public static boolean testOK

runningRegression

public static boolean runningRegression
Constructor Detail

TESTTechmap

public TESTTechmap()
Method Detail

getTestDirPath

public static final java.lang.String getTestDirPath()
Returns the relative path from the command line to the test directory, so that hard-coded netlists can point to the right file.

Returns:
the (relative) directory path to byucc/jhdl/Xilinx/XC4000/techmap/test

getIntegerArg

public static int getIntegerArg(java.lang.String s)

printTestList

public static void printTestList()

printSyntax

public static void printSyntax()

main

public static void main(java.lang.String[] argv)


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.