Skip to content

Conversation

hcallahan-lowrisc
Copy link
Contributor

Review commit-by-commit, these additions are all currently unused and should not affect existing tests.

This task can be forked into the background to capture UART console traffic into
the test logs. This is useful for observation and sequencing inside logfiles.

Signed-off-by: Harry Callahan <[email protected]>
This is in support of future tests which will invoke the bootstrapping routine
multiple times within a single simulation.

Signed-off-by: Harry Callahan <[email protected]>
@hcallahan-lowrisc hcallahan-lowrisc force-pushed the top_earlgrey_env_features branch from d245fb0 to d244459 Compare October 15, 2025 20:11
@rswarbrick
Copy link
Contributor

I've just started reading through the commits one-by-one (and have only read the first one so far). I think I'm convinced that it's right, but it might make sense to expand the commit message to make it clear that the only code that consumes a sw_type_e is sw_symbol_backdoor_access, which basically just uses it as an index, so doesn't care if a new enum value gets added.

cfg.mem_bkdr_util_h[FlashBank1Info].set_mem();
// Backdoor load the OTP image.
cfg.mem_bkdr_util_h[Otp].load_mem_from_file(cfg.otp_images[cfg.use_otp_image]);
if (cfg.use_otp_image != OtpNone) begin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What a horrible variable name! I keep thinking it's a boolean :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants