Skip to content

Commit a537191

Browse files
committed
[darjeeling,rtl] Enable flop between ROM and KMAC in Darjeeling
Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
1 parent 4966ed7 commit a537191

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7769,6 +7769,7 @@
77697769
param_decl:
77707770
{
77717771
SecDisableScrambling: 1'b0
7772+
FlopToKmac: 1'b1
77727773
}
77737774
clock_connections:
77747775
{
@@ -7794,7 +7795,7 @@
77947795
adding chip area.
77957796
'''
77967797
type: bit
7797-
default: 1'b0
7798+
default: 1'b1
77987799
local: "false"
77997800
expose: "true"
78007801
name_top: RomCtrl0FlopToKmac
@@ -7969,6 +7970,7 @@
79697970
param_decl:
79707971
{
79717972
SecDisableScrambling: 1'b0
7973+
FlopToKmac: 1'b1
79727974
}
79737975
clock_connections:
79747976
{
@@ -7994,7 +7996,7 @@
79947996
adding chip area.
79957997
'''
79967998
type: bit
7997-
default: 1'b0
7999+
default: 1'b1
79988000
local: "false"
79998001
expose: "true"
80008002
name_top: RomCtrl1FlopToKmac

hw/top_darjeeling/data/top_darjeeling.hjson

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,8 @@
887887
}
888888
},
889889
param_decl: {
890-
SecDisableScrambling: "1'b0"
890+
SecDisableScrambling: "1'b0",
891+
FlopToKmac: "1'b1"
891892
}
892893
},
893894
{ name: "rom_ctrl1",
@@ -913,7 +914,8 @@
913914
}
914915
},
915916
param_decl: {
916-
SecDisableScrambling: "1'b0"
917+
SecDisableScrambling: "1'b0",
918+
FlopToKmac: "1'b1"
917919
}
918920
},
919921
{ name: "dma",

hw/top_darjeeling/rtl/autogen/top_darjeeling.sv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ module top_darjeeling #(
108108
parameter bit SramCtrlMboxEccCorrection = 0,
109109
// parameters for rom_ctrl0
110110
parameter RomCtrl0BootRomInitFile = "",
111-
parameter bit RomCtrl0FlopToKmac = 1'b0,
111+
parameter bit RomCtrl0FlopToKmac = 1'b1,
112112
parameter bit SecRomCtrl0DisableScrambling = 1'b0,
113113
// parameters for rom_ctrl1
114114
parameter RomCtrl1BootRomInitFile = "",
115-
parameter bit RomCtrl1FlopToKmac = 1'b0,
115+
parameter bit RomCtrl1FlopToKmac = 1'b1,
116116
parameter bit SecRomCtrl1DisableScrambling = 1'b0,
117117
// parameters for dma
118118
parameter bit DmaEnableDataIntgGen = 1'b1,

0 commit comments

Comments
 (0)