argonc command reference
argonc is the compiler. It takes every input on the command line, so for everyday work use arc, which reads them from Argon.toml.
argonc <ROOT> (--check | --cell <EXPR>) [OPTIONS]
| Argument or option | Required/default | Description |
|---|---|---|
<ROOT> | Required | Library directory or its lib.ar. |
--check | One mode required | Parse, resolve, and type-check, then stop. Can't be combined with --cell. |
--cell <EXPR> | One mode required | Cell to run. |
--tech <PATH> | Required with --cell | Technology file. |
--dependency <NAME=PATH> | Repeatable | Add a dependency. The path can be a directory or a lib.ar. |
--gds-import <NAME=PATH> | Repeatable | Import a GDS cell. NAME may be a module path. |
-o, --output <PATH> | Beside lib.ar | Where to write the compiled layout. |
--gds <PATH> | None | Also write GDS to this path. |
--error-format | human | human or json. |
argonc . --check
argonc . --cell 'top()' --tech tech.toml -o target/top.bin --gds target/top.gds