demos
Class SDFTest

java.lang.Object
  extended by demos.SDFTest

public class SDFTest
extends java.lang.Object

Test a simple model with SDF. The first test exercises a multi-rate model, running as fast as possible. The second uses a loop and a delay to feed an adder with its output. If called with one argument, the pin rate of the output of the adder is set so that the model is not valid and an exception should be thrown. This second test is run at the rate of one snapshot every second.


Constructor Summary
SDFTest()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static void test_loopdelay(java.lang.String[] args)
           
static void test_loopfree(java.lang.String[] args)
          This model contains two ramps connected to an adder whose output is connected to a display.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDFTest

public SDFTest()
Method Detail

main

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

test_loopfree

public static void test_loopfree(java.lang.String[] args)
This model contains two ramps connected to an adder whose output is connected to a display.

Parameters:
args -

test_loopdelay

public static void test_loopdelay(java.lang.String[] args)