Skip to content

Commit

Permalink
Fixes from cross-examination
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Oct 10, 2023
1 parent ecfc43a commit dfc7b8e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
6 changes: 2 additions & 4 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ with pkgs; with python3.pkgs; buildPythonPackage rec {

src = gitignore-src.gitignoreSource ./.;

buildInputs = [
ruby
tcl
];
buildInputs = [];

includedTools = [
(yosys.withPlugins([
Expand All @@ -64,6 +61,7 @@ with pkgs; with python3.pkgs; buildPythonPackage rec {
magic
verilog
verilator
tcl
];

propagatedBuildInputs = [
Expand Down
2 changes: 1 addition & 1 deletion docker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
{
pkgs ? import ./nix/pkgs.nix {},
openlane ? import ./. {},
openlane ? import ./. { inherit pkgs; },
name ? "ghcr.io/efabless/openlane2",
tag-override ? null
}:
Expand Down
4 changes: 2 additions & 2 deletions openlane/steps/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,8 @@ def create_reproducible(
:param include_pdk: Include PDK files. If set to false, Path pointing
to PDK files will be prefixed with ``pdk_dir::`` instead of being
copied.
:param _flatten: Creates a reproducible with a fat file structure.
For internal use only.
:param _flatten: Creates a reproducible with a flat (single-directory)
file structure. For internal use only.
"""
# 0. Create Directories
mkdirp(target_dir)
Expand Down
2 changes: 1 addition & 1 deletion openlane/steps/verilator.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def run(self, state_in: State, **kwargs) -> Tuple[ViewsUpdate, MetricsUpdate]:
if r"%Error-LATCH" in line or r"%Warning-LATCH" in line:
latch_count += 1
if r"%Error-NEEDTIMINGOPT" in line:
timing_constructs = 1
timing_constructs += 1
if match := exiting_rx.search(line):
errors_count = int(match[1])

Expand Down
1 change: 1 addition & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ with pkgs; mkShell {
delta
neovim
gtkwave
coreutils

# Docs + Testing
jupyter
Expand Down

0 comments on commit dfc7b8e

Please sign in to comment.