Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Overview

NetBom has configurable report headers for users that want to further modify the web and Excel reports.

The report settings file exists in the NETBOM_REPORT_SETTINGS CSET, and if it is not defined the default report settings will be used. When a report is created with the default settings, the settings that were used will be printed to an output file called netbom_report_settings.txt in the output directory (same directory as the generated reports are in).

Expand
titlesample netbom_report_settings.txt file
Code Block
# 	NETBOM_REPORT_SETTINGS
#
# separate header values by new lines
# a double semi-colon following a header value will indicate a header option
# header options are as follows:
# - WIDTH: indicate html report column width % (whole number)
# - EDITABLE: indicate column cells are editable (and will be save/loadable) - does not work on reports that don't have save feature
# - FILTER_ORDER: order of appearance in the search drop-down
# - NO_FILTER: remove item from appearance in the search drop-down
# - 
# - 
#
# it is also possible to add a spacer column by simply putting SPACER::WIDTH=# as a header value (configure width as desired)
#   these spacer columns are automatically removed from the drop-down search bar
#

ENDPOINT_COMPARE=

ALL_SHEET_HEADERS:
ACCEPT_/_REJECT::NO_FILTER=1::WIDTH=3
MATCH_SCORE::FILTER_ORDER=3::WIDTH=4
ENDPOINT1::FILTER_ORDER=2
NET_NAME1::FILTER_ORDER=1
NET1_VOLT::EDITABLE=1
REMAP::NO_FILTER=1
ENDPOINT2
NET_NAME2
NET2_VOLT::EDITABLE=1

ENDPOINT_VERIFY=

ALL_SHEET_HEADERS:
ACCEPT_/_REJECT::NO_FILTER=1::WIDTH=3
MATCH_SCORE::FILTER_ORDER=3::WIDTH=4
ENDPOINT::FILTER_ORDER=2
NET_NAME::FILTER_ORDER=1
NET_VOLT::EDITABLE=1
SIG_NAME
PIN_NAME
PIN_TYPE
PIN_VOLT
IO_STD

NETLIST_COMPARE=

ADDED_NETS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
NEW_NET_NAME::FILTER_ORDER=1
NEW_NET_VOLT::EDITABLE=1
NEW_NET_NODES::FILTER_ORDER=2::WORD_SPACING=5
COMMENT::WIDTH=5::EDITABLE=1

ADDED_PINS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
NET_NAME::FILTER_ORDER=1
NEW_NET_VOLT::EDITABLE=1
NODES_ADDED_TO_NET::FILTER_ORDER=2::WORD_SPACING=5
COMMENT::WIDTH=5::EDITABLE=1

ADDED_REMOVED_PINS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
NET_NAME::FILTER_ORDER=1
NEW_NET_VOLT::EDITABLE=1
OLD_NET_VOLT::EDITABLE=1
NODES_ADDED_TO_NET::FILTER_ORDER=2::WORD_SPACING=5
NODES_REMOVED_FROM_NET::FILTER_ORDER=3::WORD_SPACING=5
COMMENT::WIDTH=5::EDITABLE=1

MOVED_PINS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
NODE::FILTER_ORDER=2
PART_NUMBER::FILTER_ORDER=1
DESCRIPTION::FILTER_ORDER=3
PART_VOLT::EDITABLE=1
OLD_NET_NAME
OLD_NET_VOLT::EDITABLE=1
NEW_NET_NAME
NEW_NET_VOLT::EDITABLE=1
SYM_NUM::WIDTH=2
NEW_SCHEMATIC_PAGE_PATH
COMMENT::WIDTH=5::EDITABLE=1

NET_PROPERTY_CHANGES_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
NET_NAME::FILTER_ORDER=1
PROP_NAMES::FILTER_ORDER=2
NEW_VALS
OLD_VALS
COMMENT::WIDTH=5::EDITABLE=1

NODE_PROPERTY_CHANGES_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
NODE::FILTER_ORDER=1
PROP_NAMES::FILTER_ORDER=2
NEW_VALS
OLD_VALS
COMMENT::WIDTH=5::EDITABLE=1

REMOVED_NETS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
OLD_NET_NAME::FILTER_ORDER=1
OLD_NET_VOLT::EDITABLE=1
OLD_NET_NODES::FILTER_ORDER=2::WORD_SPACING=5
COMMENT::WIDTH=5::EDITABLE=1

REMOVED_PINS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
NET_NAME::FILTER_ORDER=1
OLD_NET_VOLT::EDITABLE=1
NODES_REMOVED_FROM_NET::FILTER_ORDER=2::WORD_SPACING=5
COMMENT::WIDTH=5::EDITABLE=1

