]> AND Private Git Repository - blast.git/commitdiff
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
added an example of source block
authorstephane Domas <stephane.domas@univ-fcomte.fr>
Tue, 9 May 2017 17:56:09 +0000 (19:56 +0200)
committerstephane Domas <stephane.domas@univ-fcomte.fr>
Tue, 9 May 2017 17:56:09 +0000 (19:56 +0200)
source-2O.xml [new file with mode: 0644]

diff --git a/source-2O.xml b/source-2O.xml
new file mode 100644 (file)
index 0000000..3c94d75
--- /dev/null
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<block>
+  <informations>
+    <name>
+      source-2O
+    </name>
+    <category ids="6" />  
+    <description>
+      <brief>
+       A testing source block, with 2 outputs
+      </brief>
+      <detailed>
+       A testing source block, with 2 outputs  
+      </detailed>     
+    </description>    
+  </informations>
+
+  <parameters>
+    <parameter name="data_width" type="string" value="8" context="user"/>
+  </parameters>
+
+  <interfaces>
+    <inputs>
+      <input name="clk" width="1" purpose="clock" />
+      <input name="rst" width="1" purpose="reset" />
+    </inputs>
+    <outputs>
+      <output name="data1_o" width="$data_width"/>
+      <output name="data2_o" width="$data_width"/>      
+    </outputs>
+  </interfaces>
+
+</block>