Skip to content

Commit 7825636

Browse files
rahulk29Rahul Kumar
and
Rahul Kumar
authored
Use correct prelude for timing netlist (#36)
Co-authored-by: Rahul Kumar <rahulkumar@eecs.berkeley.edu>
1 parent 245b9df commit 7825636

File tree

2 files changed

+3
-4
lines changed
  • pdks/sky130_commercial_pdk/src
  • substrate/src/verification/timing

2 files changed

+3
-4
lines changed

pdks/sky130_commercial_pdk/src/lib.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@ impl Pdk for Sky130CommercialPdk {
8888
purpose: substrate::schematic::netlist::NetlistPurpose,
8989
) -> Result<substrate::schematic::netlist::IncludeBundle> {
9090
let (raw_spice, includes) = match purpose {
91-
NetlistPurpose::Lvs | NetlistPurpose::Pex | NetlistPurpose::Timing => {
92-
(CAL_PRELUDE, vec![])
93-
}
91+
NetlistPurpose::Lvs | NetlistPurpose::Pex => (CAL_PRELUDE, vec![]),
9492
NetlistPurpose::Simulation { corner } => (
9593
SIM_PRELUDE,
9694
vec![
@@ -103,6 +101,7 @@ impl Pdk for Sky130CommercialPdk {
103101
],
104102
),
105103
NetlistPurpose::Library => (EMPTY, vec![]),
104+
NetlistPurpose::Timing => (SIM_PRELUDE, vec![]),
106105
};
107106

108107
let includes = includes

substrate/src/verification/timing/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ impl TimingReport {
310310

311311
impl Default for TimingReportBuilder {
312312
fn default() -> Self {
313-
Self::with_capacity(4)
313+
Self::with_capacity(8192)
314314
}
315315
}
316316

0 commit comments

Comments
 (0)