RENAMED_NETS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
NEW_NET_NAME::FILTER_ORDER=1
NEW_NET_VOLT::EDITABLE=1
OLD_NET_NAME::FILTER_ORDER=2
OLD_NET_VOLT::EDITABLE=1
NET_NODES::FILTER_ORDER=3::WORD_SPACING=5
COMMENT::WIDTH=5::EDITABLE=1

SHEET_ORDER:
RENAMED_NETS::GROUP=NET_DIFFS
ADDED_NETS::GROUP=NET_DIFFS
REMOVED_NETS::GROUP=NET_DIFFS
ADDED_PINS::GROUP=NODE_DIFFS
REMOVED_PINS::GROUP=NODE_DIFFS
ADDED_REMOVED_PINS::GROUP=NODE_DIFFS
MOVED_PINS::GROUP=NODE_DIFFS
SINGLE_NODE_NETS::GROUP=PROP_DIFFS
NET_PROPERTY_CHANGES::GROUP=PROP_DIFFS
NODE_PROPERTY_CHANGES::GROUP=PROP_DIFFS

SINGLE_NODE_NETS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
NEW_NET_NAME::FILTER_ORDER=1
NEW_NODE
OLD_NET_NAME::FILTER_ORDER=2
OLD_NODE
COMMENT::WIDTH=5::EDITABLE=1

NETLIST_INFO=

REPORT_HEADERS:
NET_NUM::NO_FILTER=1
NET_NAME::FILTER_ORDER=1
NET_VOLT
NUM_NODES
NODE_LIST::FILTER_ORDER=2::WORD_SPACING=5

PARTLIST_COMPARE=

ADDED_PARTS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
REFDES::FILTER_ORDER=2
NEW_PART_NUMBER::FILTER_ORDER=1
DESCRIPTION::FILTER_ORDER=3
PART_VOLT::EDITABLE=1
PART_NET_NAMES
NET_VOLTS::EDITABLE=1
SCHEMATIC_PAGE_PATH
COMMENT::WIDTH=5::EDITABLE=1

ADDED_PART_NUMBERS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
NEW_PART_NUMBER::FILTER_ORDER=1
DESCRIPTION::FILTER_ORDER=2
QTY
COMMENT::WIDTH=5::EDITABLE=1

CHANGED_PARTS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
REFDES::FILTER_ORDER=3
OLD_PART_NUMBER::FILTER_ORDER=1
OLD_DESCRIPTION::WIDTH=15
OLD_PART_VOLT::EDITABLE=1
OLD_PART_NET_NAMES
SPACER::WIDTH=1
NEW_PART_NUMBER::FILTER_ORDER=2
NEW_DESCRIPTION::WIDTH=15
NEW_PART_VOLT::EDITABLE=1
NEW_PART_NET_NAMES
COMMENT::WIDTH=5::EDITABLE=1

DELETED_PARTS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
REFDES::FILTER_ORDER=2
OLD_PART_NUMBER::FILTER_ORDER=1
DESCRIPTION::FILTER_ORDER=3
PART_VOLT::EDITABLE=1
PART_NET_NAMES
NET_VOLTS::EDITABLE=1
SCHEMATIC_PAGE_PATH
COMMENT::WIDTH=5::EDITABLE=1

DELETED_PART_NUMBERS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
OLD_PART_NUMBER::FILTER_ORDER=1
DESCRIPTION::FILTER_ORDER=2
QTY
COMMENT::WIDTH=5::EDITABLE=1

PART_NUMBER_CHANGES_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
REFDES::FILTER_ORDER=3
OLD_PART_NUMBER::FILTER_ORDER=1
NEW_PART_NUMBER::FILTER_ORDER=2
COMMENT::WIDTH=5::EDITABLE=1

PART_PROP_CHANGES_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
PART_NUMBER::FILTER_ORDER=1
REFDES::FILTER_ORDER=2::WORD_SPACING=5
PROP_NAME::FILTER_ORDER=3
NEW_VAL_/_OLD_VAL
COMMENT::WIDTH=5::EDITABLE=1

PART_QTY_CHANGE_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
PART_NUMBER::FILTER_ORDER=1
NEW_PART_QTY
OLD_PART_QTY
PART_QTY_DIFF
DESCRIPTION::FILTER_ORDER=2
COMMENT::WIDTH=5::EDITABLE=1

RENAMED_PARTS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
REFDES::FILTER_ORDER=2
PART_NUMBER::FILTER_ORDER=1
DESCRIPTION::FILTER_ORDER=3
PIN_NUM
NEW_PART_NET_NAMES
OLD_PART_NET_NAMES
SYM_NUM::WIDTH=2
COMMENT::WIDTH=5::EDITABLE=1

