CadEnhance recommends using a separate working directory or folder for each Part you are creating. When PartBuilder is installed, it creates a workdir directory under the root install directory, which is a good place to store part folders, But you can use any folder anywhere on a local or shared drive.
Choose a PART_CONFIG_FILE
When PartBuilder is first started, the user will be prompted to select or create a PART_CONFIG_FILE to work with. Three options are provided, Choose Part, New Part or Copy Part.- The Choose Part Button should be selected to work on a part that already exists
- In this case, the user will be presented with a file browser starting in the CE_WORK_DIR to find and locate an existing PART_CONFIG_FILE (usually named symGenCtl.txt)
- In this case, the user will be presented with a file browser starting in the CE_WORK_DIR to find and locate an existing PART_CONFIG_FILE (usually named symGenCtl.txt)
- The New Part Button and Copy Part Buttons popup a new menu allowing the user to start from scratch and create a new part folder and a PART_CONFIG_FILE to work with
- Choose one of the Selected Operations, Create New Folder, Copy From Existing Folder, or Copy Template from CadEnhance.
- If you are starting from scratch, use the Create New Folder operation, provide a PART_NAME and hit Create New...
PartBuilder will create a working directory for your part and an empty PINOUT_CONTROL_FILE named symGenCtl.txt which will be used to store all your configuration settings.- If you are starting from scratch, you will have to Enter the NUM_PINS, select
- If you have already created a similar part, use the Copy From Existing Folder operation, and provide the new PART_NAME.
In this case, PartBuilder will copy the existing folder to a new folder under the selected WORKING_DIR named after the Selected PART_NAME. - The Copy Template from CadEnhance operation is another excellent way to get started. CadEnhance provides a growing selection of sample parts that can be downloaded to your WORKING_DIR to give you a head start to create your own customized version of many industry standard parts.
- If you are starting from scratch, use the Create New Folder operation, provide a PART_NAME and hit Create New...
- Choose one of the Selected Operations, Create New Folder, Copy From Existing Folder, or Copy Template from CadEnhance.
- The Choose Part Button should be selected to work on a part that already exists
Configure the Build Options
If the user is starting from scratch or had PartBuilder create a copy of an existing folder or remote sample part, PartBuilder will need to be configured for the new Part using the Highlighted section of the Main Gui:- Select the PIN_REPORT_TYPE that will be used to supply the pin-data for the part under construction.
Selecting a PIN_REPORT_TYPE that leads to the least amount of hand editing is one of the most important steps in part creation since
PartBuilder extracts the Pin Names, Pin Numbers, Pin Types and other critical information from this source.
Click on this link for more information about the different types of PIN_REPORT_TYPES:Part Builder Pin Information Sources- Programmable Logic Device (PLD) Types: PLD vendors provide Package Files and Pin Report files for their FPGA or CPLD devices which can be downloaded from their websites or generated by one of their tools. PartBuilder can currently process these files available from Altera, Lattice and Xilinx.
- The Vendor specific PHYSICAL or LOGICAL PIN_REPORT types should be chosen for this type of part. The PHYSICAL PIN_REPORT_TYPE is used to build a very generic set of symbols for a PLD device that can be used in any application while The LOGICAL PIN_REPORT_TYPE provides the most functional symbols in a schematic, but symbols must be created for each application
- See the FPGA Information Files for more information.
- The Vendor specific PHYSICAL or LOGICAL PIN_REPORT types should be chosen for this type of part. The PHYSICAL PIN_REPORT_TYPE is used to build a very generic set of symbols for a PLD device that can be used in any application while The LOGICAL PIN_REPORT_TYPE provides the most functional symbols in a schematic, but symbols must be created for each application
- JTAG Parts: Any part that has JTAG pins (TCK,TDI,TDO,TMS) will have an associated BSDL_FILE which is usually readily available for download from the vendors website. These files provide an accurate description of all of the device pins.
- The BSDL FILE PIN_REPORT_TYPE should be chosen to create this type of part.
- It is worth noting that many of the vendors that provide a BSDL_FILE for their part tend to lock their PDF files so that pin data cannot be cut and pasted.
- IBIS MODELS: Most vendors provide IBIS signal integrity simulation models for their devices which are also readily available from their website or by request. This is another excellent source of the part pin data.
- The IBIS_FILE PIN_REPORT_TYPE should be chose to create a part from the IBIS model file.
- Existing Symbol Files: PartBuilder can read existing symbol files to extract pin data. This is quite useful if you want to re-draw a set of symbols or migrate existing symbols from one EDA tool to another.
- The CHIPS_PRT_FILE PIN_REPORT_TYPE is used to read the pinout from an existing Allegro symbol file. Chip Vendors sometimes use the chips.prt file to capture their device pinouts internally and provide an excellent means for the vendor to build symbols for their own parts
- Spreadsheets: In some cases, vendors may also provide an excel spreadsheet describing the pin data. If not, the spreadsheet can be created from the pdf datasheet. PartBuilder provides the SPREADSHEET, GENERIC_CSV, SIMPLE_BGA and PIN_NUM_TYPE PIN_REPORT_TYPES to enable extraction of pin data from these types of files.
- see the Creating a SpreadSheet from a PDF File Page for more information
- Programmable Logic Device (PLD) Types: PLD vendors provide Package Files and Pin Report files for their FPGA or CPLD devices which can be downloaded from their websites or generated by one of their tools. PartBuilder can currently process these files available from Altera, Lattice and Xilinx.
- Each PIN_REPORT_TYPE requires its own set of configuration settings. All of the settings may not be available on the Main GUI, so the More Part Config Settings button is provided to enable the user to choose the extra options.
- This menu can also be used to create a set of SIG_RENAME_RULES, define the DIFF_PAIR identification rules, and select an input file to provide PIN_DELAY data for the created part.
- The Diff Pair Search Options allow the user to tell PartBuilder how to identify diff_pair pins within the pin data. Configuring the Diff Pairs properly at the start makes the Smart-Frac feature even more efficient when grouping pins together in MATCH_STATEMENTS
- The SIG_RENAME_RULES entry allows the user to make changes to pin names to make them more descriptive or better fit your naming standards without having to touch the input data file
- The /wiki/spaces/DD/pages/4113614Section enables the user to select a file specifying pin_delays for each pin, and instruct PartBuilder as to how the pin delay information is organized in rows/columns
- Most of these functions are also available in the PIN-EXPLORER GUI as well which provides more interactive support.
- This menu can also be used to create a set of SIG_RENAME_RULES, define the DIFF_PAIR identification rules, and select an input file to provide PIN_DELAY data for the created part.
- If pin types are not provided or improperly defined in the input PIN_REPORT_FILE, use the PIN_EXPLORER function to easily define a PIN_TYPE_OVERRIDE file
- Select the PIN_REPORT_TYPE that will be used to supply the pin-data for the part under construction.
Use SMART-FRAC to create the initial Symbol Description Language (SDL) Templates
- After the pin data has been read in successfully, any desired signal renaming rules have been created, and any required pin_type_override rules have been entered,
The SMART-FRAC Operation can be run to create the initial SDL Templates. - SMART-FRAC does the work a user would normally do to sort and organize pins, by name, busses, diff_pairs and busses of diff_pairs.
- For most parts, it creates one symbol placeholder for all the power pins, and another symbol placeholder for the remaining signal pins
- It places Inputs on the Left, Outputs on the right and leaves the Power and Inout or Bidirectional pins with a CHOOSE_SIDE
modifier so that the user can locate them where they want.
- It places Inputs on the Left, Outputs on the right and leaves the Power and Inout or Bidirectional pins with a CHOOSE_SIDE
- For FPGAs and CPLDS, SMART-FRAC will create a symbol for each IO BANK, and each XCVR BANK.
- When Converting symbols from one EDA tool to antother, SMART-FRAC creates the SDL to describe the location of every pin in every symbol from the original EDA tool.
- SMART-FRAC is normally run once or twice at the beginning of symbol creation until a suitable template is created.
- Once a template gets converted to the real working SDL file, the user would not want to overwrite it with the Template,
and PartBuilder takes precautions to prevent this from happening.
- After the pin data has been read in successfully, any desired signal renaming rules have been created, and any required pin_type_override rules have been entered,
Use the SDL Editor to edit the SYMBOL DESCRIPTION LANGUAGE (SDL)
- In order to create symbols, the user must choose a valid side for any pin-match labelled CHOOSE_SIDE
- To build a complete part with error checking, the final SDL file must configure a location for every the pins extracted from the PIN_REPORT_FILE
- The user can choose to build symbols incrementally by setting the BUILD_PARTIAL_SYMBOLS Config setting
- Note The `EXIT pre-processor command can be used to tell PartBuilder to ignore all the SDL after the line that the `EXIT has been entered on.
- The Green Arrow at the upper right of the SDL-Editor can be used to interactively build the symbols
Select the EDA Tools and then Double Click the BUILD_SYMBOLS Operation
- Monitor the Status Window for Warnings/Errors.
PartBuilder stops the building process if it detects significant errors that would make the final part unusable in the downstream EDA tool- You can still progress manually by double clicking then next step in the build process menu
- This allows you to work on the symbols incrementally
- Monitor the Status Window for Warnings/Errors.
View the Created Symbols...
Use the View Symbol Menu Button and select either the AllegroHDL or dxDesigner Symbol
In the current release (to v18.9.1) PartBuilder only supports the viewer for AllegroHDL and dxDesigner symbols, so the user will want to enable one of those tools for symbol creation even if the final EDA tool is Orcad or something else. The symbol created for the other EDA tools will be very similar in form and fit to the AllegroHDL or dxDesigner symbol- The symbol viewer will pop up and allow you to browse through the multiple symbols you have created
Edit SDL to Optimize Symbols
After the first pass of SDL is completed, the User can use the SDL-EDITOR to Optimize the final symbol set
- Easily move pins between symbols or create new symbols to hold related pins
- Optimize placement and spacing of pins within their symbols
Configure the Properties that will be added to the final part
- Configure and Enter the Property Values and Locations for each EDA tool you will generate a part for.
- Optionally use the Read Part Property Templates button to let PartBuilder "learn" the property Standards your company uses when building symbols
- After the properties have been modified, the user will Rerun the BUILD_SYMBOLS operation again to fix the property content for the released symbols.
- This is a very quick operation and the user may do this several times to optimize the property content and placement of the properties.
- This is a very quick operation and the user may do this several times to optimize the property content and placement of the properties.
- Property configurations can be stored in the site_prop_loc_ctl.txt file in the directory pointed to by the CE_SITE_DIR config setting, so that they can be applied to all new parts
Copy the Generated Symbol files to the Release Library
- Use Release Symbols Button on Main Menu
- The Release Directory can be stored locally for the part or in the SITE_SETTINGS file.
Add Comment