Home > Community > Forums > Logic Design > module naming with hexadecimal values

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: *

 module naming with hexadecimal values 

Last post Mon, Apr 29 2013 10:51 AM by tstark. 2 replies.
Started by Rafeeq2129 24 Apr 2013 12:19 AM. Topic has 2 replies and 892 views
Page 1 of 1 (3 items)
Sort Posts:
  • Wed, Apr 24 2013 12:19 AM

    • Rafeeq2129
    • Not Ranked
    • Joined on Wed, Mar 6 2013
    • Posts 9
    • Points 195
    module naming with hexadecimal values Reply

      Can anyone help me with the command for LEC-XL to generate  modules with Hexadecimal values (instead of Decimal) of inputs signals ?

      Example :  

      1.)   add #( x(23) , y (1'h0) , z(1)) (.clk (clk) .reset(rst))

          LEC output  :    add_x23_y0_Z1

      2).  applied renaming rule :  set naming rule -parameter "_"  

           LEC ouput  :  add_23_0_Z1

       3).  Desired output :  add_23_000000_Z1

              Command required to generate module name as above .

    regards

    rafeeq

    • Post Points: 35
  • Mon, Apr 29 2013 5:52 AM

    • grasshopper
    • Top 25 Contributor
    • Joined on Fri, Jul 18 2008
    • Chelmsford, MA
    • Posts 241
    • Points 3,200
    Re: module naming with hexadecimal values Reply

     I believe LEC relies on the way the fields are defined. In your case, your definitions do not match what your expectations are hence LEC has no way of guessing what it is that you want

     

    gh-

    • Post Points: 5
  • Mon, Apr 29 2013 10:51 AM

    • tstark
    • Top 200 Contributor
    • Joined on Mon, Jul 28 2008
    • San Jose, CA
    • Posts 40
    • Points 455
    Re: module naming with hexadecimal values Reply

     LEC's renaming currently support decimal searches only. I imagine you could get creative and make a hex search but depending on your needs this could get difficult or impossible.

     

    -ts

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by Rafeeq2129 at 24 Apr 2013 12:19 AM. Topic has 2 replies.