DDR4 layer assignment

Hello - Looking for some guidance on layer assignment for data lines on a DDR4 chip set. I’ve been all over the internet and found too much info. Can anyone provide something concise. I’ve also rerouted this a couple times and falling a bit behind. I have screenshots of the chips I’m using if that would help.

Thanks, Bruce

1 Like

Hi Bruce, could you share the screenshots for our team to look at them?

The issue with trying to provide a specific response is that stackup is highly dependent on IC packaging, technologies being used (like HDI or not), and what else you need to connect to the MCU besides the DDR related nets.

I personally have only done one DDR4 layout. Due to my particular restrictions, I could not route signals on the surface and I needed 3 internal signal layers to route everything out (plus additional PWR support). I included GND layers between each signal layers and also included a dedicated multi voltage split PWR layer. I can see depending on the situation, a user might need more that one dedicated PWR layer.

In many cases, the MCU vendor has a eval board or hardware design guide that can be used to help guide you. You might need to ask for this information as it is considered restricted IP and they do not always have it openly accessable for download.

As a side note, the Sierra stackup calculator can also help you try and determine a proposed stackup. Select “I have a complex BGA” option.

1 Like

Hello Lucy, yes, I can post screenshots. I’ve had to do some re-routing, so it will be a few days before I have things cleaned up. Stay tuned… Thanks.

1 Like

Tim, are you the same Tim from Altium? I have figured out a path forward. Getting everything routed and length matched is the next challenge. I should be posting screenshots here soon if you want to check those out. Thanks.

1 Like

I use Altium and I post on the Altium forum, but I am not Altium staff.

1 Like

Thanks for mention our Stackup Designer! It’s a great tool and we improved it recently, adding more options for different requirements: https://www.protoexpress.com/tools/pcb-stackup-designer/

Hello Lucy - I have this finished and was going to upload some screenshots, but it says I can’t upload more than one. I have 8. Any suggestions, or just do one at a time?

Thanks, Bruce

I changed the settings. You should be good to upload now.

I’m still getting the same message, “An error occurred: Sorry, new users can only put one embedded media item in a post.”

Hmm sorry about that. While I’m working on fixing this, I edited your profile to a level 1 user. So you should be good now… I hope. Fingers crossed!

Thanks Lucy! Attached are screen shots of the DDR layers. There are 4 pairs of RAM’s routed from a large FPGA. Address lines are layers 3, 5, 7, 9 for the 4 pairs. Data lines are divided into groups of 8 and routed on layers 16, 18, 20 and 22. GND planes in between all. Length matched for appropriate group. The biggest issue I think I have is trace to trace spacing which is tighter than recommended. Not sure if this is a showstopper or not. Any input would be greatly appreciated.

1 Like

Yup, works now. Thanks Lucy!

1 Like

Ah great! Thanks for your patience. :slight_smile:

Well, what was the recommended spacing vs. what you routed with? Did your manufacturer confirm the your needed impedance compared to their capabilities? That is key!

Also, have you ever routed to timing constraints instead of just length matching? Where the built in analysis looks at your physical configuration? If you have the right tools you could get better dialed in.

1 Like

Yes, we have a stack-up from our board supplier with required impedance models. Everything is routed to that spec. The spacing I refer to that might cause me some issue is a rule of thumb from the internet saying that trace to trace should be 3x trace width. I don’t have that much room, and maybe that’s all it is a rule of thumb.

Yup. Rules of thumb are directly dependent on the size of your thumb. It’s sort of like saying… it depends. But o’ luck with your design.

1 Like

It’s hard to tell from screenshot but whenever you do fine tuning of single ended signals your same net trace-to-trace clearance plays a good role in determining according or trombone radius. I hope you have taken care of that.

1 Like

Yes, I used (hopefully) proper trombone clearances. Thanks.