In the process of circuit board copy board conversion and PCB design, due to the different data or file formats between different software platforms, it is often necessary to use other tools to convert the platform or file format. In this article, we will introduce you from Protel to Allegro Conversion skills.
1. Protel schematic to Capture CIS
We can use the new functions of Protel DXP SP2 to realize the conversion of Protel schematics. Through this function, we can directly convert Protel schematics into Capture CIS.
Here, we only put forward a few precautions that have been summarized through practice.
1) When Protel DXP outputs the Capture DSN file, it does not output the package information. In Capture, we will see that the PCB Footprint attributes of all components are empty. This requires us to manually add packaging information to the components, which is also the most time-consuming work in the entire conversion process. When adding package information, pay attention to maintaining package consistency with Protel PCB design, and Cadence's restrictions on package naming. For example, a resistor whose package in Protel is AXIAL0.4 will be modified to AXIAL04 in the conversion of the package library described later. This is because Cadence does not allow "." in the package name; another example is the DB9 connector. Packaged in Protel as DB9RA/F, it will be changed to DB9RAF. Therefore, when we add package information to components in Capture, we must take these naming changes into consideration.
2) The hidden pins or pin numbers of some devices will be lost during the conversion process and need to be added in Capture using the library editing method. Generally, the devices that are easy to lose pin numbers are discrete devices such as resistors and capacitors.
3) In the PCB hierarchical design, the bus connected between the modules needs to be named in Capture. Even if such a bus has been named in the parent design in Protel, it must be re-created in Capture to ensure the connection.
4) For a device with multiple parts in a package, pay attention to modifying its bit number. For example, a 74ls00, use two of the doors in Protel, the location numbers are U8A, U8B. Such information will be lost in the conversion and needs to be added again.
Basically pay attention to the above points, with the help of Protel DXP, we can convert Protel schematics into Capture. Further promotion, this also provides a way for the existing Protel schematic symbol library to be converted to Capture.
Second, the conversion of Protel package library
Using Protel for PCB design for a long time, we will always accumulate a huge Protel package library that has been tested in practice. When the design platform is changed, how to retain this package library is always a headache. Here, we will use Orcad Layout, and the free Cadence tool Layout2Allegro to complete this work.
1) Place the a PCB packge in an empty PCB in Protel, and output the PCB file in Protel PCB 2.8 ASCII format;
2) Use Orcad Layout to import this Protel PCB 2.8 ASCII file;
3) Use Layout2Allegro to convert the generated Layout MAX files into Allegro BRD files;
4) Next, we use Allegro's Export function to output the package library and pad library, and the conversion of the Protel package library to Allegro is completed.
Third, the conversion of Protel PCB to Allegro
With the foundation of the previous two steps, we can carry out the conversion from Protel PCB to Allegro. This conversion process is more precisely a design reproduction process. We will reproduce the Protel PCB layout and routing in Allegro.
1) Pass the Allegro format netlist generated by the second step Capture to the Allegro BRD as the starting point for our reproduction work;
2) First, we have to reproduce the device layout. Output Place & Pick file in Protel, this file contains complete device position, rotation angle and placement layer information. We can convert it into Allegro's Placement file by simple manual modification. Import this Placement file in Allegro, and we can get the layout.
3) To restore the wiring information, Specctra should be used as a bridge. First, export the Specctra DSN file containing wiring information from Protel. For this DSN file, we should pay attention to the following 2 points:
4) The layer naming in Protel is different from that in Allegro. Please pay attention to using a text editor to make appropriate changes. For example, the top and bottom layers in Protel are Toplayer and Bottomlayer, while in Allegro these two layers were once called TOP and BOTTOM;
5) Pay attention to check the definition of the via in Specctra and add it to Allegro's rules. Define vias in Allegro to output wiring information from Specctra. You can use sessiON, wires, and route files. It is recommended to use route files, and then import the wiring information into our and reproduce the layout of the Allegro PCB, and we are done from Protel Conversion of PCB to Allegro BRD.
Protel to Allegro conversion method
With the rapid development of today's IT industry, the requirements for hardware equipment are getting higher and higher. Hardware PCB designers are facing the problem of how to design high-speed and high-density PCBs. As the saying goes, if workers want to do their jobs well, they must first sharpen their tools. This is also the reason why more and more PCB designers abandon low-end PCB design tools and choose high-performance PCB EDA software provided by companies such as Cadence.
But this kind of change will inevitably bring about problems of one kind or another. Due to early contact and use, there are a large number of Protel users in China. When they choose Cadence high-speed PCB solutions, they all face the problem of how to transplant their Protel designs into Cadence PCB design software.
The problems encountered in this process can be roughly divided into two types: the first is that the design is not very complicated, and the PCB designer only wants to use the powerful automatic routing function of Cadence CCT to complete the wiring work; the second is that the design is complex, and the PCB designer needs to rely on trust Noise analysis tools are used to simulate the signal and noise of the design and set the wiring topology of the wire network.
For the first case, the conversion work to be done is relatively simple. You can use the Protel to CCT conversion tool provided by Protel or Cadence to complete this work. For the second case, the work to be done is relatively complicated, and the method of this transformation will be briefly introduced below.
The analysis object of the Cadence signal-to-noise analysis tool is the brd file of Cadence Allegro, and Allegro can read third-party netlists that meet its requirements. The Telexis format netlists output by Protel meet Allegro's requirements for third-party netlists, so that you can Inject Protel files into Allegro.
Here are two points for the reader's attention. First, Allegro third-party netlists do not allow "." in the $PACKAGE section; second, in Protel, we use the form of BasName[0:N] to represent the bus, and BasName[x] to represent a signal in the bus. The representation of a signal in the bus in the Allegro third-party netlist is Bas NameX. Readers can solve these problems by directly modifying the Telexis netlist output by Protel.
Allegro also needs the device description file Device.txt file of each type of device when injecting the third-party netlist. Its format is as follows:
Package: package type
Class: classtype
Pincount: total pinnumber
Pinused: ...
The commonly used items are PACKAGE, CLASS, PINCOUNT. PACKAGE describes the package of the device, but Allegro will use the PACKAGE item in the netlist and ignore this item in the device description file when injecting the netlist. CLASS determines the type of the device for signal-to-noise analysis. Cadence divides the device into three categories: IC, IO, and DISCRETE. PINCOUNT indicates the number of pins of the device. For most devices, it is sufficient to include these three items in the Device.txt file.
With third-party netlists and device description files, we can substitute the schematic design in Protel into the Cadence PCB design software in the form of a netlist. Next, PCB designers can use Cadence PCB software to develop high-speed and high-density PCBs. The powerful function of design completes your own design.
If you have already done PCB layout work in Protel, Allegro's script function can reproduce the layout in Protcl in Allegro. In Protel, PCB designers can output a Place & Pick file, which contains the position, rotation angle and information of each device on the top or bottom of the PCB. You can easily generate an Allegro script from this file. File, execute this script in Allegro to reproduce the layout in Protel. The C++ code to complete the conversion of Place & Pick file to Allegro Script file is given below. The author uses this code and only takes a few minutes to convert one The PCB layout of users with more than 800 devices is reproduced in Allegro.