Skip to content

Commit

Permalink
[sram_ctrl] Add Sim config for 64kB Main SRAM
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Schilling <[email protected]>
Signed-off-by: Michael Schaffner <[email protected]>
  • Loading branch information
2 people authored and vogelpi committed Oct 3, 2024
1 parent a7ed4e2 commit ca3a53a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions hw/ip/sram_ctrl/dv/sram_ctrl_exec_64kB_sim_cfg.hjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Copyright lowRISC contributors (OpenTitan project).
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0

{
// Name of the sim cfg variant
variant: exec_64kB

// Import the base sram_ctrl sim_cfg file
import_cfgs: ["{proj_root}/hw/ip/sram_ctrl/dv/sram_ctrl_base_sim_cfg.hjson"]

build_opts: ["+define+SRAM_WORD_ADDR_WIDTH=14",
"+define+INSTR_EXEC=1",
"+define+NUM_PRINCE_ROUNDS_HALF=3"]
}

0 comments on commit ca3a53a

Please sign in to comment.