From 67976a39bf1a27564c20386621af208f7435509f Mon Sep 17 00:00:00 2001
From: Dimitris Lampridis <Dimitris.Lampridis@cern.ch>
Date: Sun, 25 Mar 2018 10:23:34 +0200
Subject: [PATCH] hdl: add wb_remapper to wishbone_pkg

---
 modules/wishbone/wishbone_pkg.vhd | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/modules/wishbone/wishbone_pkg.vhd b/modules/wishbone/wishbone_pkg.vhd
index cae69e8..ff6825f 100644
--- a/modules/wishbone/wishbone_pkg.vhd
+++ b/modules/wishbone/wishbone_pkg.vhd
@@ -1081,6 +1081,20 @@ package wishbone_pkg is
       external_granted_o : out std_logic);
   end component;
 
+  component xwb_remapper is
+    generic (
+      g_num_ranges : integer := 1;
+      g_base_in    : t_wishbone_address_array;
+      g_base_out   : t_wishbone_address_array;
+      g_mask_in    : t_wishbone_address_array;
+      g_mask_out   : t_wishbone_address_array);
+    port (
+      slave_i  : in  t_wishbone_slave_in;
+      slave_o  : out t_wishbone_slave_out;
+      master_i : in  t_wishbone_master_in;
+      master_o : out t_wishbone_master_out);
+  end component xwb_remapper;
+
   -----------------------------------------------------------------------------
   -- I2C to Wishbone bridge, following protocol defined with ELMA
   -----------------------------------------------------------------------------
-- 
GitLab