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 to work with.
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 pinData 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. 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 GENERIC_CSV, SIMPLE_BGA and PIN_NUM_TYPE PIN_REPORT_TYPES to enable extraction of pin data from these types of files.
- A free tool like https://www.pdftoexcelonline.com/ is very useful to convert the pdf to excel tables for easy and accurate manipulation within a spreadsheet program.
- When manually cutting and pasting pin Information from a PDF DataSheet into a spreadsheet, cadEnhance recommends using the free Foxit Reader PDF reader available from: https://www.foxitsoftware.com/products/pdf-reader/ instead of the Adobe Acrobat reader. The Foxit Reader does a much better job of maintaining the source data formatting in cut and paste operations whereas Acrobat tends to mangle the order and format of the data.
- 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 PinNames to make them more descriptive or better fit your naming standards without having to touch the input data file
- The PIN_DELAY Section enables the user to select a file specifying pin_delays for each pin, and instruct PartBuilder as to how the pin delay information is layed out.
- 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 pinData 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. Part Builder Pin Information Sources
- Use SMART-FRAC to create the inital 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.
- 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.
- Edit the SYMBOL_DESCRIPTION_FILE using the SYMBOL DESCRIPTION LANGUAGE (SDL) to describe the symbol layouts.
- Each time PartBuilder processes the PIN_REPORT_FILE, the Smart-Frac feature analyzes all the pin data and creates 2 SDL template files (one plain text, and one csv) containing the minimal sorted set of MATCH_STATEMENTS that the user needs to group into symbols to describe the parts they want to build.
- When the user opens the PartBuilder built-in SDL Editor with no SYMBOL_DESCRIPTION_FILE selected, PartBuilder will create a copy of the auto-generated template file to use as the starting point.
- The SDL file can be edited in the partBuilder SDL Editor tool , a spreadsheet tool like Microsoft Excel, Open Office Calc, or Google Sheets or any text Editor
- The PartBuilder TEXT_EDITOR config setting can be pointed to the users favorite text editor.
- The final SDL file must configure a location for every the pins extracted from the PIN_REPORT_FILE, but the user can choose to work on each symbol incrementally
- Each time PartBuilder processes the PIN_REPORT_FILE, the Smart-Frac feature analyzes all the pin data and creates 2 SDL template files (one plain text, and one csv) containing the minimal sorted set of MATCH_STATEMENTS that the user needs to group into symbols to describe the parts they want to build.
- 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
- 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 2.8.0) 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
- The symbol viewer will pop up and allow you to browse through the multiple symbols you have created
- Tweak any symbol spacing layouts to get the symbols you want by editing the SDL file
- re-run the BUILD_SYMBOLS operation until you are satisfied with the created symbols
- Copy the Generated Symbol files to the Release Library using the button on the Main Gui
Add Comment