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: d4b6035be146
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: 2468c5d40ca1
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 5, 2021

  1. Copy the full SHA
    2468c5d View commit details
Showing with 4 additions and 3 deletions.
  1. +4 −3 nmigen_yosys/__main__.py
7 changes: 4 additions & 3 deletions nmigen_yosys/__main__.py
Original file line number Diff line number Diff line change
@@ -2,9 +2,10 @@
import sys
import wasmtime
try:
from importlib import resources as importlib_resources # py3.7+ stdlib
except ImportError:
import importlib_resources # py3.6 shim
from importlib import resources as importlib_resources
importlib_resources.files # py3.9+ stdlib
except (ImportError, NameError):
import importlib_resources # py3.8- shim


wasm_cfg = wasmtime.Config()