checkpoint
[sbp.git] / tests / SimpleFleet.xml
diff --git a/tests/SimpleFleet.xml b/tests/SimpleFleet.xml
new file mode 100644 (file)
index 0000000..e45a469
--- /dev/null
@@ -0,0 +1,126 @@
+<?xml version='1.0' encoding='utf-8'?>
+
+<!DOCTYPE model SYSTEM "ArchSimModel.dtd">
+
+<model name= "SimpleFleet">
+
+
+<component name= "SourceFunnel" type= "SourceFunnel4" />
+<component name= "InstructionHorn" type= "InstructionHorn4" />
+
+<component name= "Trunk" type= "Trunk" >
+       <parameter name="trunkArbiterDelay" value="5" />
+</component>
+
+<component name= "DestinationHorn" type= "DestinationHorn4" />
+
+<component name= "FetchAndIssue" type= "FetchAndIssue" >
+</component>
+
+<component name= "Fifo5" type= "FifoShip" >
+       <parameter name="fifoCapacity" value="5" />
+       <parameter name="backwardDelay" value="500" />  
+</component>
+
+<component name= "Fifo2" type= "FifoShip" parameter="2" >
+       <parameter name="fifoCapacity" value="2" />
+       <parameter name="forwardDelay" value="100" />
+</component>
+
+<component name= "BitBucket" type= "BitBucket" />
+<component name= "ConstantOne" type= "Constant">
+       <parameter name="constantValue" value= "ONE" />
+</component>
+<component name= "ConstantTwo" type= "Constant" >
+       <parameter name= "constantValue" value="TWO" />
+</component>
+<!-- fetch and issue connections -->
+
+<connection name= "InstructionEntry">
+       <from component= "FetchAndIssue" terminal="InstructionOut" />
+       <to component= "InstructionHorn" terminal="In" />
+</connection>
+
+<connection name= "LiteralBypass">
+       <from component= "FetchAndIssue" terminal="LiteralOut" />
+       <to component= "Trunk" terminal="BypassIn" />
+</connection>
+
+<connection name= "BagNameIn">
+       <from component= "DestinationHorn" terminal="Out0" />
+       <to component= "FetchAndIssue" terminal="In" />
+</connection>
+
+<!-- trunk connections -->
+
+<connection name= "TrunkIn">
+       <from component= "SourceFunnel" terminal="Out" />
+       <to component= "Trunk" terminal="FabricIn" />
+</connection>
+
+<connection name= "TrunkOut">
+       <from component= "Trunk" terminal="Out" />
+       <to component= "DestinationHorn" terminal="In" />
+</connection>
+
+<!-- ship connections -->
+
+<connection name= "ConstOneOut">
+       <from component= "ConstantOne" terminal="Out" />
+       <to component= "SourceFunnel" terminal="SrcIn0" />
+</connection>
+
+<connection name= "Fifo5In">
+       <from component= "DestinationHorn" terminal="Out1" />
+       <to component= "Fifo5" terminal="In" />
+</connection>
+
+<connection name= "Fifo5Out">
+       <from component= "Fifo5" terminal="Out" />
+       <to component= "SourceFunnel" terminal="SrcIn1" />
+</connection>
+
+<connection name= "Fifo2In">
+       <from component= "DestinationHorn" terminal="Out2" />
+       <to component= "Fifo2" terminal="In" />
+</connection>
+
+<connection name= "Fifo2Out">
+       <from component= "Fifo2" terminal="Out" />
+       <to component= "SourceFunnel" terminal="SrcIn2" />
+</connection>
+
+<connection name= "BitBucketIn">
+       <from component= "DestinationHorn" terminal="Out3" />
+       <to component= "BitBucket" terminal="In" />
+</connection>
+
+<connection name= "ConstTwoOut">
+       <from component= "ConstantTwo" terminal="Out" />
+       <to component= "SourceFunnel" terminal="SrcIn3" />
+</connection>
+
+
+<!-- instruction tokens: instr horn to source funnel -->
+
+<connection name= "InstrToken0">
+       <from component= "InstructionHorn" terminal="Out0" />
+       <to component= "SourceFunnel" terminal="In0" />
+</connection>
+
+<connection name= "InstrToken1">
+       <from component= "InstructionHorn" terminal="Out1" />
+       <to component= "SourceFunnel" terminal="In1" />
+</connection>
+
+<connection name= "InstrToken2">
+       <from component= "InstructionHorn" terminal="Out2" />
+       <to component= "SourceFunnel" terminal="In2" />
+</connection>
+
+<connection name= "InstrToken3">
+       <from component= "InstructionHorn" terminal="Out3" />
+       <to component= "SourceFunnel" terminal="In3" />
+</connection>
+
+</model>
\ No newline at end of file