|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object extended by gmj.pcb.fpga.test.ChipDef
public class ChipDef
Maps row numbers to row names etc. assumes that rows are alpha and columns are numeric sample file rows 16 columns 16 rowsIndices A B C D E F G H J K L M N P R T
Field Summary | |
---|---|
private int |
columns
|
private String[] |
rowIndices
|
private int |
rows
|
Constructor Summary | |
---|---|
private |
ChipDef()
|
Method Summary | |
---|---|
int |
getColumn(String pinName)
|
private static String |
getDef(BufferedReader reader,
String label)
|
private int |
getNumIndex(String pinName)
|
int |
getRow(String pinName)
|
static void |
main(String[] args)
|
static ChipDef |
parseChipDef(InputStream inStream)
|
static ChipDef |
parseChipDef(String fileName)
|
private static String[] |
parseRowIndices(BufferedReader reader,
int rows)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int rows
private int columns
private String[] rowIndices
Constructor Detail |
---|
private ChipDef()
Method Detail |
---|
public int getRow(String pinName)
public int getColumn(String pinName)
private int getNumIndex(String pinName)
public static ChipDef parseChipDef(String fileName) throws IOException
IOException
public static ChipDef parseChipDef(InputStream inStream) throws IOException
IOException
private static String getDef(BufferedReader reader, String label) throws IOException
IOException
private static String[] parseRowIndices(BufferedReader reader, int rows) throws IOException
IOException
public String toString()
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |