In high-speed hardware design, memory routing is a critical task. Whether you are routing externally or internally, there are several key factors you must consider to ensure the correctness of memory access. This article will explore SDRAM routing techniques, routing rules, and routing methods for different types of RAM.

I. SDRAM Routing Techniques
Choosing Between Internal and External Routing
When routing memory traces, you need to decide whether to use internal or external routing. Internal wiring is closer to the memory chips, which can reduce interference, but it is more expensive. External wiring is more cost-effective, but you need to take into account the lower dielectric constant of the external air. In environments with high humidity and significant temperature fluctuations, internal wiring is the best choice; in other cases, external wiring can also be considered.
Timeline and Date of Establishment
SDRAM operates in a shared clock mode, with a focus on setup time. Setup time is influenced by factors such as the propagation time of each segment, gate delay, clock skew, jitter, and clock period, and requires precise calculation. Once these parameters are calculated, you can establish design rules and use EDA software to assist with the design. Select the longest trace; the length of each segment simply needs to be equal to that trace. Some software can perform these calculations automatically, while others require manual calculation on a segment-by-segment basis.
II. Wiring Rules
For many beginners, high-speed hardware design can be overwhelming. But in reality, the main task of high-speed hardware design is to combat interference, and memory routing is no exception. The primary goal of memory is to ensure the correctness of data access and to avoid decision errors and timing errors.
Handling Interference
Decision errors are typically caused by inaccurate reference levels or additive noise. Timing errors, on the other hand, result from failure to meet setup/hold times or phase errors at the sampling point. To address these two issues, attention must be paid to voltage drops across signal line resistance, noise, and impedance matching.
The Key to Data Access
As long as you resolve these two issues—logic errors and timing errors—your memory circuit design will be considered a success. High-speed systems typically use low-voltage signals, and the power of these signals is significantly affected by the internal resistance of the signal lines. Therefore, you should minimize internal resistance as much as possible—for example, by using electrical planes, increasing the number of vias, and shortening the length of the signal lines.
Retention Time and Establishment Time
To evaluate the quality of a design, it is necessary to consider margin (redundancy) as well as the margins for setup and hold times. The size of the margin helps ensure system stability in harsh environments. Frequency drift, clock jitter, phase differences, and variations in the dielectric constant can all lead to sampling errors or failure to meet setup and hold times, and a larger margin helps resist these disturbances.
3. Wiring Types and RAM
Clock Synchronization Circuit
In a clock-synchronous circuit, the clock signal is transmitted along with the data, with the clock signal transmitted slightly behind the data; the transmission rate is primarily determined by the time difference between the clock signal and the data. This wiring method is suitable for high-speed systems but requires precise matching of line lengths.
Source-synchronous circuit
In a source-synchronous circuit, the clock selection signal (clk) is transmitted along with the data by the driver chip. This method is suitable for SDRAM, which requires a setup time; it focuses solely on the setup time and does not consider the hold time. This routing method must meet the setup time requirements, and the line length must not exceed the specified value.
4. Key Factors in Wiring
Voltage Signals and Internal Resistance
In high-speed systems, signal lines typically carry low-voltage signals; the lower voltage makes it easier to increase transmission speed and reduce power consumption. However, this also places greater demands on the line’s internal resistance, since the power of a low-voltage signal is proportional to the square of the voltage. Therefore, it is necessary to minimize internal resistance as much as possible, for example, by using appropriate electrical planes.
Power Supply
To ensure that the memory operates reliably, you need to pay attention to the power supply. If the power supply is insufficient, the memory may not function properly; therefore, you need to ensure the quality and stability of the power supply.
Signal Line Crossings
Sometimes, signal lines may cross; in such cases, the routing can be adjusted on the PCB.
, then reverse the labeling. This method can handle cross-connections because the RAM data lines do not need to correspond one-to-one; as long as there are enough storage bits, it works. However, it is important to note that certain signal lines, such as the refresh line A10, cannot be adjusted, nor can they be adjusted arbitrarily when reading the RAM ID.
5. Key Factors in Wiring
Voltage Signals and Internal Resistance
In high-speed systems, using low-voltage signals helps increase speed and reduce power consumption. However, low-voltage signals place higher demands on the internal resistance of signal lines, as this resistance affects voltage stability. To address this issue, several methods can be employed, such as using signal planes, increasing the number of vias, and shortening signal line lengths.
Power Supply
Ensuring an adequate and stable power supply is crucial for the stable operation of memory. If the power supply is insufficient, the memory may experience instability. Therefore, special attention must be paid to the quality and stability of the power supply to ensure that the memory receives sufficient power.
Signal Line Crossings
Sometimes, different signal lines may cross each other, which can cause signal interference. In such cases, you can adjust the trace layout in the PCB design and then reverse-mark it to resolve the issue of signal line crossings. This method ensures that interference between signal lines is minimized.
6. Evaluating the Quality of a Design
To evaluate the quality of a design, it is important to consider the significance of margin. The size of the margin helps the system remain stable under various adverse conditions. Frequency drift, clock jitter, phase differences, and variations in the dielectric constant can all lead to sampling errors or failure to meet setup and hold times, and a larger margin helps the system withstand these disturbances.
Terminology Standards for Memory Routing and Data Management
Classifying and standardizing terms related to memory routing and data management by concept is more conducive to review alignment than continuing to use customary terms; refer to the specifications for guidance.EMI Design Specifications and Control Principles。
The same term often carries different default assumptions across the design, procurement, production, and inspection phases; without prior alignment, it is easy for all parties to arrive at conclusions that are correct in their own right but mutually contradictory. It is recommended to establish a terminology cross-reference table that specifies the scope of application, the version of the reference document, and the responsible party for verification; obsolete terms should be archived separately. This page does not provide any line widths, spacing values, timing parameters, or software settings; all descriptions already present in the original text remain unchanged.

