Home > Community > Forums > Logic Design > how preserve ports when use delete_unloaded_undriven command

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

 how preserve ports when use delete_unloaded_undriven command 

Last post Wed, Jan 30 2013 5:59 AM by daijin. 6 replies.
Started by daijin 29 Jan 2013 10:14 AM. Topic has 6 replies and 1305 views
Page 1 of 1 (7 items)
Sort Posts:
  • Tue, Jan 29 2013 10:14 AM

    • daijin
    • Not Ranked
    • Joined on Tue, Jan 29 2013
    • wilmington, MA
    • Posts 4
    • Points 65
    how preserve ports when use delete_unloaded_undriven command Reply

    Hi All,

    I want use "delete_unloaded_undriven" command to remove un-used pins in subdesign. But when I used this command, it also removed my top-level ports. I've some constant output ports in design that I don't want to remove them. How let RC only remove sub-module un-used pins, but keep the top-level ports?

    Thanks.

    • Post Points: 20
  • Tue, Jan 29 2013 10:18 AM

    • bmiller
    • Top 200 Contributor
    • Joined on Tue, Oct 14 2008
    • Ottawa, Ontario
    • Posts 42
    • Points 570
    Re: how preserve ports when use delete_unloaded_undriven command Reply

     The usage indicates that top level ports will only be removed if the"-all" option is used.  Are you using this option?

     

    Usage: delete_unloaded_undriven [-disconnect] [-all] [-force_bit_blast] [-verbose] <design> [> file]

        [-disconnect]:
            only disconnects the constant connected subports/hierarchical pins
        [-all]:
            deletes unused top-level ports also
        [-force_bit_blast]:
            removes individual bits of a bus by bit-blasting the module
        [-verbose]:
            print debug information
        <design>:
            the name of the design to check

     

    • Post Points: 5
  • Tue, Jan 29 2013 10:28 AM

    • daijin
    • Not Ranked
    • Joined on Tue, Jan 29 2013
    • wilmington, MA
    • Posts 4
    • Points 65
    Re: how preserve ports when use delete_unloaded_undriven command Reply
    No I didn't use -all option. I write out this command to a file that
    didn't show my top-level ports name. But in write out netlist, all those
    ports assignment are gone.

    Before use this command, netlist show:
    output [41:0] o_data;
    assign o_data[41] = 1'b0;
    assign o_data[40] = 1'b0;

    After use this command, netlist only show:
    output [41:0] o_data;
    But nothing connect o_data[41] and o_data[40]

    I also use commands:
    set_attribute remove_assigns true /
    set_remove_assign_options -ignore_preserve_setting -buffer BUFFXD2BWP35
    -design $BLOCK_NAME
    set_attribute use_tiehilo_for_const unique
    set_attribute ignore_preserve_in_tiecell_insertion true /

    to make sure all constant value connect to tielo cells instead of use
    assignments.
    • Post Points: 20
  • Tue, Jan 29 2013 10:38 AM

    • bmiller
    • Top 200 Contributor
    • Joined on Tue, Oct 14 2008
    • Ottawa, Ontario
    • Posts 42
    • Points 570
    Re: how preserve ports when use delete_unloaded_undriven command Reply

     Can you tell me what version of RC you are using?

     

    • Post Points: 5
  • Tue, Jan 29 2013 10:44 AM

    • daijin
    • Not Ranked
    • Joined on Tue, Jan 29 2013
    • wilmington, MA
    • Posts 4
    • Points 65
    Re: how preserve ports when use delete_unloaded_undriven command Reply
    11.23
    • Post Points: 20
  • Tue, Jan 29 2013 12:27 PM

    • bmiller
    • Top 200 Contributor
    • Joined on Tue, Oct 14 2008
    • Ottawa, Ontario
    • Posts 42
    • Points 570
    Re: how preserve ports when use delete_unloaded_undriven command Reply

     I suggest you submit a service request for this issue.  I don't believe delete_unloaded_undriven should disconnect constant top level ports.

    • Post Points: 5
  • Wed, Jan 30 2013 5:59 AM

    • daijin
    • Not Ranked
    • Joined on Tue, Jan 29 2013
    • wilmington, MA
    • Posts 4
    • Points 65
    Re: how preserve ports when use delete_unloaded_undriven command Reply
    Ok. Thanks.
    • Post Points: 5
Page 1 of 1 (7 items)
Sort Posts:
Started by daijin at 29 Jan 2013 10:14 AM. Topic has 6 replies.