Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Patarimi committed Oct 2, 2024
1 parent ff1c8ec commit 6eba173
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,20 @@ pipx install git+https://github.com/Patarimi/hades

## Design flow

Starting from the specifications written in a design.yml file, the following flow is run [see](#working-directory).
Starting from the specifications written in a design.yml or a python file, the following flow is run [see](#working-directory).

```mermaid
stateDiagram
[*] --> app: specifications (.yml)
app: approximate model
pl: parametric layouts
app --> pl: dimensions
sim: extraction of obtained spec.
pl --> sim: geometries (.gdsII)
pdk --> sim: process (.proc)
pdk --> pl: LayerStack
cal: calibrator
state atSpec <<choice>>
sim --> atSpec: obtained specifications (.sNp or dataframe)
atSpec --> [*]: at spec
atSpec --> cal: not at spec
app --> cal: dimensions
cal --> app: updated parameters
flowchart TD
start -- "specifications (.yml)" --> app["Physical Model\n(hades.devices)"]
app --dimensions --> pl["Parametric Layout\n(gdstk + hades.layouts)"]
pl --"geometries (.gdsII)" --> be_sim["RC extraction up to Mx\n(Magic-VLSI)"]
pl --"geometries (.gdsII)" --> fe_sim["3D simulation from Mx\n(OpenEMS)"]
fe_sim -- "touchstone (.sNp)" --> ext["Spice simulation and spec. extraction.\n(NGSpice + Scikit-RF)"]
be_sim --"netlist (.cir)" --> ext
ext --"Performances (.yml)" --> atSpec{"Perf = Spec ?"}
atSpec --> |Yes| stop
atSpec --> |No| cal["Model Calibrator\n(hades.calibrator)"]
cal --"Locally Optimized Parameters" --> app
```

When finished, a _.gds_ file is available for further design.
Expand Down

0 comments on commit 6eba173

Please sign in to comment.