From 864e6af3155c99ea616121645546df40d872b718 Mon Sep 17 00:00:00 2001 From: Raphael Roth Date: Thu, 28 Nov 2024 11:45:09 +0100 Subject: [PATCH] fix lowercase register names --- src/frontend/reg/tpl/idma_reg.hjson.tpl | 6 +++--- src/frontend/reg/tpl/idma_reg.sv.tpl | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/frontend/reg/tpl/idma_reg.hjson.tpl b/src/frontend/reg/tpl/idma_reg.hjson.tpl index 9e7ada3..cb08592 100644 --- a/src/frontend/reg/tpl/idma_reg.hjson.tpl +++ b/src/frontend/reg/tpl/idma_reg.hjson.tpl @@ -55,7 +55,7 @@ ${params} } ] }, - { name: "sMMU", + { name: "smmu", desc: "Configuration Register for the SMMU", swaccess: "rw", hwaccess: "hro", @@ -78,7 +78,7 @@ ${params} } ] }, - { name: "sMMU_root_pt_h", + { name: "smmu_root_pt_h", desc: "High Word of the root of the page table", swaccess: "rw", hwaccess: "hro", @@ -89,7 +89,7 @@ ${params} } ] }, - { name: "sMMU_root_pt_l", + { name: "smmu_root_pt_l", desc: "Low Word of the root of the page table (needs to be page aligned)", swaccess: "rw", hwaccess: "hro", diff --git a/src/frontend/reg/tpl/idma_reg.sv.tpl b/src/frontend/reg/tpl/idma_reg.sv.tpl index 01c6255..606ac46 100644 --- a/src/frontend/reg/tpl/idma_reg.sv.tpl +++ b/src/frontend/reg/tpl/idma_reg.sv.tpl @@ -134,11 +134,11 @@ module idma_${identifier} #( arb_dma_req[i]${sep}opt.beo.dst_reduce_len = dma_reg2hw[i].conf.dst_reduce_len.q; // SMMU Options - smmu_f_bare = dma_reg2hw[i].sMMU.f_bare.q; - smmu_f_exe = dma_reg2hw[i].sMMU.f_exe.q; - smmu_f_user = dma_reg2hw[i].sMMU.f_user.q; - smmu_f_update_tlb = dma_reg2hw[i].sMMU.f_update_tlb.q; - smmu_pt_root_adr = {dma_reg2hw[i].sMMU_root_pt_h.q , dma_reg2hw[i].sMMU_root_pt_l.q}; + smmu_f_bare = dma_reg2hw[i].smmu.f_bare.q; + smmu_f_exe = dma_reg2hw[i].smmu.f_exe.q; + smmu_f_user = dma_reg2hw[i].smmu.f_user.q; + smmu_f_update_tlb = dma_reg2hw[i].smmu.f_update_tlb.q; + smmu_pt_root_adr = {dma_reg2hw[i].smmu_root_pt_h.q , dma_reg2hw[i].smmu_root_pt_l.q}; % if num_dim != 1: // ND connections