From aa3706926fb45bf1ded14714a5719abfc7106997 Mon Sep 17 00:00:00 2001 From: Romain Broucquart <romain.broucquart@synchrotron-soleil.fr> Date: Wed, 20 Apr 2022 15:22:14 +0200 Subject: [PATCH] First step for AddressSpace handled by fwk * Rename the RDL file, and the addrmap name to match the module name. * Add addAddressSpace that gives the RDL file path. --- rdl/{combpm_ctrl.rdl => COMBPM.rdl} | 5 ++++- tcl/main.tcl | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) rename rdl/{combpm_ctrl.rdl => COMBPM.rdl} (95%) diff --git a/rdl/combpm_ctrl.rdl b/rdl/COMBPM.rdl similarity index 95% rename from rdl/combpm_ctrl.rdl rename to rdl/COMBPM.rdl index bb1345b..daea663 100644 --- a/rdl/combpm_ctrl.rdl +++ b/rdl/COMBPM.rdl @@ -1,6 +1,9 @@ +`include "COMBPM.vh" // Auto generated from FWK +addrmap COMBPM { -addrmap combpm_ctrl { + desyrdl_generate_hdl = true; + desyrdl_interface = "AXI4L"; name="BPM protocol decoder controller"; diff --git a/tcl/main.tcl b/tcl/main.tcl index 8a0a4ad..eb47258 100644 --- a/tcl/main.tcl +++ b/tcl/main.tcl @@ -23,6 +23,8 @@ proc setSources {} { # ============================================================================== proc setAddressSpace {} { + variable AddressSpace + addAddressSpace AddressSpace "COMBPM" RDL {} ../rdl/COMBPM.rdl } # ============================================================================== -- GitLab