Skip to content

Commit ecf7313

Browse files
committed
[darjeeling,rtl] Add flop between keymgr_dpe and KMAC in Darjeeling
Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
1 parent 0904902 commit ecf7313

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

hw/top_darjeeling/data/autogen/top_darjeeling.gen.hjson

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6104,12 +6104,15 @@
61046104
domain: "0"
61056105
}
61066106
}
6107+
param_decl:
6108+
{
6109+
FlopToKmac: 1'b1
6110+
}
61076111
clock_connections:
61086112
{
61096113
clk_i: clkmgr_aon_clocks.clk_main_secure
61106114
clk_edn_i: clkmgr_aon_clocks.clk_main_secure
61116115
}
6112-
param_decl: {}
61136116
memory: {}
61146117
param_list:
61156118
[
@@ -6130,7 +6133,7 @@
61306133
the active key slot and KMAC.
61316134
'''
61326135
type: bit
6133-
default: "0"
6136+
default: 1'b1
61346137
local: "false"
61356138
expose: "true"
61366139
name_top: KeymgrDpeFlopToKmac

hw/top_darjeeling/data/top_darjeeling.hjson

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,9 @@
767767
base_addr: {
768768
hart: "0x21140000",
769769
},
770+
param_decl: {
771+
FlopToKmac: "1'b1"
772+
},
770773
},
771774
{ name: "csrng",
772775
type: "csrng",

hw/top_darjeeling/rtl/autogen/top_darjeeling.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ module top_darjeeling #(
8585
parameter bit SecOtbnSkipUrndReseedAtStart = 0,
8686
// parameters for keymgr_dpe
8787
parameter bit KeymgrDpeKmacEnMasking = 1,
88-
parameter bit KeymgrDpeFlopToKmac = 0,
88+
parameter bit KeymgrDpeFlopToKmac = 1'b1,
8989
// parameters for csrng
9090
parameter aes_pkg::sbox_impl_e CsrngSBoxImpl = aes_pkg::SBoxImplCanright,
9191
// parameters for entropy_src

0 commit comments

Comments
 (0)