Create or clone a custom symbol
sym_createCreate a new original-format SYM symbol or clone a hashed workspace prototype under a new name without overwriting, with optional graphics, text, and pins.
Instructions
Create a new original-format SYM or clone a hashed workspace/installed-library prototype under a new name. Never overwrite. Optional operations add internal graphics/text/pins. Matching HDL source interface must be supplied separately and compiler/export used to prove connectivity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New HDL symbol name. | |
| path | Yes | File path within that scope. | |
| pins | No | Ordered collection of explicit entries validated by this tool. | |
| root | No | Optional installed library root. | |
| width | No | Extent width on grid8. | |
| height | No | Extent height on grid8. | |
| confirm | No | Apply when true; default preview. Current session authorization suffices. | |
| project | No | Existing ACF whose directory scopes these files. | |
| template | No | Optional custom scope SYM or absolute installed max2lib SYM. | |
| workspace | No | Workspace scope when project is absent. | |
| operations | No | Ordered changes; record offsets refer to the original input. Inspect again after applying. | |
| templateSha256 | No | Current full file SHA-256 from a fresh inspection. | |
| nameAttributeName | No | Primitive or hierarchy name attribute; custom clone/create defaults MACRO_NAME. |