Skip to main content

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 optionRequired/defaultDescription
<ROOT>RequiredLibrary directory or its lib.ar.
--checkOne mode requiredParse, resolve, and type-check, then stop. Can't be combined with --cell.
--cell <EXPR>One mode requiredCell to run.
--tech <PATH>Required with --cellTechnology file.
--dependency <NAME=PATH>RepeatableAdd a dependency. The path can be a directory or a lib.ar.
--gds-import <NAME=PATH>RepeatableImport a GDS cell. NAME may be a module path.
-o, --output <PATH>Beside lib.arWhere to write the compiled layout.
--gds <PATH>NoneAlso write GDS to this path.
--error-formathumanhuman or json.
argonc . --check
argonc . --cell 'top()' --tech tech.toml -o target/top.bin --gds target/top.gds