[dv/chip] Fix regression build-seed failure
This PR fixes regression top-level failure when using `--build-seed`
option. This temp solution won't randomize OTP image until we found the
issue.
Signed-off-by: Cindy Chen <chencindy@opentitan.org>
diff --git a/hw/top_earlgrey/dv/chip_sim_cfg.hjson b/hw/top_earlgrey/dv/chip_sim_cfg.hjson
index bda9ebf..3479833 100644
--- a/hw/top_earlgrey/dv/chip_sim_cfg.hjson
+++ b/hw/top_earlgrey/dv/chip_sim_cfg.hjson
@@ -119,13 +119,14 @@
}
// Sim mode that enables build randomization. See the `build_seed` mode
// defined in `hw/dv/tools/dvsim/common_modes.hjson` for more details.
+ // TODO: enable the following pre_build_cmds once the otp init error is fixed
+ // "cd {proj_root} && ./util/design/gen-otp-mmap.py --seed {seed}"
{
name: build_seed
pre_build_cmds: [
'''cd {proj_root} && ./util/topgen.py -t {ral_spec} \
-o hw/top_earlgrey --rnd_cnst_seed {seed}
- ''',
- "cd {proj_root} && ./util/design/gen-otp-mmap.py --seed {seed}"
+ '''
]
is_sim_mode: 1
}