LVS - CAST to HAC Migration Guide
Description: CAST to HAC Migration Guide

Next: CHPSIM, Previous: PRS Simulation, Up: Legacy Tools

### 14.2 LVS

There was once a wrapper script named `cast2lvs` which flattened a single instance of a given type in the top-level, ignoring all other top-level instances. This is particularly useful for being able to LVS definitions and cells hierchically from the leaf-cells up, facilitating efficient layout verification. The new mechanism to emulate `cast2lvs` is to use: ``hflat lvs -t <type> <objfile>`', where type is the name of the complete type (with template arguments, if applicable), and file is the object file containing the compiled definition to unroll. The object file need not contain any top-level instances, which means it does not need to be unrolled. Top-level instances are simple ignored with the `-t type` option is used. Recommendation: redirect the resulting output to a `.lvsprs` file or pipe it straight into the old `lvs` program.