Skip to content

Commit

Permalink
fix sky130 ngspice and spectre tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanku committed Jan 14, 2025
1 parent 968182b commit 39d0516
Show file tree
Hide file tree
Showing 9 changed files with 96 additions and 3,493 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[workspace]

resolver = "2"

members = [
"bins/cdl2spice",
"codegen",
Expand Down Expand Up @@ -30,7 +29,7 @@ members = [
"libs/type_dispatch_macros",
"libs/uniquify",
"libs/verilog",
# "pdks/sky130pdk",
"pdks/sky130pdk",
"substrate",
"tests",
"tools/magic",
Expand Down
4 changes: 4 additions & 0 deletions libs/nutlex/src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ pub struct Analysis<'a> {
pub title: Option<&'a str>,
/// The date on which the analysis was performed.
pub date: Option<&'a str>,
/// The command being run.
pub command: Option<&'a str>,
/// Plot name.
pub plotname: &'a str,
/// Flags.
Expand Down Expand Up @@ -293,6 +295,7 @@ fn analysis(opts: Options) -> impl Fn(&[u8]) -> IResult<&[u8], Analysis> {
let (input, _) = take_while(is_space_or_line)(input)?;
let (input, title) = opt(header("Title:"))(input)?;
let (input, date) = opt(header("Date:"))(input)?;
let (input, command) = opt(header("Command:"))(input)?;
let (input, plotname) = header("Plotname:")(input)?;
let (input, flags) = header("Flags:")(input)?;
let (input, num_variables) = header("No. Variables:")(input)?;
Expand All @@ -312,6 +315,7 @@ fn analysis(opts: Options) -> impl Fn(&[u8]) -> IResult<&[u8], Analysis> {
Analysis {
title,
date,
command,
plotname,
flags,
num_variables,
Expand Down
Loading

0 comments on commit 39d0516

Please sign in to comment.