SHEET_ORDER:
ADDED_PARTS::GROUP=PART_DIFFS
DELETED_PARTS::GROUP=PART_DIFFS
CHANGED_PARTS::GROUP=PART_DIFFS
PART_QTY_CHANGE::GROUP=PART_DIFFS
PART_NUMBER_CHANGES::GROUP=PART_DIFFS
DELETED_PART_NUMBERS::GROUP=PART_DIFFS
ADDED_PART_NUMBERS::GROUP=PART_DIFFS
PART_PROP_CHANGES::GROUP=PROP_DIFFS

PARTLIST_INFO=

REPORT_HEADERS:
ITEM::NO_FILTER=1
PART_NUMBER::FILTER_ORDER=1
QTY
REF_DES::FILTER_ORDER=2::WORD_SPACING=5
DESCRIPTION
PART_VOLT

POWER_RAIL_REPORT=

REPORT_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
PART_NUMBER::FILTER_ORDER=1
QUANTITY
VALUE
VOLTAGE
DERATING_VALUE_%::EDITABLE=1
TOTAL_CAPACITANCE
PART_DESCRIPTION
COMMENT::WIDTH=5::EDITABLE=1

Info

In order to customize your report settings, point the NETBOM_REPORT_SETTINGS CSET to your custom report settings file.

Table Column Order

