com.cmpware.tools
Class AutoModelVLIW.Format

java.lang.Object
  extended by com.cmpware.tools.AutoModelVLIW.Format
Enclosing class:
AutoModelVLIW

public static final class AutoModelVLIW.Format
extends java.lang.Object

The format class describes an instruction format. The first parameter is the number of bits in the instruction and the second is an array of Fields which make up the instruction. By convention the first field in the Field array should be the opcode.


Field Summary
 int bits
          The number of bits in the instruction
 AutoModelVLIW.Field[] fields
          The instruction format
 
Constructor Summary
AutoModelVLIW.Format(int bits, AutoModelVLIW.Field[] fields)
          Constructor
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bits

public int bits
The number of bits in the instruction


fields

public AutoModelVLIW.Field[] fields
The instruction format

Constructor Detail

AutoModelVLIW.Format

public AutoModelVLIW.Format(int bits,
                            AutoModelVLIW.Field[] fields)
Constructor

Parameters:
bits - The number of bits in the instruction.
fields - the instruction fields.