1 Reply Latest reply on Feb 18, 2014 9:06 PM by julio.liriano

    Cannot get cross reference to work, even after reading all the support posts

    julio.liriano

      I am running the 9.5 Pads design flow. I am using a command line to run the scout program as running it from the DxDesigner does not use the correct scout.ini file

      The command line I'm using is this:

      scout "Schematic1" -icdbdir "N:\Artemis\p31800-1\sch31800-1\database" -icdbsnapshot "DxC" -common-prop-file "C:\MentorGraphics\9.5PADS\SDD_HOME\standard\netlist.prp" -textsize 25400 -new_attr_vis 1 -scout_file "C:\MentorGraphics\9.5PADS\SDD_HOME\standard\scout.ini"

       

      I've followed this procedure:

      http://supportnet.mentor.com/portal?do=reference.technote&id=mg510524

       

       

       

       

      It finishes with no errors or warnings but one note: It says it used the scout.ini file I pointed it to.

      Here is the scout.ini file I use. Any assistance is greatly appreciated:

       

      unit in

       

       

      |

      | scout.ini - Scout configuration file.

      |

      |   Note that many of the Scout commands described in this file are highlighted

      |   using CAPITAL letters.  This is for highlighting purposes only. In actual

      |   use all commands and keywords should be entered using lower case letters.

      |

      |*******************!!!!!!!!!!!!!!!!!!!!!*********************

       

       

      | -----------------------------turn OATs on

      disable_oats false

      |disable_oats true

       

       

      | ---------------------------------------------------------------------

      | The VERSION command tells Scout which version of commands we are

      | using.  The allows Scout to adapt to potential changes in the

      | command syntax from release to release. Should be  2 for Scout V6.n .

      |

      version 3

      |

      | ---------------------------------------------------------------------

      | The ZONE commands specify how to partition the schematic sheets into

      | horizontal and vertical zones and how to name each zone.

      |

      zone_size_horizontal 8.50

      zone_size_vertical 5.50

      zone_xoffset 0.00 | xoffset from bounding box

      zone_yoffset 0.00 | yoffset from bounding box

      zone_names_vertical 1 2 3 4

      zone_names_horizontal A B C D

      zone_order_horizontal left_to_right | left_to_right or right_to_left

      zone_order_vertical top_to_bottom | bottom_to_top or top_to_bottom

      |

      | ---------------------------------------------------------------------

      | The UNDO command instructs the Scout to remove all of the annotations

      | from previous runs (and not add any new annotations.)  This command is

      | normally enabled via the command line, eg: "scout design -undo true".

      |

      |undo    false

      undo    true

      |

       

       

      | ---------------------------------------------------------------------

      | The DIRECT_REFERENCE command allow you to target specific objects directly for

      | placement of attribute information.

      |

      | The ATTR  command is used to specify target objects including where

      | the attribute information should be placed.  The syntax is

      |

      |   ATTR  block_type  symbol_name attr_type attr_qualifier annotation_point  text_origin

      |

      | The choices for block_type are COMPOSITE, MODULE, PRIMITIVE, ANNOTATE

      | PIN or ANY.

      |

      | symbol_name should be the name of the symbol associated with the target component or

      | the word  ANY  for any symbol is ok.

      |

      | attr_type can be PIN_ATTR or COMP_ATTR

      |

      | attr_qualifier is for future use, use ANY for now

      |

      | The value for annotation_point  can be any positive or negative coordinates (x,y).

      |

      | The choices for text_origin are UPPER_LEFT,  UPPER_CENTER,  UPPER_RIGHT,

      |                                 MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT,

      |                                 LOWER_LEFT,  LOWER_CENTER,  LOWER_RIGHT or TRACK_OBJECT.

      |

      |

       

       

      | tag composite components with sheet info

       

       

       

       

      | tag all borders with sheet location (from parent) info.

      direct_reference

          attr any dsheet.1 comp_attr any 30.70,1.10 lower_left

       

       

          format_prefix "SUBBLOCK"

          format_entry "Located at $pblkpage_num-$phzone$pvzone"

          format_attr_vis value_visible

          format_attr_size 0.10

      end

       

       

       

       

      | ---------------------------------------------------------------------

      | The CROSS_REFERENCE command allow you to organize the objects found

      | attached to each signal branch into lists.  You can define as many

      | cross reference lists as you like.

      |

      | The RECORD command defines which objects found on the net branch

      | should be included in this list.  The syntax is

      |

      |   RECORD block_type  selection_type  selection_qualifier

      |

      | The PLACE command is used to specify where the list of recorded objects

      | should be placed.  The syntax is

      |

      |   PLACE block_type selection_type selection_qualifier annotation_point text_origin

      |

      | The choices for block_type are COMPOSITE, MODULE, PRIMITIVE, ANNOTATE

      | PIN or ANY.

      |

      | The choices for selection_type  are SYMBOL_NAME, COMP_ATTR, PIN_ATTR,

      | PIN_SIDE or DANGLING_NET.

      |

      | The choices for selection_qulaifier are based on the object_type:

      |

      |   object_type                 object_argument

      |   -----------                 ---------------

      |   SYMBOL_NAME                 [library:]symbol[.extension]

      |   COMP_ATTR/PIN_ATTR          name=value

      |   PIN_SIDE/DANGLING_NET       TOP/BOTTOM/LEFT/RIGHT

      |

      | The value for the annotation_point  can be any positive or negative coordinates (x,y).

      |

      | The choices for text_origin are UPPER_LEFT,  UPPER_CENTER,  UPPER_RIGHT,

      |                                 MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT,

      |                                 LOWER_LEFT,  LOWER_CENTER,  LOWER_RIGHT or TRACK_OBJECT

      |

      |

       

       

      cross_reference

          record annotate symbol_name "common:onsheet.1"

          record annotate symbol_name "common:offsheet.1"

          record annotate symbol_name "common:bi.1"

       

       

          place annotate symbol_name "common:onsheet.1" -0.30,-0.10 middle_right

          place annotate symbol_name "common:offsheet.1" 0.40,-0.10 middle_left

          place annotate symbol_name "common:bi.1" -0.30,-0.10 middle_right

       

       

      format_prefix           "XREF"

      format_entry            "$page_num$vzone$hzone"

      format_separator        ","

      format_suffix           ""

      format_attr_length      1

      format_attr_size        default

      format_attr_vis         name_and_value_visible

      format_attr_shadow      symbol_pin_attr

      format_reset            true

      format_overflow         reformat_and_wrap

      format_reformat         "$page_num$vzone$hzone"

      format_wrap_vis         value_visible

       

       

      end

       

       

       

       

      | ---------------------------------------------------------------------

      | The FORMAT commands specify how to format the cross reference list.

      | When used outside the CROSS_REFERENCE command they apply to all lists.

      |

      | Variables: $page_num $page_total $page_first $page_last $hzone $vzone

      |            $x_coord $y_coord $sheet_lib $sheet_name $sheet_num

      |            $obj_name $obj_path $pin_name $sym_name

      |            $obj_attr=<att_name> $sch_attr=<att_name> $pin_attr=<att_name>

      |

      format_prefix           "XREF="

      format_entry            "$page_num$vzone$hzone"

      format_separator        ","

      format_suffix           ""

      format_attr_length      1

      format_attr_size        default

      format_attr_vis         name_and_value_visible

      format_attr_shadow      symbol_pin_attr

      format_reset            true

      format_overflow         reformat_and_wrap

      format_reformat         "$page_num$vzone$hzone"

      format_wrap_vis         value_visible

      |

      | ---------------------------------------------------------------------

      | The PAGE commands define placement and formatting of a schematic

      | attribute.

      |

      | Variables: $page_num $page_total $page_first $page_last $sheet_lib

      |            $sheet_name $sheet_num $subpage_first $subpage_last

      |

      | Page commands cannot be used with oats, since schematic attributes

      | cannot be oats

      |

      |page_start_number       1

      |page_string             "SHEET=SHEET $page_num OF $page_total"

      |page_origin_text        lower_right

      |page_origin_sheet       lower_right

      |page_placement          -52,55          | X,Y coords relative to origin_sheet

      |page_reset              true

      |page_attr_size          default         | Uses default size if not specified

      |page_attr_vis          value_visible

      |page_attr_vis           name_and_value_visible

      |page_plot               false            | Create a plot macro

      |

      | ---------------------------------------------------------------------

      | The SYM commands define placement and formatting of a symbol attribute.

      |

      | Variables: $page_total $page_first $page_last $sheet_lib $sheet_name

      |            $sheet_num $subpage_first $subpage_last

      |

      |sym_string              "SHEET=$blkpage_range"

      sym_origin_text lower_center

      sym_origin_sheet lower_left

      sym_placement 10,0 | X,Y coords relative to origin_sheet

      sym_reset true

      sym_attr_size default

      sym_attr_vis name_and_value_visible

       

       

      |

      | ---------------------------------------------------------------------

      | The EXPAND_BUS_NAMES command instructs Scout to group bus, bundle, and

      | bit type nets into the same branch.  They are normally defined as

      | separate signal branches.

      |

      expand_bus_names        true

      |

      | ---------------------------------------------------------------------

      |

       

       

      |

      | ---------------------------------------------------------------------

      | The IGNORE_SIGNAL and IGNORE_SYMBOL commands instruct the Scout program

      | to act as if the specified signal or symbol did not exist on the design.

      |

      ignore_signal           global  VDD

      ignore_signal           global  GND

      |ignore_symbol            fborder.1

      |

      |

      | ---------------------------------------------------------------------

      | The TRAVERSE command specifies how much of the design tree to process.

      | The options are to process only a single sheet - ONE_SHEET, or to

      | process all sheets at one level - ONE_LEVEL, or to process all sheets

      | at all levels - ALL_SHEETS_AND_LEVELS.

      |

      traverse                all_sheets_and_levels

      |

      | ---------------------------------------------------------------------

      | The STOP_AT command identifies a component or symbol attribute that

      | will instruct the Scout program to treat this symbol as a primitive

      | and not push into its underlying schematic.  This command is only

      | required when traversing all sheets and levels.  This command may

      | be repeated to specify multiple strings.

      |

      stop_at                 LEVEL=STD

      stop_at                 LEVEL=DONE

      |

      | ---------------------------------------------------------------------

      | The SCOPE commands specify how small of a scope to use when cross

      | referencing objects on a signal branch.  If LEVEL_TO_LEVEL is true,

      | then each annotation list will contain references to objects on other

      | levels.  If SHEET_TO_SHEET is true, the each annotation list will

      | contain references to objects on other sheets.  If OBJECT_TO_OBJECT

      | is true, then each annotation list will contain references to objects

      | on the same sheet.

      |

      scope_level_to_level    true            | Reference objs on other levels.

      scope_sheet_to_sheet    true            | Reference objs on other sheets.

      scope_object_to_object  true            | Reference objs on the same sheet.

      |

      | ---------------------------------------------------------------------

      | The SUPPRESS command can be used to suppress message reports by

      | either message type (status, note, warning, error) or by message number.

      |

      | suppress                status

      |

      | Note: Do not suppress message type 'note' or message number '1030' if

      | you are using the 'scout51' script.

      |

        • 1. Re: Cannot get cross reference to work, even after reading all the support posts
          julio.liriano

          When I purposely change the name of XREF to something not in the property definition file, I get two warnings saying that the property isn't in the definition file as expected. I also get the correct string displayed with the bogus property. It seems scout is reading the ANNOTATE property location correctly, it just isn't writing them to the XREF property. When I call out XREF it completes with no problems, just that the result string is never written. to the schematic. Also, I get no error when the sheets are opened and I run scout from the DXDesigner GUI. I DO get a lock error as expected when I run scout from a cmd line though