Home > Community > Blogs > Functional Verification > using quot specman e quot to make your command line life easier
 
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: *

Make Your Command Line Life Easier With "specman -e"

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

Hi All,

It always amazes me to see just how many Specman users make use of the interactive command line to load files, set breakpoints, run sims and debug.  I just wanted to update all you command line gurus that, as of the 8.2 release of Specman, a new switch "-e" turns on some cool editing features that you can use directly from the specman command prompt. 

If you use add the -e switch when calling specman:

%> specman -e

Specman will be launched in Command Line Editing Mode and the following features will be enabled:

  • The right-arrow and left-arrow keys move the cursor right or left one character on the command line.
  • The up-arrow and down-arrow keys scroll backward or forward in the command line history buffer.
  • The tab key provides filename completion functionality.
  • You can insert new characters at the cursor position.

Now, you should be aware that there are some limitations when using this new feature:

  • Command line editing works in interactive mode. It is not compatible with batch or GUI mode.
  • Command line editing cannot be used when Specman is running under its degugger.
  • The only supported command line editing functionality is as described for the four arrow keys and the tab key. 

Take care Specmaniacs,

Corey Goss

Specman/e Advanced Verification
Core Competency Team Lead
Cadence Design Systems

 

Comments(2)

By jasona on February 10, 2009
Corey,  Why wouldn't -e be the default?  I would say this is emacs style command line editing as a lot more than 4 arrow keys and tab works.  As a simple example ctrl-a and ctrl-e go to the start and end of the line.  I suppose we will be forced to do alias specman 'specman -e' forever.  

By Corey Goss on February 25, 2009
Hi Jason,  I cannot think of any reason not to make this the default.  This is a good suggestion and one that I will recommend moving forward.  Thanks!

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.