Project options include error checking rules, connection matrix, comparison settings, ECO startup, output path and network options, and any project rules you want to specify. Protel DXP will use these settings when you edit the project.
When the project is edited, detailed design and electrical rules will be applied to verify the design. When all errors are resolved, the re-editing of the schematic design will load the activated ECO to the target file, such as a PCB file. Project comparison allows you to find the difference between the source file and the target file, and update (synchronize) between each other.
All project-related operations, such as error checking, file comparison, and ECO startup are set in the Options for Project dialog box (Project> Project Options).
All project outputs, such as netlists, simulators, file provision (printing), collection and manufacturing output and reports are set in the Outputs for Project dialog box (Project> Output Jobs). See Setting Project Output for more information.
1. Select Project? Project Options and the Options for Project dialog box appears.
All options related to the project are set through this dialog box.
Check the electrical parameters of the schematic
In Protel DXP, the schematic diagram is more than just drawing-the schematic diagram also contains the connection information about the circuit. You can use the connection checker to verify your design. When you edit the project, DXP will check for errors according to the settings in the Error Reporting and Connection Matrix tabs. If an error occurs, it will be displayed in the Messages panel.
Set up error report
The Error Reporting tab in the Options for Project dialog box is used to set the design draft check. Report Mode (Report Mode) indicates the severity of the violation of the rules. If you want to modify the Report Mode, click Report Mode next to the violation rule you want to modify, and select the strictness from the drop-down list. In this tutorial we use the default settings.
Set up the connection matrix
The connection matrix tab (Options for Project dialog box) shows the strictness of the error type, which will run the error report in the design to check the electrical connection, such as the connection between pins, components and drawing input. This matrix gives a graphical description of the different types of connection points in the schematic and whether they are allowed.
For example, find Output Pin on the right side of the matrix diagram, and find the Open Collector Pin column from this row. At its intersection is an orange square, which means that the color connecting from an Output Pin to an Open Collector Pin in the principle will initiate an error condition when the project is edited.
You can set each error type with different error levels, such as not reporting some fatal errors.
Modify the connection error:
1. Click the Connection Matrix tab of the Options for Project dialog box.
2. Click the square at the intersection of the two types of connections, such as Output Sheet Entry and Open Collector Pin.
3. Stop clicking when the square changes to the color represented by errors in the legend. For example, an orange square indicates an error and will indicate whether such a connection has been found.
Our circuit does not only contain Passive Pins (on resistors, capacitors and connectors) and Input Pins (on transistors). Let’s check to see if the connection matrix will detect unconnected passive pins.
1. Find Passive Pin in the row label and Unconnected in the column label. The square at their intersection indicates the error condition when a Passive Pin is found to be disconnected in the principle. The default is a green square, which means that no report will be given during runtime.
2. Click on the square at the intersection until it turns yellow, so that when we modify the project, a warning will be given when unconnected passive pins are found.
Set up the comparator
The Comparator tab of the Options for Project dialog box is used to set the difference between files or ignore when a project is modified. In this tutorial, we don’t need to show the difference between some features that only represent the design level of the schematic (such as rooms). Make sure you don’t ignore components when you ignore component levels.
1. Click the Comparator tab and find Changed Room Definitions, Extra Room Definitions and Extra Component Classes in the Difference Associated with components unit.
2. Select Ignore Differences from the drop-down list in the Mode column to the right of these options.
Now we are ready to edit the project and check all errors.
To edit a project is to check sketches and electrical rules errors in the design document and put you in a debugging environment. We have set the rules in the Error Checking and Connection Matrix tabs in the Options for Project dialog box.
1. To edit our Multivibrator project, select Project> Compile PCB Project.
2. When the project is edited, any errors that have been started will be displayed in the Messages panel at the bottom of the design window. The edited file will be listed in the Compiled panel along with the files of the same level, components and the listed network and a browseable connection model.
If your circuit is drawn correctly, the Messages panel should be blank. If the report gives an error, check your circuit and confirm that all wires and connections are correct.
We must now carefully add an error to our circuit and re-edit the project:
1. Click the Multivibrator.SchDoc label at the top of the design window to make the schematic as the current document.
2. Click on the middle of the wire connecting the base of C1 and Q1, a small square editing hotspot will appear at the end of the wire, and a dotted line along the wire will show the selected color to indicate that this wire is selected. Press the DELETE key to delete this wire.
3. Re-edit the project (Project> Compile PCB Project) to check that the error is found.
The Messages panel will open and give a warning signal: There is an unconnected input pin in your circuit. A floating input pin error will also run, this is because there is a special option to check floating input pins in the Error Reporting tab of the Project Options dialog box.
4. Click an error in the Messages panel, and the Compile Error window will Display the details of the violation. From this window, you can click on an error and jump to the offending object in the schematic to check or correct the error.
Before we complete this unit of the tutorial, let’s fix the errors in the schematic.
1. Click the schematic drawing tab to activate it.
2. Select Edit> Undo from the menu (hot keys E, U). The wire you previously deleted is now restored.
3. To check whether the recovery is successful, re-edit the project (Project> Compile PCB Project) to check that no errors are found. The Messages panel should show (no errors).
4. From the menu, select View> Fit All Objects (hot keys V, F) to restore the schematic view and save the error-free schematic.