-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
74 changed files
with
3,370 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Wheels | ||
|
||
on: | ||
workflow_dispatch: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
build_wheels: | ||
name: Wheels UMI | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- uses: hynek/build-and-inspect-python-package@v2 | ||
|
||
publish: | ||
needs: [build_wheels] | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
if: github.event_name == 'release' && github.event.action == 'published' | ||
|
||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: Packages | ||
path: dist | ||
|
||
- name: Publish | ||
uses: pypa/[email protected] | ||
|
||
save: | ||
needs: [publish] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: Packages | ||
path: dist | ||
|
||
- name: Add wheels to GitHub release artifacts | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: dist/*.whl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools >= 61.2", | ||
"setuptools_scm[toml] >= 6.2" | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] | ||
# Presence of this section activates setuptools_scm, even though it's empty | ||
|
||
[project] | ||
name = "umi" | ||
authors = [{name = "Zero ASIC"}] | ||
description = "Universal Memory Interface (UMI)" | ||
readme = "README.md" | ||
urls = {Homepage = "https://github.com/zeroasiccorp/umi"} | ||
requires-python = ">= 3.8" | ||
license = {file = "LICENSE"} | ||
dependencies = [ | ||
"siliconcompiler", | ||
"lambdalib==0.1.5" | ||
] | ||
dynamic = [ | ||
"version" | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"switchboard-hw", | ||
"flake8==6.0.0" | ||
] | ||
|
||
[tool.setuptools] | ||
include-package-data = true | ||
packages = [ | ||
"umi" | ||
] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
from siliconcompiler import Library | ||
import lambdalib | ||
|
||
|
||
def _register_umi(lib): | ||
lib.register_package_source("umi", | ||
"python://umi") | ||
|
||
|
||
def setup(chip): | ||
libs = [] | ||
|
||
for name in ('umi', 'lumi'): | ||
lib = Library(chip, name, package="umi") | ||
_register_umi(lib) | ||
lib.use(lambdalib) | ||
|
||
lib.add("option", "idir", f"{name}/rtl") | ||
lib.add("option", "ydir", f"{name}/rtl") | ||
|
||
lib.add("option", "idir", "utils/rtl") | ||
lib.add("option", "ydir", "utils/rtl") | ||
|
||
libs.append(lib) | ||
|
||
return libs |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.