Home > Community > Blogs > Functional Verification > tech tip managing specman esv file size
 
Login with a Cadence account.
Not a member yet?
Create a permanent login account to make interactions with Cadence more conveniennt.

Register | Membership benefits
Get email delivery of the Functional Verification blog (individual posts).
 

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

Tech Tip: Managing Specman esv File Size

Comments(0)Filed under: IES, Incisive Enterprise Simulator (IES), e, Specman

When compiling e files on top of Specman, or when using the save command, Specman stores its state in an .esv file.  However, there are times when the .esv file can become quite large -- sometimes on the order of 100s of MB.

The good news is that Specman allows you to control the compression level of its .esv file and save valuable disk space by setting the config flag "esv_compression_level".  Values for compression level can range from 0 to 9.  A higher value means more compression, resulting in a smaller .esv file.  The default is 0, that is, no compression.  Here are two simple ways to set the desired compression level:

Method A
setenv SPECMAN_PRE_COMMANDS "set_config( misc, esv_compression_level,5)"

Method B

<'
extend sys {
  setup() is also
     set_config(misc,esv_compression_level,9);
  };
};
'>

Note that (A) will work for both the 'save' command and compiling the e environment, while (B) will work only for the 'save' command after setup() was called.

Finally, Specman will read compressed .esv files of any compression level regardless of whether a file's compression level is different from the current Specman compression level.

Ariel

-------
Ariel Melchior
Senior Engineering Manager
Cadence Israel

Comments(0)

Leave a Comment


Name
E-mail (will not be published)
Comment
 I have read and agree to the Terms of use and Community Guidelines.
Community Guidelines
The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.