- Classify by concept and assign uniform names.
- The default assumptions differ across the various stages.
- The cross-reference table specifies the basis and functions.
- Invalid names are kept on file separately.
- Comparisons are only valid when the criteria are consistent.
- This article does not provide operating conditions.
Document and Version Control
Requirements for tasks or test documents with the same name may vary across different versions; executing them based on name rather than version will result in a loss of comparability. For standard compilation, please refer toCommon IPC Standards for Printed Circuit Boards。
It is recommended that document numbers, version numbers, effective dates, and approver information be retained in the records, and that redistribution permissions be restricted; only the currently valid version should be kept on-site, while obsolete versions should be stored separately. Applicable standards, customer specifications, and internal operating documents belong to different levels of hierarchy; the order of precedence in the event of a conflict should be specified in advance in the contract or technical agreement. This page does not provide any line widths, spacing values, timing parameters, or software settings; the descriptions already present in the original text remain unchanged.

- Versions with the same name may differ.
- No., Version, Date, Approver—all recorded.
- Only the currently valid version will remain on-site.
- Standard customer component hierarchy.
- Priorities are agreed upon in advance.
- The conclusion does not change depending on who cites it.
Supplier Data Sheet and Responsibility Interface
Performance and safety information related to memory routing and data management should be derived from controlled documentation provided by the supplier, rather than from anecdotal experience or visual impressions. For regulatory guidance, please refer toWhat is RoHS?。
It is recommended to document the name, version, effective date, responsible department, and approver of the documentation, and to cross-reference it with the procurement specifications and acceptance criteria; when the documentation is updated or the supplier changes, the authorized department shall assess the scope of impact and initiate a re-evaluation. This page does not provide any line widths, spacing values, timing parameters, or software settings; the descriptions already present in the original text remain unchanged.

- The information is derived from controlled sources.
- Name, Version, Date, Approver—all recorded.
- Cross-reference with the procurement specifications and acceptance criteria.
- Updates to the data trigger a re-evaluation.
- The data tables and regulations shall prevail.
- This article does not specify any terms of use.
Safety, Environmental Protection, and Applicable Regulations
On-site responsibilities related to storage routing and data management should be verified independently in accordance with applicable laws and local regulatory requirements; external experience cannot be applied directly. For guidance on interpreting standards, please refer toA Comprehensive Overview of Common Printed Circuit Board Standards。
It is recommended to establish a list of applicable regulations that documents the regulation name, version, effective date, responsible functions, and review milestones, and to cross-reference compliance conclusions with procurement and delivery documents. Matters such as occupational protection, waste disposal, and information disclosure shall be governed by on-site controlled documents, supplier data sheets, and local regulations, and shall be reviewed by appropriately qualified personnel before being filed. This page does not provide any line widths, spacing values, timing parameters, or software settings; the descriptions already present in the original text remain unchanged.

