Skip to content

Commit

Permalink
correctly join simulation thread handles for sram simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanku committed Sep 20, 2024
1 parent 0acfd68 commit c4ce1f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/blocks/sram/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ pub(crate) mod tests {
let work_dir = work_dir.clone();
handles.push(std::thread::spawn(move || {
let ctx = setup_ctx();
let tb = crate::blocks::sram::testbench::tb_params(params, vdd, short, pex_netlist);
let tb = crate::blocks::sram::testbench::tb_params(params, vdd, short, None);
let work_dir = work_dir.join(format!(
"{}_{:.2}_{}",
corner.name(),
Expand All @@ -480,6 +480,9 @@ pub(crate) mod tests {
}));
}
}
for handle in handles {
handle.join().expect("failed to join thread");
}

// crate::abs::run_abstract(
// &work_dir,
Expand Down

0 comments on commit c4ce1f0

Please sign in to comment.