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

Substrate 2.1 #449

Merged
merged 41 commits into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
c58dd77
chore(deps): bump rust version
rahulk29 Nov 22, 2024
03ca6db
fix(website): improve website CSS (#448)
rohanku Nov 22, 2024
9fc7a8d
feat(docs): use latest logo (#450)
rohanku Nov 23, 2024
aa9764e
feat(transform): make transformations use integers instead of floats …
rahulk29 Nov 24, 2024
e847437
fix lints
rahulk29 Nov 26, 2024
3d8a410
feat(transform): default to Manhattan transformations (#452)
rahulk29 Nov 27, 2024
4f76d41
feat(layir): initial LayIR implementation (#456)
rahulk29 Dec 3, 2024
6f20daa
Merge branch 'main' into v2p1-main
rahulk29 Dec 4, 2024
f5fde78
feat(schematic): associated type schema and bundle primitives (#455)
rohanku Dec 6, 2024
ed98443
feat(schematic): rename bundle traits (#458)
rohanku Dec 7, 2024
2c936d0
feat(simulation): automatically generate saved data (#457)
rohanku Dec 9, 2024
183d347
feat(layout): simplified layout API, LayIR integration (#459)
rahulk29 Dec 13, 2024
f86cc27
add unflatten trait
rahulk29 Dec 13, 2024
d623e4c
feat(layout): import LayIR cells into Substrate (#460)
rahulk29 Dec 13, 2024
c371be5
fix(codegen): update codegen to use fewer structs (#461)
rohanku Dec 14, 2024
b75328c
feat(views): view API for improved codegen (#463)
rohanku Dec 16, 2024
953e4cb
feat(cadence): add support for Pegasus and Quantus (#462)
rohanku Dec 17, 2024
c759341
feat(magic): support magic for pex and lvs extraction (#465)
rahulk29 Dec 18, 2024
c3c7094
feat(netgen): support netgen for netlist comparison (#466)
rahulk29 Dec 19, 2024
e32802b
feat(pex): magic-netgen pex mapping, reorganize pex tests (#467)
rahulk29 Dec 20, 2024
928b9b7
feat(tests): reorganize tests and documentation (#464)
rohanku Dec 20, 2024
b285476
feat(macros): support ref, mut ref, and owned receiver styles (#468)
rahulk29 Dec 23, 2024
255af05
feat(codegen): codegen for layout types, example layouts (#469)
rahulk29 Dec 24, 2024
9825520
feat(ac): implement Save for Substrate types in Spectre AC sim, fix l…
rahulk29 Jan 2, 2025
968182b
feat(docs): versioned documentation between HEAD and release (#470)
rohanku Jan 14, 2025
a47d905
feat(simulation): implement save for nested instances (#476)
rahulk29 Jan 14, 2025
aca48ef
feat(macros): refactor derive NestedData, start organizing tests (#477)
rahulk29 Jan 15, 2025
55f17b7
feat(mos): layout for sky130 1.8V nmos/pmos, fix geometry macros (#478)
rahulk29 Jan 17, 2025
f727a1e
feat(docs): fix user docs and update dev docs (#480)
rohanku Jan 17, 2025
440ab0e
feat(tutorial): implement sky130 inverter layout tutorial (#481)
rahulk29 Jan 17, 2025
e795cdb
fix path to test_col_buffer_array.gds
Jan 18, 2025
84bb27f
feat(tutorial): run LVS on SKY130 inverter example (#483)
rahulk29 Jan 18, 2025
b55d04e
feat(tests): fix compilation and lint errors (#482)
rohanku Jan 18, 2025
531175c
fix(sky130): split sky130 inverter docs and fix schemas (#485)
rohanku Jan 19, 2025
454b169
feat(tutorial): PEX testbench for inverter tutorial (open and CDS PDK…
rahulk29 Jan 19, 2025
9e89a64
feat(tutorial): run DRC on inverter layout for SKY130 CDS tutorial (#…
rahulk29 Jan 19, 2025
849e674
feat(drc): support running DRC with Magic
rahulk29 Jan 20, 2025
d3c776a
fix(drc): fix bugs in Magic DRC plugin (#488)
rahulk29 Jan 20, 2025
c4bdc71
feat(tutorial): run Magic DRC, fix licon.8 DRC error (#489)
rahulk29 Jan 20, 2025
5e509df
feat(docs): inverter tutorial cleanup and layout/pex sections (#487)
rohanku Jan 21, 2025
4753b29
feat(tutorial): change sweep size to 0.4um
rahulk29 Jan 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 18 additions & 10 deletions .github/workflows/check-workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,18 @@ jobs:
cargo fmt --check
- name: Lint
run: |
cargo hack --feature-powerset clippy --locked -- -D warnings
- name: Lint examples
cargo hack clippy --feature-powerset --locked -- -D warnings
- name: Lint release examples
run: |
cargo hack --feature-powerset clippy --locked -- -D warnings
working-directory: examples
cargo hack clippy --feature-powerset --locked -- -D warnings
working-directory: examples/release
- name: Lint tests
run: |
cargo hack clippy --feature-powerset --tests --locked -- -D warnings
- name: Lint release examples tests
run: |
cargo hack clippy --feature-powerset --tests --locked -- -D warnings
working-directory: examples/release
check-docs:
name: check-docs
runs-on: bwrc
Expand All @@ -35,14 +42,15 @@ jobs:
RUSTDOCFLAGS: '-D warnings'
test:
name: test
runs-on: [bwrc, nfs]
runs-on: bwrc
steps:
- uses: actions/checkout@v3
- name: Test
run: cargo test --locked --all-features
- name: Test examples
- name: Test release examples
if: ${{ ! startsWith(github.ref, 'release-please--') }}
run: cargo test --locked --all-features
working-directory: examples
working-directory: examples/release
check-docs-site:
name: check-docs-site
runs-on: ubuntu-22.04
Expand All @@ -52,9 +60,9 @@ jobs:
with:
node-version: 18
cache: 'yarn'
cache-dependency-path: docs/site/yarn.lock
cache-dependency-path: docs/docusaurus/yarn.lock
- run: yarn install
working-directory: docs/site
working-directory: docs/docusaurus
- run: yarn build
working-directory: docs/site
working-directory: docs/docusaurus

41 changes: 6 additions & 35 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: ci-main

on:
push:
Expand Down Expand Up @@ -26,7 +26,9 @@ jobs:
with:
repository: rohanku/release-please
path: release-please
ref: dev
# Can change back to `dev` once this is merged into Substrate `main` and
# the release-please `substrate-workspace` branch is merged into `dev`.
ref: substrate-workspace
- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down Expand Up @@ -84,38 +86,7 @@ jobs:
working-directory: substrate
run: ../cargo-workspaces/cargo-workspaces/target/debug/cargo-ws workspaces publish --from-git --token=${{ secrets.KTRA_TOKEN }} --registry=substrate --yes --allow-dirty
deploy-api-docs:
name: Deploy API documentation
runs-on: bwrc
environment: main
needs: [ check-workspace ]
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@ddcac349402ef55840d9870785f4df1890768078
- run: just build
working-directory: docs/api
- run: flyctl deploy --remote-only --detach
working-directory: docs/api
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_API }}
uses: ./.github/workflows/deploy-api-docs.yml
deploy-docs:
name: Deploy documentation
runs-on: ubuntu-22.04
environment: main
needs: [ check-workspace ]
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
cache-dependency-path: docs/site/yarn.lock
- run: yarn install
working-directory: docs/site
- run: yarn build
working-directory: docs/site
- run: flyctl deploy --remote-only --detach
working-directory: docs/site
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_DOCS }}
uses: ./.github/workflows/deploy-docs.yml

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: ci

on:
pull_request:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/deploy-api-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: deploy-api-docs

on:
workflow_call:
workflow_dispatch:
inputs:
name:

env:
CARGO_TERM_COLOR: always
DOCS_NAME: ${{ inputs.name || github.ref.name }}
PUBLIC_DOCS_DIR: /tools/C/rohankumar/substrate_docs_public

jobs:
deploy-api-docs:
name: Deploy API documentation
runs-on: bwrc
environment: docs
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@ddcac349402ef55840d9870785f4df1890768078
- run: ./deploy.sh ${{ env.PUBLIC_DOCS_DIR }} ${{ inputs.name || github.ref_name }}
working-directory: docs/api
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_API }}
31 changes: 31 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: deploy-docs

on:
workflow_call:
workflow_dispatch:
inputs:
name:

env:
CARGO_TERM_COLOR: always
DOCS_NAME: ${{ inputs.name || github.ref.name }}
PUBLIC_DOCS_DIR: /tools/C/rohankumar/substrate_docs_public

jobs:
deploy-docs:
name: Deploy documentation
runs-on: bwrc
environment: docs
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
cache-dependency-path: docs/docusaurus/yarn.lock
- run: ./deploy.sh ${{ env.PUBLIC_DOCS_DIR }} ${{ inputs.name || github.ref_name }}
working-directory: docs/docusaurus
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_DOCS }}

11 changes: 11 additions & 0 deletions .github/workflows/deploy-release-api-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: deploy-release-api-docs

on:
release:
types: [created]

jobs:
deploy-api-docs:
uses: ./.github/workflows/deploy-api-docs.yml
with:
name: release
22 changes: 17 additions & 5 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,39 @@
"bins/cdl2spice": "0.0.0",
"codegen": "0.8.1",
"config": "0.2.5",
"docs/examples": "0.5.1",
"libs/atoll": "0.1.3",
"docs/snippets": "0.5.1",
"examples/latest/sky130_inverter": "0.0.0",
"examples/latest/spice_vdivider": "0.0.0",
"examples/latest/colbuf": "0.0.0",
"examples/latest/vdivider": "0.0.0",
"examples/latest/via": "0.0.0",
"examples/latest/substrate_api_examples": "0.0.0",
"libs/cache": "0.5.0",
"libs/diagnostics": "0.3.0",
"libs/enumify": "0.1.0",
"libs/enumify_macros": "0.1.0",
"libs/gds": "0.3.0",
"libs/gdsconv": "0.1.0",
"libs/geometry": "0.5.0",
"libs/geometry_macros": "0.0.1",
"libs/pathtree": "0.2.0",
"libs/scir": "0.7.0",
"libs/spice": "0.7.1",
"libs/layir": "0.1.0",
"libs/lefdef": "0.0.0",
"libs/macrotools": "0.0.0",
"libs/nutlex": "0.2.0",
"libs/type_dispatch": "0.3.0",
"libs/type_dispatch_macros": "0.3.0",
"libs/uniquify": "0.2.0",
"libs/verilog": "0.0.0",
"pdks/sky130pdk": "0.8.1",
"pdks/sky130": "0.8.1",
"substrate": "0.8.1",
"tests": "0.0.0",
"tools/magic": "0.0.0",
"tools/netgen": "0.0.0",
"tools/ngspice": "0.3.1",
"tools/spectre": "0.9.1"
"tools/pegasus": "0.0.0",
"tools/quantus": "0.0.0",
"tools/spectre": "0.9.1",
"tools/magic_netgen": "0.0.0"
}
Loading
Loading