- The list of regulations is maintained separately.
- Specify the version date and responsibilities.
- Compliance conclusions and procurement are interrelated.
- Refer to the on-site documentation for safety precautions.
- Verify and file the records of qualified personnel.
- This article does not provide operating conditions.
Staff Authorization and Position Qualifications
Personnel who access controlled data, make decisions regarding memory routing and data management, or sign off on records must have explicit authorization; for reliability specifications, please refer toPCB Reliability Design: DfR Principles and Applications。
It is recommended to maintain an authorization list that records job titles, scope of authorization, effective dates, approving authorities, and review points, with revoked authorizations clearly marked. Revoke permissions promptly when personnel are reassigned or projects are completed. Matters involving safety and regulatory interpretation should be handled by personnel with the appropriate authority; this document does not provide any methods for qualification determination, training content, or decision thresholds. This page does not provide any line widths, spacing values, timing parameters, or software settings; the descriptions already present in the original text remain unchanged.

- The list of authorized personnel is maintained by position.
- Scope, dates, and approval authority are recorded together.
- Revoke access privileges promptly once the job reassignment is complete.
- Separate label for revoked authorizations.
- Security explanations are provided by the authorized department.
- This article does not provide a threshold for determination.
Record Fields and the Chain of Custody
The value of records related to memory routing and data management lies in their traceability; fields should be included in management information, and reference materials can be consulted for further details.A Guide to PCB Materials。
It is recommended to record the time of discovery, the stage at which it was discovered, the sample identification, the version of the reference document, the positions responsible for execution and review, the conclusion category, the anomaly report number, and the disposition status, and to link these to the batch, work order, and report numbers; the disposition conclusion must be confirmed in writing by an authorized official, and the recipient’s acknowledgment must be filed. This page does not provide any line width, spacing values, timing parameters, or software settings; the descriptions already present in the original text remain unchanged.

- The field is located in the traceability information.
- The date of discovery is recorded alongside the specimen.
- Retain based on version and position.
- Disposition is confirmed by the authorized function.
- The acknowledgment and the re-evaluation conclusion cross-reference each other.
- This article does not provide instructions on how to proceed.
Review Records and Conclusions Are Traceable
The value of reviews related to memory routing and data management lies in documenting traceable conclusions, rather than merely reaching verbal agreements on the spot.
It is recommended that review records include the topic, participating functions, the version of the reference document, conclusions, outstanding items, and closure status, and that they cross-reference the glossary and record ledger. For items on which consensus has not been reached, the responsible person and the date for re-evaluation should be specified to prevent the issue from recurring in a different form in the next delivery cycle; Relevant records shall be archived by project and version, with invalidated conclusions clearly marked. This page does not provide any line widths, spacing values, timing parameters, or software settings; the descriptions already present in the original text remain unchanged.

- The review results in traceable conclusions.
- The basis for the agenda items is the same.
- The conclusions and outstanding issues are listed side by side.
- Write the responsibilities and tasks for pending items.
- Several lists reference each other.
- Invalid conclusions should be marked separately.
Outsourcing Agreement with Suppliers
Clearly define the boundaries of responsibility between external partners, suppliers, and internal functions regarding memory routing and data management to avoid any gaps where no one is responsible for verification. Management guidelines can be found inManagement Guidelines for 5G PCBs。
It is recommended that the agreement specify the scope of delivery, compliance documentation accompanying the goods, procedures for reporting deviations, prohibited actions, and principles for handling breaches of contract, and require the other party to provide written notice of any changes to document versions. Any delivery beyond the agreed scope may only be accepted after written confirmation by the authorized function; documents of unknown origin shall not be included in the controlled document system nor used as the basis for acceptance. This page does not provide any line widths, spacing values, timing parameters, or software settings; the descriptions already present in the original text remain unchanged.

- The scope of responsibility is specified in the agreement.
- The scope of delivery and compliance documentation are clearly defined.
- Any deviation from the standard notification method must be agreed upon.
- Any changes to the information must be notified in writing.
- Deliveries made beyond one's authority require authorization and confirmation.
- Items of unknown origin are not accepted for control.
Exceptions and Exemptions from Approval
When on-site conditions are limited, there are always exceptions to established rules regarding memory routing and data management; the key is to turn those exceptions into verifiable, written conclusions.
It is recommended to establish an exemption record that covers the reason for the request, scope of application, scope of impact, basis for substitution, approval authority, and re-evaluation milestones, and that cross-references with the review record. An exemption does not constitute permanent approval; when subsequent versions of documentation, suppliers, or supporting documents change, a reassessment should be conducted to determine whether the historical conclusion remains applicable. This page does not provide any line width, spacing values, timing parameters, or software settings; the descriptions already present in the original text remain unchanged.

