How can I write out .lib file of a digital module designed in virtuoso ?
Also If I want to import this module as a digital block to encounter, how can I make it as a macro/cell ? How to take care of this while
writing out lef from virtuoso ?
LEF can be written with File->Export->LEF. .lib could be generated with the Liberate family of tools - there's not really a direct way of writing .LIB from Virtuoso because it generally needs characterization. There is the Tools->Characterization and Modelling->Black Box Liberty (MS) menu - not sureif that's really what you want either.