com.newisys.dv
Interface Signal

All Known Subinterfaces:
ClockSignal, InOutSignal, InputSignal, OutputSignal
All Known Implementing Classes:
PortSignalWrapper

public interface Signal

Represents a logical signal (or multiple-bit signal bus) that is typically accessed relative to a clock signal. This interface is the abstract base interface for the four concrete signal types: input, output, input/output, and clock.


Method Summary
 ClockSignal getClock()
          Returns the clock signal that this signal is sampled/driven relative to.
 String getName()
          Returns the full name of this signal, as specified to the appropriate getSignal() method of DVSimulation.
 int getSize()
          Returns the width of this signal in bits.
 

Method Detail

getName

String getName()
Returns the full name of this signal, as specified to the appropriate getSignal() method of DVSimulation.

Returns:
the full name of this signal

getClock

ClockSignal getClock()
Returns the clock signal that this signal is sampled/driven relative to. For clock signals, this method returns this.

Returns:
the clock signal for this signal

getSize

int getSize()
Returns the width of this signal in bits. For clock signals, the width is always 1.

Returns:
the width of this signal