Key macro w implements the command writeall.
Key macro W implements the command writeall force.
writeall [force|modified cell1 cell2...]
The writeall command generates a popup dialog prompting for action on writing each cell definition in the layout hierarchy to disk. As shown in the figure below, the popup dialog presents five choices:
- write
- Writes the single cell and continues the prompting for the next cell.
- flush
- Reverts the cell to what was originally on the disk, like the flush command. Continues prompting for the next cell.
- skip
- No action for the indicated cell definition; continue prompting for the next cell.
- abort
- Stop all writing and terminate the command with no further prompting or processing.
- autowrite
- Write all the cells, with no further prompting.
With the option writeall force, the command writes all cells in the hierarchy with no prompting, except for cells that cannot be written back (such as read-only library cells), which are skipped (with a warning if the cell has been modified), and the empty "(UNNAMED)" cell. If one or more cell names follows write force, the cells listed will be written (action "write") and all other cells will be ignored (action "skip").![]()
Figure 1. The popup dialog of the writeall command.With the option writeall modified, the command writes all cells in the hierarchy which have been modified, ignoring those cells marked as needing only a bounding box or timestamp update.
writeall is implemented as a built-in command in magic.
save

| Return to command index |
Last updated: March 7, 2020 at 1:06pm