Home > Community > Forums > Logic Design > naming on CSA module

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

 naming on CSA module 

Last post Fri, Jan 7 2011 7:51 AM by grasshopper. 4 replies.
Started by tompy 05 Jan 2011 01:05 AM. Topic has 4 replies and 2529 views
Page 1 of 1 (5 items)
Sort Posts:
  • Wed, Jan 5 2011 1:05 AM

    • tompy
    • Not Ranked
    • Joined on Wed, Jun 23 2010
    • Posts 12
    • Points 195
    naming on CSA module Reply

     Hi:

         I have a datapath module, after synthesize -to_generic, there are some CSA module has been added by RC, which naming is very ugly. Both in module name and instance name.

    its RTL is :assign  mout_int = smult(coeff,datain);  where smult is a function.

     and 

    its instance name is : \smult_30_22:mux_59_9_g1,  I don't want "/" and ":" which is not accepted by STA tool. I can't find the option to change name. Besides re-write by design compiler, is there any option in RC I can use to replace them?

    I also got ugly module name such as  \csa_tree_smult_30_22:sub_62_34_group_325

    thanks for the help!

     

     

    Filed under:
    • Post Points: 20
  • Thu, Jan 6 2011 8:02 AM

    • grasshopper
    • Top 25 Contributor
    • Joined on Fri, Jul 18 2008
    • Chelmsford, MA
    • Posts 242
    • Points 3,205
    Re: naming on CSA module Reply

    Any reason you cannot use change_names to address whatever limitatios the downstream tools may have ?

    regards,

    gh-

    • Post Points: 20
  • Fri, Jan 7 2011 2:31 AM

    • tompy
    • Not Ranked
    • Joined on Wed, Jun 23 2010
    • Posts 12
    • Points 195
    Re: naming on CSA module Reply

     Hi gh:

                      Thanks for the help. I did not find this command before you mentioned it.I search for lots of attributes and don't know there is a command for it.

                        But I am still curious if there is command/attribute such as "hdl_use_if_generate_prefix" which can constraint the tool "before" the elaboration.

    thanks!

     

    /tompy

    • Post Points: 20
  • Fri, Jan 7 2011 7:31 AM

    • grasshopper
    • Top 25 Contributor
    • Joined on Fri, Jul 18 2008
    • Chelmsford, MA
    • Posts 242
    • Points 3,205
    Re: naming on CSA module Reply

     Hi Tompy,

     > apropo names

    > apropo naming

     should show you all attributes and commands witth such words in their names or their help strings. As per a specific attribute to control naming exclusively for functions, there is no such thing documented that I am aware of. If your STA does not support the current syntax for functions, or anything else for that mattter, why not use change_names and ensure that your output, whether from functions or anything else, is STA friendly? Seems like a more comprehensive solution to me

     regards,

    gh-

    • Post Points: 5
  • Fri, Jan 7 2011 7:51 AM

    • grasshopper
    • Top 25 Contributor
    • Joined on Fri, Jul 18 2008
    • Chelmsford, MA
    • Posts 242
    • Points 3,205
    Re: naming on CSA module Reply

     Hi Tompy,

     one more comment on naming attributes. Generally speaking, naming style use a default to increase "by name" compatibility with Formal tools (LEC, Formality, etc). The more you change the naming defaults without changing on the formal setup, the more likely you will see increases in runtime and potentially even aborts.

    regards,

    gh-

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by tompy at 05 Jan 2011 01:05 AM. Topic has 4 replies.