edu.cmu.emulator.gen
Class PathBasedEmuDef

java.lang.Object
  extended by edu.cmu.emulator.gen.PathBasedEmuDef

public class PathBasedEmuDef
extends Object

Hides details of the emulator implementation from the rest of the path based DSP verilog generation.

Author:
Glenn Judd

Field Summary
protected  DSPHardwareConfiguration dspHWConfig
           
protected  Emulator emulator
           
protected  EmuHWConfiguration hwConfig
           
protected  int inputSampleSize
           
protected  int outputSampleSize
           
protected  ConfigFileParser parser
           
protected  SignalEnvironment sigEnv
           
 
Constructor Summary
PathBasedEmuDef(String configFile, String hwConfigFile, int inputSampleSize, int outputSampleSize)
           
 
Method Summary
 int getAuxFPGAPort()
           
 int getDelayPathDepth(int sPort, int dPort, int pathIndex)
           
 int getInputDDRSampleSize()
           
 int getInputSampleSize()
           
 int getMaxDelay(int sPort, int tapIndex)
           
 int getMaxDelayPathDepth(int sPort)
           
 int getMinDelay(int sPort, int tapIndex)
           
 int getNumIncomingPaths(int dPort)
           
 int getNumOutgoingPaths(int sPort)
           
 int getNumPaths(int sPort, int dPort)
           
 int getNumPorts()
           
 int getOutputDDRSampleSize()
           
 int getOutputSampleSize()
           
 ConfigFileParser getParser()
           
protected  Path getPath(int sPort, int tapIndex)
           
 int getPathIndex(int sPort, int dPort, int pathIndex)
           
 String getPortID(int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sigEnv

protected SignalEnvironment sigEnv

hwConfig

protected EmuHWConfiguration hwConfig

dspHWConfig

protected DSPHardwareConfiguration dspHWConfig

inputSampleSize

protected int inputSampleSize

outputSampleSize

protected int outputSampleSize

emulator

protected Emulator emulator

parser

protected ConfigFileParser parser
Constructor Detail

PathBasedEmuDef

public PathBasedEmuDef(String configFile,
                       String hwConfigFile,
                       int inputSampleSize,
                       int outputSampleSize)
                throws IOException
Throws:
IOException
Method Detail

getParser

public ConfigFileParser getParser()

getNumPorts

public int getNumPorts()

getNumPaths

public int getNumPaths(int sPort,
                       int dPort)

getPath

protected Path getPath(int sPort,
                       int tapIndex)

getMinDelay

public int getMinDelay(int sPort,
                       int tapIndex)

getMaxDelay

public int getMaxDelay(int sPort,
                       int tapIndex)

getMaxDelayPathDepth

public int getMaxDelayPathDepth(int sPort)

getDelayPathDepth

public int getDelayPathDepth(int sPort,
                             int dPort,
                             int pathIndex)

getPathIndex

public int getPathIndex(int sPort,
                        int dPort,
                        int pathIndex)

getInputSampleSize

public int getInputSampleSize()

getOutputSampleSize

public int getOutputSampleSize()

getInputDDRSampleSize

public int getInputDDRSampleSize()

getOutputDDRSampleSize

public int getOutputDDRSampleSize()

getPortID

public String getPortID(int port)

getNumOutgoingPaths

public int getNumOutgoingPaths(int sPort)

getNumIncomingPaths

public int getNumIncomingPaths(int dPort)

getAuxFPGAPort

public int getAuxFPGAPort()


Copyright © 2013. All Rights Reserved.