- Exceptions due to time constraints are inevitable.
- Exceptions must be documented in writing.
- Record the reason, scope, and basis.
- The approval functions and re-evaluation milestones are specified.
- Cross-references to the review records.
- Do not provide a value for the alternative condition.
Changes to Trigger Conditions and the Scope of Re-evaluation
Any change to the data version, supplier, applicable regulations, or supporting documentation should trigger a targeted re-evaluation of conclusions related to memory routing and data governance.
The value of a re-evaluation lies in confirming whether historical conclusions remain valid, rather than redoing the entire record from scratch. It is recommended to document changes, their scope of impact, re-evaluation conclusions, and conditions for restoration, and to cross-reference these with the original evaluation records and nonconformance reports. For cross-departmental projects, the authorized department should uniformly determine the scope of the re-evaluation to avoid having two sets of criteria coexisting for the same project. This page does not provide any line widths, spacing values, timing parameters, or software settings; the descriptions already present in the original text remain unchanged.

- Any change will trigger a reassessment.
- Determine whether historical conclusions are applicable.
- The scope of impact and conclusions remain the same.
- Clearly state the conditions for restoration.
- Cross-references with the exception record.
- Avoid having two sets of criteria operating in parallel.
Comparison of Governance Dimensions
Placing records management alongside memory wiring in terms of focus areas, sources of information, and record media helps quickly identify gaps in policies or records that need to be addressed during an audit. The table below is intended solely for qualitative classification and does not replace the conclusions of an audit or approval process.
This table does not provide any formulations, temperatures, times, pressures, quantities, or acceptance criteria. Actual conclusions must be jointly confirmed based on the supplier’s data sheets, on-site operating procedures, applicable standards, contracts, and local regulations, and must be reviewed by personnel with the appropriate qualifications before being filed. The purpose of this table is to ensure that no management items are overlooked; it is not intended to replace any round of actual review or validation. This page does not provide any line widths, spacing values, timing parameters, or software settings; the descriptions already present in the original text remain unchanged.
| Subject of Focus | Source | Recording Medium |
|---|---|---|
| Terminology and Versions | Standards and Documents | Cross-Reference Table and Version Log |
| Resources and Regulations | Data Tables and Lists | Source Ledger and List of Regulations |
| Authorization and Record-Keeping | Positions and Reporting | List of Authorizations and Record-Keeping Ledger |
| Review and Changes | Review and Approval | Review Records and Re-evaluation Conclusions |

- The form is used for the initial screening review.
- It is merely a qualitative classification.
- This is not a substitute for actual verification.
- No values are provided.
- The documents and regulations shall prevail.
- The review findings must be filed.
Client Review and Delivery Checklist
It is recommended to verify, item by item, the definitions, reference versions, supplier documentation, lists of regulations, personnel authorizations, record-keeping ledgers, review records, outsourced responsibilities, exemption approvals, and re-evaluation conclusions related to storage facility wiring and data management. For welding standards, please refer toPCBA Soldering Standards。
The checklist should retain the verification conclusions and descriptions of discrepancies for each round as a basis for revising the procedures. This approach advances management from “filling in records only when asked” to a system characterized by “clear guidelines, defined responsibilities, and traceable processes,” and also enables the rapid identification of specific steps during client audits or internal traceability reviews. For cross-departmental projects, it is recommended that a single checklist be used as a delivery baseline shared by all three parties, with the effective version clearly indicated. This page does not provide any line widths, spacing values, timing parameters, or software settings; all descriptions from the original text remain unchanged.