The table column order and which columns appear are configurable in the report settings file. Column names are converted such as COLUMN_NAMEColumn Name. Only the column headers that exist in the default report file are supported (an exception is the Spacer column, see below). The columns can be re-ordered in any configuration (just make sure to keep the same names) and columns can also be removed from view by simply taking them off the list (or commenting them out with the number sign #).

Note

Be careful when removing net name, part number, or single-node columns. These are typically used in the background to support the various web report features. Expect things (such as cross-report linking, cross probing, net tracing, etc) to not work if removing these types of columns. See the HIDE modifier section for a work-around for this.

Below is an example snippet of the column order for the Added Nets report. The modifiers have been stripped for clarity.

Code Block
ADDED_NETS_HEADERS:
A/R             # Column 1 (farthest left)
NEW_NET_NAME    # Column 2
NEW_NET_VOLT    # Column 3
NEW_NET_NODES   # Column 4
COMMENT         # Column 5

If running a report with these column settings, the A/R column will be farthest to the left and the Comment column will be farthest to the right.

The PARTLIST_INFO report is unique in that any partlist property can be added and displayed in the partlist by simply adding the name of the property to the REPORT_HEADERS section.

Spacer Column

An exception to the column names is the SPACER column. This field can be placed between headers to add an empty column to the report. It can have modifiers attached to it like a regular header, though the only useful one is the width modifier. This column will not appear in the search filter drop-down.

...

Here is an example of the spacer column being placed between two columns with a width modifier of 1 (see example code in Default Report Settings section).

Report Settings Modifiers

There are many tweaks that can be done to the reports. As more configuration settings are added, this page will contain configuration info and examples for the NETBOM_REPORT_SETTINGS CSETwill be updated. The syntax for adding modifiers to a column is: COLUMN_NAME::MODIFIER_1=VALUE_1::MODIFIER_2=VALUE_2

This is not case-sensitive, and all spaces that are added will be filtered out.

List of available table column modifiers:

  • WIDTH

  • EDITABLE

  • NO_FILTER

  • FILTER_ORDER

  • HIDE

List of available sheet order modifiers:

  • GROUP

Column Modifier: Width

When adding the WIDTH modifier to a column, it will force the column to be a specific percentage of the total table width. This is useful when the auto-sizing that NetBom does to all reports is not desirable.

Values accepted for this modifier are any whole numbers between 1 and 100, with -1 being an exception that will force NetBom to skip calculating width and leave the calculation up to the web browser. Values outside of this range are unhandled and will produce undefined results.

The default width for columns is calculated by NetBom before the report is created and is based on the contents in all the cells.

...

In this example, the Comment column has a width of 5 which means it will always use 5% of the total table width.

Column Modifier: Editable

The EDITABLE modifier makes all cells in the column editable (if the report supports editable fields).

The value for the EDITABLE modifier can be 0 or 1.

This setting is disabled by default.

...

In this example, the Old Net Volt column has the editable modifier set to 1, so the report will allow editing in all of this column's cells.

Column Modifier: No Filter

This modifier removes the column from the search filter list. This is useful for reports that have many columns and/or reports that have columns that aren’t going to be filtered.

The value for this modifier can be 0 or 1.

The default value for this modifier is 0.

Info

Note: spacer columns are automatically excluded from filtering, so the NO_FILTER modifier will have no effect on them.

...

In this example, the A/R column (behind the drop-down) is not available in the filter drop-down. This is because it has the NO_FILTER modifier set to 1.

Column Modifier: Filter Order

This modifier allows re-ordering of the filter options.

By default, the filter order is the same order as the column headers. The values for this header can be any number, with the lowest number being at the top of the list and going in descending order from there. Columns without a FILTER_ORDER modifier will be at the end of the list in the table header order.

...

In this example, the Nodes Added To Net column should be, if using the default order, above the new and old net volt. But because its FILTER_ORDER modifier has been set to 2, it is behind the Net Name column which has the highest FILTER_ORDER value.

Column Modifier: Hide

The HIDE modifier enables columns that are critical for the operation of certain features (typically net name, part number, and single-node columns) to be visually removed from the report without breaking the report. This modifier will also remove the item from the search filter drop-down, so the NO_FILTER modifier will have no effect.

Sheet Modifier: Group

This modifier can be attached to the sheet order configurations to specify which reports should be in which drop-downs.

...

In this example, the Renamed Nets, Added Nets, and Removed Nets reports are assigned to the Net Diffs group.

Below is an example snippet of the sheet order for the Netlist Compare reports.

Code Block
SHEET_ORDER:
RENAMED_NETS::GROUP=NET_DIFFS
ADDED_NETS::GROUP=NET_DIFFS
REMOVED_NETS::GROUP=NET_DIFFS
ADDED_PINS::GROUP=NODE_DIFFS
REMOVED_PINS::GROUP=NODE_DIFFS
ADDED_REMOVED_PINS::GROUP=NODE_DIFFS
MOVED_PINS::GROUP=NODE_DIFFS

Using this example will produce the screenshot above. Renamed Nets, Added Nets, and Removed Nets will belong to the Net Diffs group, in the order that they appear in the text. The Node Diffs group will contain the Added Pins, Removed Pins, Added Removed Pins, and the Moved Pins reports.

Tip

Group names are fully customizable - any name is fine and any number of different groups can be used. Just remember the naming conversions: GROUP_NAME → Group Name.

Default Report Settings

This is a snippet of the default report settings file. See below for an explanation of what each line is doing. Some parts have been removed for brevity.

Note

If your NETBOM_REPORT_SETTINGS CSET is blank or contains an invalid file path, NetBom will create and use the default settings, and will make a file containing the default settings it used in the NetBom output directory.

Code Block
PARTLIST_COMPARE=

ADDED_PART_NUMBERS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
NEW_PART_NUMBER::FILTER_ORDER=1
DESCRIPTION::FILTER_ORDER=2
QTY
COMMENT::WIDTH=5::EDITABLE=1

CHANGED_PARTS_HEADERS:
A/R::NO_FILTER=1::WIDTH=1
(...)
SPACER::WIDTH=1
(...)
COMMENT::WIDTH=5::EDITABLE=1

(...)

SHEET_ORDER:
ADDED_PARTS::GROUP=PART_DIFFS
(...)
PART_PROP_CHANGES::GROUP=PART_DIFFS

NETLIST_COMPARE=

(...)
  • Line 1 has the name of the report. Everything after this line until line 28 (name of next report) will be applied to the Partlist Compare reports.

  • Line 3 marks the beginning of the header and column configuration for the Added Parts report. This ends on line 10, which is the start of the next report configuration.

  • Line 4 configures the A/R column in the Added Parts report. It has NO_FILTER set to 1, and WIDTH set to 1. This means that this column will not be available in the drop-down filter menu and the width of the column will take up 1% of the total table width. Also, note that this column will be farthest to the left in the table because it is first in the list.

  • Line 5 has the FILTER_ORDER modifier set to 1, which means it will appear at the top of the search filter list and will be the default search option. The following line has the modifier set to 2, so it will be the second in the list.

  • Line 7 has no modifiers, which means it will appear in the search list in the order it appears in the table and the width will be calculated by NetBom based on the contents of the cells in the column.

  • Line 8 will be editable because it has the editable modifier set to 1, and the width will be set to 5% of the total table width.

  • Line 10 marks the end of the Added Parts column and the beginning of the Changed Parts column.

  • Line 13 is a blank column spacer with its width set to 1% of the total table width.

  • Line 19 begins the sheet order and sheet configuration for the Partlist Compare sheets.

  • Line 20 puts the Added Parts report in the Part Diffs Group

  • Line 22 does the same as line 20, but for the Part Prop Changes report.