Author Topic: Simultaneous read/write with Quartus-|| single clock FIFOs  (Read 726 times)

0 Members and 1 Guest are viewing this topic.

Offline AussieBruceTopic starter

  • Regular Contributor
  • *
  • Posts: 61
  • Country: au
Simultaneous read/write with Quartus-|| single clock FIFOs
« on: April 06, 2023, 06:13:14 am »
I’m starting to use single clock FIFOs implemented under Quartus-II, implemented as megafunctions. I’ve read through the documentation, and can’t see any specific reference to the query I have, that is: Can writes and reads occur completely asynchronously, or must there be some user input to keep them separate in time?

My understanding of FIFOs is that their specific purpose is to allow, for example, reads and writes on the same clock cycle, but I want to be certain. That situation is going to occur from time to time with my application.
 

Offline jahonen

  • Super Contributor
  • ***
  • Posts: 1055
  • Country: fi
Re: Simultaneous read/write with Quartus-|| single clock FIFOs
« Reply #1 on: April 06, 2023, 09:19:22 am »
Yes, it is ok to simultaneously read and write with a single clock FIFO. I think that is quite usual use case.

Regards,
Janne
 

Offline AndyC_772

  • Super Contributor
  • ***
  • Posts: 4278
  • Country: gb
  • Professional design engineer
    • Cawte Engineering | Reliable Electronics
Re: Simultaneous read/write with Quartus-|| single clock FIFOs
« Reply #2 on: April 06, 2023, 09:49:56 am »
You certainly can both read and write on the same clock edge, no issue with that at all.

Do note that most, if not all, Intel / Altera FPGAs are unavailable to purchase through distribution right now, and have been for some time. Personally I'd be designing these parts out and migrating to a new vendor, unless this is a one-off hobby project, or you have some special arrangement with Intel to obtain a supply of parts.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf