From c82b186610ecb3522893c936260aacb52d997073 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Wed, 1 Apr 2015 16:48:10 +0200 Subject: [PATCH] Add interface definitions for the fifo_rd and fifo_wr interfaces Using interface definitions makes it possible to group pins of a peripheral into a interface pins. This allows us to use connect_bd_intf_net to connect all pins of the interface instead of having to manually call connect_bd_net for each for the pins. Using interface pins also unclutters the connections in the Vivado block design view a bit. Signed-off-by: Lars-Peter Clausen --- library/interfaces/fifo_rd.xml | 13 +++++ library/interfaces/fifo_rd_rtl.xml | 69 +++++++++++++++++++++++ library/interfaces/fifo_wr.xml | 13 +++++ library/interfaces/fifo_wr_rtl.xml | 88 ++++++++++++++++++++++++++++++ 4 files changed, 183 insertions(+) create mode 100644 library/interfaces/fifo_rd.xml create mode 100644 library/interfaces/fifo_rd_rtl.xml create mode 100644 library/interfaces/fifo_wr.xml create mode 100644 library/interfaces/fifo_wr_rtl.xml diff --git a/library/interfaces/fifo_rd.xml b/library/interfaces/fifo_rd.xml new file mode 100644 index 000000000..66d44bdbd --- /dev/null +++ b/library/interfaces/fifo_rd.xml @@ -0,0 +1,13 @@ + + + analog.com + interface + fifo_rd + 1.0 + false + false + + 1 + 1 + FIFO Read Interface + diff --git a/library/interfaces/fifo_rd_rtl.xml b/library/interfaces/fifo_rd_rtl.xml new file mode 100644 index 000000000..3c15f7203 --- /dev/null +++ b/library/interfaces/fifo_rd_rtl.xml @@ -0,0 +1,69 @@ + + + analog.com + interface + fifo_rd_rtl + 1.0 + + + + DATA + FIFO Read Data + + + true + + + required + in + + + required + out + + 0 + + + + EN + FIFO Read Enable + + + required + 1 + out + + + required + 1 + in + + 0 + + + + UNDERFLOW + + + 1 + in + + + 1 + + + + + VALID + + + 1 + in + + + required + + + + + diff --git a/library/interfaces/fifo_wr.xml b/library/interfaces/fifo_wr.xml new file mode 100644 index 000000000..8e1f4d781 --- /dev/null +++ b/library/interfaces/fifo_wr.xml @@ -0,0 +1,13 @@ + + + analog.com + interface + fifo_wr + 1.0 + false + false + + 1 + 1 + FIFO Write Interface + diff --git a/library/interfaces/fifo_wr_rtl.xml b/library/interfaces/fifo_wr_rtl.xml new file mode 100644 index 000000000..49509dbfa --- /dev/null +++ b/library/interfaces/fifo_wr_rtl.xml @@ -0,0 +1,88 @@ + + + analog.com + interface + fifo_wr_rtl + 1.0 + + + + DATA + + + + true + + + required + out + + + required + in + + 0 + + + + EN + + + + required + 1 + out + + + required + 1 + in + + 0 + + + + OVERFLOW + + + + optional + 1 + in + + + optional + 1 + out + + 0 + + + + SYNC + + + + optional + 1 + out + + + optional + 1 + in + + 0 + + + + XFER_REQ + + + 1 + in + + + + +