Skip to content

Commit

Permalink
hotfix: compilation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Nov 2, 2024
1 parent 988522b commit 2fda9ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Sources/Fault/Entries/chain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,6 @@ extension Fault {
let output = output ?? file.replacingExtension(".nl.v", with: ".chained.v")
let intermediate = output.replacingExtension(".chained.v", with: ".chain-intermediate.v")

let includeFiles = Set<String>(inc?.components(separatedBy: ",").filter { !$0.isEmpty } ?? [])

// MARK: Importing Python and Pyverilog

let parse = Python.import("pyverilog.vparser.parser").parse
Expand Down Expand Up @@ -729,7 +727,7 @@ extension Fault {
// MARK: Verification

if let model = cellModel {
let models = [model] + Array(includeFiles) + Array(blackboxModels)
let models = [model] + Array(includes) + Array(blackboxModels)

print("Verifying scan chain integrity…")
let ast = parse([netlist])[0]
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
];

PYTHON_LIBRARY = "${pyenv}/lib/lib${python3.libPrefix}${stdenvNoCC.hostPlatform.extensions.sharedLibrary}";
PYTHONPATH = "${pyenv}/${pyenv.sitePackages}";
NIX_PYTHONPATH = "${pyenv}/${pyenv.sitePackages}";
FAULT_IVL_BASE = "${verilog}/lib/ivl";
});
}
Expand Down

0 comments on commit 2fda9ad

Please sign in to comment.