Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v5 Release #208

Merged
merged 2 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SampleSitePdks/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Get the long description from the README file
long_description = (here / "readme.md").read_text(encoding="utf-8")

_VLSIR_VERSION = "4.0.0"
_VLSIR_VERSION = "5.0.0"

setup(
name="sitepdks",
Expand Down
2 changes: 1 addition & 1 deletion hdl21/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Hdl21 Hardware Description Library
"""

__version__ = "4.0.0" # NOTE: VLSIR_VERSION
__version__ = "5.0.0" # NOTE: VLSIR_VERSION

# Internal (python) module aliases, overridden by names such as the `module` decorator function.
from . import module as _module_module
Expand Down
21 changes: 0 additions & 21 deletions hdl21/sim/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,27 +396,6 @@ def run(
return _vlsirtools_sim(inp=to_proto(inp), opts=opts)


def run_async(
inp: OneOrMore[Sim], opts: Optional[SimOptions] = None
) -> OneOrMore[SimResultUnion]:
"""Invoke simulation via `vlsirtools.spice`."""
from .proto import to_proto

# FIXME: go through with deprecation
warn(
PendingDeprecationWarning(
dedent(
"""\
Async `hdl21.Sim` invocation will be deprecated and `run_async` will be removed with the next major version.
Use `run` instead, which now parallelizes across simulation processes internally.
"""
)
)
)

return _vlsirtools_sim(inp=to_proto(inp), opts=opts)


def _add_attr_func(name: str, cls: type):
# Create the internal "construct + add" closure
def _method(self, *args, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion hdl21/tests/test_hdl21.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


def test_version():
assert h.__version__ == "4.0.0" # NOTE: VLSIR_VERSION
assert h.__version__ == "5.0.0" # NOTE: VLSIR_VERSION


def test_module1():
Expand Down
2 changes: 1 addition & 1 deletion pdks/Asap7/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Get the long description from the README file
long_description = (here / "readme.md").read_text(encoding="utf-8")

_VLSIR_VERSION = "4.0.0"
_VLSIR_VERSION = "5.0.0"

setup(
name="asap7-hdl21",
Expand Down
2 changes: 1 addition & 1 deletion pdks/Gf180/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Get the long description from the README file
long_description = (here / "readme.md").read_text(encoding="utf-8")

_VLSIR_VERSION = "4.0.0"
_VLSIR_VERSION = "5.0.0"

setup(
name="gf180-hdl21",
Expand Down
2 changes: 1 addition & 1 deletion pdks/Sky130/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Get the long description from the README file
long_description = (here / "readme.md").read_text(encoding="utf-8")

_VLSIR_VERSION = "4.0.0"
_VLSIR_VERSION = "5.0.0"

setup(
name="sky130-hdl21",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
readme = here / "readme.md"
long_description = "" if not readme.exists() else readme.read_text(encoding="utf-8")

_VLSIR_VERSION = "4.0.0"
_VLSIR_VERSION = "5.0.0"

Check warning on line 18 in setup.py

View check run for this annotation

Codecov / codecov/patch

setup.py#L18

Added line #L18 was not covered by tests

setup(
name="hdl21",
Expand Down
Loading