- Go over the specifications and documentation item by item.
- Ensure that all statutory authorizations and records are thoroughly reviewed.
- Review the exemption from outsourcing in conjunction with the verification.
- The conclusions of the re-evaluation must be consistent.
- Description of the discrepancy write-back system.
- The three parties share a single baseline.
Frequently Asked Questions on Compliance Management for Storage Routing and Data Governance
1. Why is it important to standardize the terminology first?
Because the same term often carries different underlying assumptions in the design, procurement, production, and inspection phases, failure to align these assumptions in advance can easily lead to conclusions that are correct from each party’s perspective but mutually contradictory. It is recommended to establish a glossary of terms, specifying the scope of application, the version of the reference document, and the responsible party for verification, while retaining obsolete terms in a separate archive. This page does not provide any line widths, spacing values, timing parameters, or software settings; the descriptions already present in the original text remain unchanged.
2. Why should data and information be based on controlled versions?
Since requirements for documents with the same name may vary across different versions, referencing them by name alone may compromise comparability. It is recommended to record the document number, version number, effective date, and approver, and to archive superseded versions separately; the order of precedence for applicable standards, customer specifications, and internal documents should be specified in advance in the contract.
3. How should safety and environmental protection obligations be incorporated into documents?
It is recommended to establish a list of applicable regulations, documenting the names, versions, effective dates, responsible functions, and review milestones, and to cross-reference compliance conclusions with procurement and delivery documents; occupational safety and waste disposal shall be governed by on-site controlled documents, supplier data sheets, and local regulations. This page does not provide any trace widths, spacing values, timing parameters, or software settings; the descriptions already present in the original text remain unchanged.
4. What information should the list of authorized personnel include?
It is recommended to specify the positions covered, the scope of authorization, the effective date, the approval functions, and the review points, and to clearly identify revoked authorizations. Revoke permissions promptly when personnel are reassigned or a project ends. Matters involving security and regulatory interpretation should be handled by personnel with the appropriate authority; this page does not provide any methods for qualification determination or decision-making thresholds.
5. What fields should the ledger include?
This should include the time of discovery, the stage at which it was discovered, the sample identification, the version of the reference document, the positions responsible for execution and review, the conclusion category, the nonconformance report number, and the resolution status, and should be linked to the batch, work order, and report numbers. The fields should focus on traceability information rather than recording any reusable conditions. This page does not provide any line widths, spacing values, timing parameters, or software settings; the descriptions already present in the original text remain unchanged.
6. Under what circumstances should a re-evaluation be initiated?
Any change to the version of the documentation, the supplier, the applicable regulations, or the supporting documents should trigger a targeted re-evaluation to confirm whether the previous conclusions remain valid. It is recommended to document the changes, their scope of impact, the re-evaluation conclusions, and the conditions for reinstatement to avoid having two sets of supporting documentation coexisting for the same project.
7. Why should the scope of responsibility for outsourced work be included in the agreement?
Since verbal agreements cannot be traced back after a version update or personnel changes, it is recommended to clearly specify the scope of delivery, the compliance documentation accompanying the shipment, the procedures for reporting deviations, and prohibited actions, and to require the other party to provide written notification of any changes to document versions. Documents of unknown origin should not be included in the controlled document system.
8. What should be included in the delivery checklist prior to client review?
Recommendations should include terminology definitions, applicable versions, supplier information, a list of regulations, personnel authorizations, record-keeping logs, review records, outsourcing responsibilities, exemptions from approval, and re-evaluation conclusions. For each round, retain the verification conclusions and descriptions of discrepancies, and update the management system accordingly. This page does not provide any line width, spacing values, timing parameters, or software settings; the descriptions already present in the original text remain unchanged.
Conclusion
High-speed memory routing is one of the key tasks in high-speed hardware design. Through precise timing calculations, appropriate routing rules, and attention to critical factors, the correctness and stability of memory access can be ensured. Whether choosing internal or external routing, the pros and cons must be weighed based on the specific circumstances. Ultimately, through continuous optimization of the routing, a high-performance memory design can be achieved.
Frequently Asked Questions
- Q: What are setup time and hold time?
- The stabilization time refers to the duration during which the data must remain stable before the trigger to ensure correct sampling. The hold time refers to the duration during which the data must be maintained after the trigger to ensure that no incorrect sampling occurs.
- Q: What is margin?
- Margin refers to the allowance left in a design to account for adverse factors such as frequency drift, clock jitter, and variations in dielectric constant. A larger margin can improve system stability.
- Q: How should signal line crossovers be handled?
- You can adjust the signal trace layout in the PCB design and then reverse-mark it to ensure that signal trace crossings are minimized, thereby reducing signal interference.
- Q: How can we ensure a stable power supply?
- Ensure that a high-quality power supply is used and that appropriate power filtering measures are taken to ensure a stable power supply.
- Q: When should you choose internal wiring over external wiring?
- When choosing between internal and external wiring, it is important to consider environmental conditions and cost factors. In environments with high humidity and significant temperature fluctuations, internal wiring may be more suitable. In other cases, external wiring may be considered to reduce costs.
We hope this article will help you better understand the key techniques and rules for high-speed memory routing, enabling you to achieve better performance and stability in your designs.
Additional Information:PCB Routing Rules for Single-Ended and Differential Signals