Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: amaranth-lang/amaranth-yosys
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 76a23db49651
Choose a base ref
...
head repository: amaranth-lang/amaranth-yosys
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d4b6035be146
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Nov 5, 2021

  1. Copy the full SHA
    716871d View commit details
  2. Copy the full SHA
    d4b6035 View commit details
Showing with 5 additions and 2 deletions.
  1. +1 −1 nmigen_yosys/__main__.py
  2. +3 −0 pyproject.toml
  3. +1 −1 setup.py
2 changes: 1 addition & 1 deletion nmigen_yosys/__main__.py
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
store = wasmtime.Store(engine)
store.set_wasi(wasi_cfg)
yosys = linker.instantiate(store, wasmtime.Module(engine,
importlib_resources.read_binary(__package__, "yosys.wasm")))
(importlib_resources.files(__package__) / "yosys.wasm").read_bytes()))
try:
yosys.exports(store)["_start"](store)
except wasmtime.ExitTrap as trap:
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["wheel", "setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ def long_description():
python_requires="~=3.5",
setup_requires=["setuptools_scm", "wheel"],
install_requires=[
"importlib_resources; python_version<'3.7'",
"importlib_resources>=1.4; python_version<'3.7'",
"wasmtime>=0.30,<0.31"
],
packages=["nmigen_yosys"],