aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/include/uhd/rfnoc/blocks/dma_fifo.xml2
-rw-r--r--host/include/uhd/rfnoc/blocks/dma_fifo_x4.xml109
2 files changed, 110 insertions, 1 deletions
diff --git a/host/include/uhd/rfnoc/blocks/dma_fifo.xml b/host/include/uhd/rfnoc/blocks/dma_fifo.xml
index fb30d58fe..0de791b22 100644
--- a/host/include/uhd/rfnoc/blocks/dma_fifo.xml
+++ b/host/include/uhd/rfnoc/blocks/dma_fifo.xml
@@ -5,7 +5,7 @@
<key>DmaFIFO</key>
<!--There can be several of these:-->
<ids>
- <id revision="0">F1F0D000</id>
+ <id revision="0">F1F0D00000000000</id>
</ids>
<!-- Registers -->
<registers>
diff --git a/host/include/uhd/rfnoc/blocks/dma_fifo_x4.xml b/host/include/uhd/rfnoc/blocks/dma_fifo_x4.xml
new file mode 100644
index 000000000..b02e7c8c9
--- /dev/null
+++ b/host/include/uhd/rfnoc/blocks/dma_fifo_x4.xml
@@ -0,0 +1,109 @@
+<!--This defines one NoC-Block.-->
+<nocblock>
+ <name>DMA FIFO</name>
+ <blockname>DmaFIFO</blockname>
+ <key>DmaFIFO</key>
+ <!--There can be several of these:-->
+ <ids>
+ <id revision="0">F1F0D00000000004</id>
+ </ids>
+ <!-- Registers -->
+ <registers>
+ </registers>
+ <!-- Args -->
+ <args>
+ <arg>
+ <name>base_addr</name>
+ <type>int</type>
+ <!--<value>0</value>-->
+ <port>0</port>
+ <check>EQUAL($base_addr, 0) OR IS_PWR_OF_2($base_addr)</check>
+ <check_message>The base address must be 0 or a positive power of 2.</check_message>
+ </arg>
+ <arg>
+ <name>depth</name>
+ <type>int</type>
+ <!--<value>33554432</value>-->
+ <port>0</port>
+ <check>IS_PWR_OF_2($depth)</check>
+ <check_message>The FIFO depth must be a positive power of 2.</check_message>
+ </arg>
+ <arg>
+ <name>base_addr</name>
+ <type>int</type>
+ <!--<value>33554432</value>-->
+ <port>1</port>
+ <check>EQUAL($base_addr, 0) OR IS_PWR_OF_2($base_addr)</check>
+ <check_message>The base address must be 0 or a positive power of 2.</check_message>
+ </arg>
+ <arg>
+ <name>depth</name>
+ <type>int</type>
+ <!--<value>33554432</value>-->
+ <port>1</port>
+ <check>IS_PWR_OF_2($depth)</check>
+ <check_message>The FIFO depth must be a positive power of 2.</check_message>
+ </arg>
+ <arg>
+ <name>base_addr</name>
+ <type>int</type>
+ <!--<value>67108864</value>-->
+ <port>2</port>
+ <check>EQUAL($base_addr, 0) OR IS_PWR_OF_2($base_addr)</check>
+ <check_message>The base address must be 0 or a positive power of 2.</check_message>
+ </arg>
+ <arg>
+ <name>depth</name>
+ <type>int</type>
+ <!--<value>33554432</value>-->
+ <port>2</port>
+ <check>IS_PWR_OF_2($depth)</check>
+ <check_message>The FIFO depth must be a positive power of 2.</check_message>
+ </arg>
+ <arg>
+ <name>base_addr</name>
+ <type>int</type>
+ <!--<value>100663296</value>-->
+ <port>3</port>
+ <check>EQUAL($base_addr, 0) OR IS_PWR_OF_2($base_addr)</check>
+ <check_message>The base address must be 0 or a positive power of 2.</check_message>
+ </arg>
+ <arg>
+ <name>depth</name>
+ <type>int</type>
+ <!--<value>33554432</value>-->
+ <port>3</port>
+ <check>IS_PWR_OF_2($depth)</check>
+ <check_message>The FIFO depth must be a positive power of 2.</check_message>
+ </arg>
+
+ </args>
+ <!--All the connections to the outside world are listed in 'ports':-->
+ <ports>
+ <sink>
+ <name>in0</name>
+ </sink>
+ <sink>
+ <name>in1</name>
+ </sink>
+ <sink>
+ <name>in2</name>
+ </sink>
+ <sink>
+ <name>in3</name>
+ </sink>
+ <source>
+ <name>out0</name>
+ </source>
+ <source>
+ <name>out1</name>
+ </source>
+ <source>
+ <name>out2</name>
+ </source>
+ <source>
+ <name>out3</name>
+ </source>
+ </ports>
+</nocblock>
+