Skip to content

Commit

Permalink
fix lowercase register names
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Roth committed Nov 28, 2024
1 parent 85c45ac commit 864e6af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/frontend/reg/tpl/idma_reg.hjson.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ${params}
}
]
},
{ name: "sMMU",
{ name: "smmu",
desc: "Configuration Register for the SMMU",
swaccess: "rw",
hwaccess: "hro",
Expand All @@ -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",
Expand All @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions src/frontend/reg/tpl/idma_reg.sv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 864e6af

Please sign in to comment.