Why does my library size increase every time I recompile the same design, even if I don’t change anything?

Description

The design units that are compiled into the working library are kept within a file. This allows for a faster performance since it is faster to load several units from one file rather than loading several units from multiple files. When you recompile the same design, the units that are being overwritten in the library are attached to the end of the file. With each recompilation, more units are being attached to the end of the file which increases the library size.

Solution

To avoid this issue, you can compact the library. Compacting the library will reorganize the library file, and the units that were attached to the end of the file will be removed. For example:

alib -lib <library_name> -compact
Ask Us a Question
x
Ask Us a Question
x
Captcha ImageReload Captcha
Incorrect data entered.
Thank you! Your question has been submitted. Please allow 1-3 business days for someone to respond to your question.
Internal error occurred. Your question was not submitted. Please contact us using Feedback form.
We use cookies to ensure we give you the best user experience and to provide you with content we believe will be of relevance to you. If you continue to use our site, you consent to our use of cookies. A detailed overview on the use of cookies and other website information is located in our Privacy Policy.