Author Topic: Dual Data Rate on Artix7 FPGA - PSRAM interface  (Read 1651 times)

0 Members and 1 Guest are viewing this topic.

Offline betocoolTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: au
Dual Data Rate on Artix7 FPGA - PSRAM interface
« on: August 16, 2024, 03:59:58 am »
Hey all,

This is a bit of a generic question. I'm considering a DDR 8bit PSRAM chip for a board design with an Artix7-50 FPGA. The datasheet for the chip (https://www.digikey.com.au/en/products/detail/infineon-technologies/S80KS5122GABHI020/15965288) for reference.

From the datasheet, the read operations occur at each rising and falling edge, the write operations are center aligned (Embarrasing, I don't seem to know how to attach images at the moment...)

Basically, I'd like to know if there are any good examples on how to use both clock edges on the Artix7 series, there doesn't seem to be native support for a DDR 8-bit PSRAM from the IP blocks.

Cheers,

Alberto




 

Offline glenenglish

  • Frequent Contributor
  • **
  • Posts: 451
  • Country: au
  • RF engineer. AI6UM / VK1XX . Aviation pilot. MTBr
Re: Dual Data Rate on Artix7 FPGA - PSRAM interface
« Reply #1 on: August 16, 2024, 07:58:13 am »
Use the ODDR and IDDR  primitives.
Use the VHDL Generate keyword to make a n bit wide  bus of primitives.
for clock, you could use a 4x  (quadrature) clock, or use a DCM/PLL etc to get a 90 deg phase shifted clock for data samping.
 

Offline betocoolTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: au
Re: Dual Data Rate on Artix7 FPGA - PSRAM interface
« Reply #2 on: August 16, 2024, 08:44:05 am »
Thanks!

Just after I asked the question I found the ODDR and IDDR blocks, which will probably do what I need. I just ran a simulation and a proper example at a lower speed and it all seems to work well. I didn't know that I was looking for the ODDR / IDDR blocks.

Cheers,

Alberto
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf