• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Blogs
  2. Verification
  3. Mind reading? Almost. Specman New Typo Error Prediction…
teamspecman
teamspecman

Community Member

Blog Activity
Options
  • Subscribe by email
  • More
  • Cancel
Specman
e

Mind reading? Almost. Specman New Typo Error Prediction Feature

4 Mar 2022 • 1 minute read

It is scientifically known that mind reading does not exist, but we try our best. Blush

We are happy to present a new addition to Specman syntax error messages – suggestions to fix typos.
Starting Specman 21.09, the next time you get a compilation error of the kind “no such variable xxx,” or “yyy does not have such a field,” Specman will try to include a suggestion to an existing name.

For example:

In the following e code, the field name transactions declared in row #3 is misspelled in row #5.

1   <'
2   struct my_struct {
3       transactions : list of int;
4       check_empty() is {
5          out(trnsactions.is_empty());
6      };
7   };
8  '>

Loading this code would result with the following error message, which is now accompanied by a suggestion:

*** Error: No such variable 'trnsactions'. [Suggestion: Maybe you meant 'transactions']
at line 5 in example.e

out(trnsactions.is_empty());

 

So, don’t be alarmed when you see the new messages – we’re just trying to make your life easier and minimize bug-fixing time Blush

 

See you next time!

Karen Nativ
Specman Team

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information