From e21c036a20049ad8a5083967943f932a08412a89 Mon Sep 17 00:00:00 2001 From: Moritz Imfeld Date: Mon, 1 Jul 2024 14:45:30 +0200 Subject: [PATCH] Add Ara support for back-referencing Co-authored-by: Vincenzo Maisto Co-authored-by: Matteo Perotti Signed-off-by: Moritz Imfeld --- target/xilinx/src/cheshire_top_xilinx.sv | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/xilinx/src/cheshire_top_xilinx.sv b/target/xilinx/src/cheshire_top_xilinx.sv index b0494052..9756670e 100644 --- a/target/xilinx/src/cheshire_top_xilinx.sv +++ b/target/xilinx/src/cheshire_top_xilinx.sv @@ -97,6 +97,11 @@ module cheshire_top_xilinx import cheshire_pkg::*; ( ret.Usb = 1; `else ret.Usb = 0; + `endif + `ifdef ARA + ret.Ara = 1; + ret.AraVLEN = `ifdef VLEN `VLEN `else 0 `endif; + ret.AraNrLanes = `ifdef NR_LANES `NR_LANES `else 0 `endif; `endif return ret; endfunction