-
Notifications
You must be signed in to change notification settings - Fork 794
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pinmux] Update strap sampling mode in DFT-enabled LC states
This slightly modifies the strap sampling behavior in DFT-enabled LC states. In particular, we now continously sample the straps in those states, instead of gating the continous sampling mode on whether the initial sample was nonzero or not. This puts less burden on the emulation and simulation environments where it the device can run in a DFT-enabled mode, since the strap values may be changed arbitrarily during the test sequence. This also changes the default life cycle state to RMA instead of DEV for simulation and emulation environments to ungate all debug infrastructure and functional modes. Signed-off-by: Michael Schaffner <[email protected]>
- Loading branch information
1 parent
d61e2e6
commit 17f4bf8
Showing
9 changed files
with
127 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
// Copyright lowRISC contributors. | ||
// Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
// Use the gen-otp-img.py script to convert this configuration into | ||
// a hex file for preloading the OTP in FPGA synthesis or simulation. | ||
// | ||
|
||
{ | ||
// Seed to be used for generation of partition randomized values. | ||
// Can be overridden on the command line with the --seed switch. | ||
seed: 01931961561863975174 | ||
|
||
// The partition and item names must correspond with the OTP memory map. | ||
partitions: [ | ||
{ | ||
name: "CREATOR_SW_CFG", | ||
items: [ | ||
{ | ||
name: "CREATOR_SW_CFG_CONTENT", | ||
value: "0x0", | ||
} | ||
{ | ||
name: "CREATOR_SW_CFG_DIGEST", | ||
value: "0x0", | ||
} | ||
], | ||
} | ||
{ | ||
name: "OWNER_SW_CFG", | ||
items: [ | ||
{ | ||
name: "OWNER_SW_CFG_CONTENT", | ||
value: "0x0" | ||
} | ||
{ | ||
name: "OWNER_SW_CFG_DIGEST", | ||
value: "0x0", | ||
} | ||
], | ||
} | ||
{ | ||
name: "HW_CFG", | ||
// If set to true, this computes the HW digest value | ||
// and locks the partition. | ||
lock: "True", | ||
items: [ | ||
{ | ||
name: "DEVICE_ID", | ||
value: "<random>", | ||
}, | ||
{ | ||
name: "EN_ENTROPY_SRC_FW_READ", | ||
value: "0xA5", | ||
}, | ||
], | ||
} | ||
{ | ||
name: "SECRET0", | ||
lock: "True", | ||
items: [ | ||
{ | ||
name: "TEST_UNLOCK_TOKEN", | ||
value: "<random>", | ||
} | ||
{ | ||
name: "TEST_EXIT_TOKEN", | ||
value: "<random>", | ||
} | ||
], | ||
} | ||
{ | ||
name: "SECRET1", | ||
lock: "True", | ||
items: [ | ||
{ | ||
name: "FLASH_ADDR_KEY_SEED", | ||
value: "<random>", | ||
} | ||
{ | ||
name: "FLASH_DATA_KEY_SEED", | ||
value: "<random>", | ||
} | ||
{ | ||
name: "SRAM_DATA_KEY_SEED", | ||
value: "<random>", | ||
} | ||
], | ||
} | ||
{ | ||
name: "SECRET2", | ||
lock: "False", | ||
items: [ | ||
{ | ||
name: "RMA_TOKEN", | ||
value: "<random>", | ||
} | ||
{ | ||
name: "CREATOR_ROOT_KEY_SHARE0", | ||
value: "<random>", | ||
} | ||
{ | ||
name: "CREATOR_ROOT_KEY_SHARE1", | ||
value: "<random>", | ||
} | ||
], | ||
} | ||
{ | ||
name: "LIFE_CYCLE", | ||
// Can be one of the following strings: | ||
// RAW, TEST_UNLOCKED0-3, TEST_LOCKED0-2, DEV, PROD, PROD_END, RMA, SCRAP | ||
state: "RMA", | ||
// Can range from 0 to 16. | ||
// Note that a value of 0 is only permissible in RAW state. | ||
count: "8" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters