Skip to content

Commit

Permalink
print detailed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulk29 committed Oct 14, 2024
1 parent 2cddde5 commit 9624441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocks/sram/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ pub(crate) mod tests {
corner.clone(),
)
.expect("failed to run simulation");
verify_simulation(&work_dir, &data, &tb).expect("failed to verify simulation");
verify_simulation(&work_dir, &data, &tb).map_err(|e| panic!("failed to verify simulation in corner {} with vdd={vdd:.2}, seq={seq}: {e:#?}", corner.name())).unwrap();
println!(
"Simulated corner {} with Vdd = {}, seq = {}",
corner.name(),
Expand Down

0 comments on commit 9624441

Please sign in to comment.