Something
public text v1 · immutable$ halcmd help save
save [type] [filename]
Prints HAL state to 'filename' (or stdout), as a series
of HAL commands. State can later be restored by using
"halcmd -f filename".
Type can be 'comp', 'sig', 'link[a]', 'net[a]', 'param',
or 'thread'. ('linka' and 'neta' show arrows for pin
direction.) If 'type' is omitted or 'all', does the
equivalent of 'comp', 'sig', 'link', 'param', and 'thread'.