PCB or PCBA: two orders, two data packages
The PCB (printed circuit board) is the bare board: the substrate, copper traces, solder mask, silkscreen and holes. The PCBA (printed circuit board assembly) is the assembled board, that is, the PCB with its components placed and soldered.
This distinction determines which files you need to supply. For a bare board, the manufacturer needs the geometry: copper layers, masks, outline, drill data and stack-up characteristics. For an assembled board, the assembler also needs to know which components to place, where, in which orientation, and which ones to leave unpopulated. A complete PCB package is therefore not enough to have a board assembled.
| File | Purpose | Required for |
|---|---|---|
| Gerber (copper, masks, silkscreen, outline) | Describe the image of each layer | PCB and PCBA |
| Drill (Excellon) | Hole positions and diameters | PCB and PCBA |
| Solder paste layer | Produce the solder paste stencil | PCBA (SMD components) |
| BOM (bill of materials) | List of components to source and place | PCBA |
| CPL (pick-and-place) | Position and orientation of each component | PCBA |
| Assembly drawing | Visual references, polarities, special instructions | PCBA |
Gerber RS-274X, Gerber X2 and Excellon drill files
The Gerber format describes each layer as a vector image. The RS-274X variant, known as extended Gerber, embeds the aperture definitions in the file itself; the older RS-274D, which required a separate aperture file, is obsolete and a source of errors. Gerber X2 adds attributes: the function of each file (top copper, bottom mask, outline…), polarity and layer order. These attributes reduce the risk of a misidentified layer. There are also “intelligent” formats such as ODB++ or IPC-2581, which bundle all the data into a single set; many manufacturers accept them, but Gerber remains the most universal format.
A complete Gerber set usually includes one layer per copper level, the top and bottom solder mask layers, the silkscreens, the solder paste layers if the board is to be assembled, and an unambiguous board outline (including internal cut-outs).
Holes are described in a drill file, most often in Excellon format. It specifies the tools (diameters) and the coordinates of every hole. Plated and non-plated holes are generally supplied in separate files or clearly distinguished. Watch out: the header must state the units and coordinate format, otherwise the drill data may be scaled incorrectly or offset from the Gerber layers.
Finally, the package must specify the characteristics the files do not always carry: board thickness, layer count and stack-up, copper weight, surface finish (for example HASL or ENIG), solder mask color and any controlled-impedance requirements.
The BOM: a bill of materials that purchasing can actually use
The BOM (bill of materials) lists every component on the board. A usable BOM does not stop at a description such as “10 kΩ resistor”: it lets you buy exactly the right part without any interpretation.
The reference designator (R12, U3…) is the link between the BOM, the CPL and the board layout: it must be identical in all three. A value or package that differs between the BOM and the routed footprint is a classic cause of an unusable board.
- Reference designators, grouped by line of identical components.
- Quantity per board.
- Manufacturer and manufacturer part number (MPN), rather than a distributor part number alone.
- Technical description: value, tolerance, voltage rating, package.
- Approved alternates, if any, to cope with stock shortages.
- DNP (do not populate) marking for components that are on the layout but must not be fitted.
- Customer-supplied components, where applicable, clearly flagged.
CPL, pick-and-place, centroid and assembly drawing
The CPL (component placement list), also called the pick-and-place or centroid file, gives for each component its designator, X and Y coordinates, rotation and board side (top or bottom). It is used to program the placement machine.
Two pitfalls come up often. The first is the origin: coordinates must refer to a known origin that is consistent with the Gerber files. The second is rotation: the “zero degree” orientation convention of a footprint varies between CAD libraries and the assembler’s own libraries. A rotation that is off by 90 or 180 degrees on an IC or a polarized component is invisible in a spreadsheet but obvious on the board. This is why assemblers visually check placements before production.
The assembly drawing complements the CPL: a view of each side with designators, pin 1 indication for ICs, orientation of diodes and polarized capacitors, DNP components, and special instructions (through-hole parts to be hand-soldered, adhesive, conformal coating, connectors to be fitted last). It serves as the reference for operators and for visual inspection.
Common mistakes and the role of the DFM review
A DFM (design for manufacturing) review, supplemented for assembly by a DFA (design for assembly) review, checks the package against the actual capabilities of the board manufacturer and the assembler before the order is placed. It does not replace functional verification of the schematic, but it prevents you from building boards that cannot be produced correctly.
These are the mistakes a careful review catches most often:
- Board outline missing, open, or drawn on several layers in a contradictory way.
- Drill file in different units or format from the Gerbers, resulting in offset holes.
- Annular rings too thin around holes, or traces and clearances below the manufacturer’s minimums.
- Copper too close to the board edge or to routing/cut-out areas.
- Silkscreen overlapping solder pads.
- Solder mask or paste openings missing or wrongly sized on some footprints.
- Designators present in the BOM but missing from the CPL, or vice versa.
- Routed footprint that does not match the package of the specified manufacturer part number.
- Components that are obsolete, end-of-life or unavailable in small quantities.
- DNP components not flagged, polarities not marked, inconsistent rotations.
- Missing fiducials or handling margins where machine assembly requires them.
Preparing a clean package: good practice
Generate all files from the same project revision and include that revision number in the file names or on the silkscreen. An archive that mixes two revisions is one of the most expensive mistakes, because it often goes unnoticed.
Check the Gerber set in a viewer independent of your CAD tool, overlaying the layers and the drill data. Include a short text file describing the stack-up, finish and any special requirements. If you are starting from a schematic or an idea without files, producing this complete manufacturing package is precisely what a design engagement is for.
Frequently asked questions
Can a board be assembled from Gerber files alone?
No. Gerbers describe the bare board. Assembly requires at least a BOM with manufacturer part numbers, a CPL file and, ideally, an assembly drawing showing polarities and unpopulated components.
Is Gerber X2 mandatory?
No, RS-274X is still widely accepted. X2 is recommended when your software can produce it, because its attributes state the function of each file and reduce interpretation errors.
What does DNP mean in a BOM?
DNP (do not populate) designates a component that appears on the schematic and layout but must not be fitted on this version. It must be flagged in the BOM and on the assembly drawing, and removed or marked in the CPL.