2 Replies Latest reply on Dec 7, 2010 5:06 AM by o.knitterscheidt

    XREF in hierarchical designs

    o.knitterscheidt

      Hi,

      @SHEETTOTAL is the total of sheets in current level of hierarchy or block. XREF points to the absolute amount of pages of schematic. This causes in XREF values which are much higher then SHEETTOTAL.

      How to solve this situation?

        • 1. Re: XREF in hierarchical designs
          ted_casper

          It sounds like you are using scout (cross reference) to assign on page and off page information and the sheet number it assign does not match the value given by @SHEETTOTAL which is part of your border.  If this is you problem, I suggest you use scout to assign the total number of pages rather than using @SHEETTOTAL.  In our situation we have two different borders.  One for the cover (dcoversheet.1) and one for all subsequent pages (dsheet.1).

           

          Scout assigns the page number and total pages to the border using a property we have defined as SHEET.  The @SHEETTOTAL is still part of the border symbol but is made invisible.  We left @SHEETTOTAL on the border in case other tools may need it to function correctly.  Here is an example.

           

           

          | Annotate all non-cover sheets borders with the individual sheet number
          | and the total number of sheets
          direct_reference directref3
              attr any dsheet.1 comp_attr any 32.55,0.45 middle_left
              format_prefix "SHEET"
              format_entry "$page_num OF $page_total"
              format_attr_vis value_visible
              format_attr_size 0.30
          end
          |
          | Annotate the cover sheets with the individual sheet number and the
          | total number of sheets.
          direct_reference directref4
              attr any dcoversheet.1 comp_attr any 33.05,0.45 middle_left
              format_prefix "SHEET"
              format_entry "$page_num OF $page_total"
              format_attr_vis value_visible
              format_attr_size 0.30

          end

           

          If you want the block sheet page number and total you can use the following in scout.

           

          | Annotate all non cover sheet borders with the individual block sheet number and the
          | total number of sheets in the block.
          direct_reference directref7
              attr any dsheet.1 comp_attr any 34.40,22.70 middle_center
              format_prefix "BLKSHEET"
              format_entry "$blkpage_num OF $blkpage_total"
              format_attr_vis value_visible
              format_attr_size 0.17
          end

           

          I hope this helps,  Ted

          • 2. Re: XREF in hierarchical designs
            o.knitterscheidt

            Hi Ted,

            that helps a lot. We added $page_num and $page_total into our borders.

            Thank you