Related to Handshake signals

I am having Producer with valid signal and consumer with ready signal.

my producer is generating data as fast as possible, and consumer sinking data at half rate.

without using any registers(like FIFO…) in between producer and consumer, how to avoid data loss

suggest some logic how to do.

if it is in verilog, it will help to me

Thank you,
Lakshman

In reply to Lakshman4178:
Without a FIFO or a HOLD or READY signal from the consumer, you get something like
I Love Lucy - The Chocolate Factory

Obviously, the producer needs to abide by the protocol, i.e., not producing data until consumer is ready. When you say suggest some logic how to do, it’s really up to the consumer to generate a READY or HOLD signal at it’s interface when it is ready to accept data. That information is within the logic of the consumer.
Ben Cohen
http://www.systemverilog.us/ ben@systemverilog.us
For training, consulting, services: contact http://cvcblr.com/home.html
** SVA Handbook 4th Edition, 2016 ISBN 978-1518681448

  1. SVA Package: Dynamic and range delays and repeats SVA: Package for dynamic and range delays and repeats | Verification Academy
  2. Free books: Component Design by Example FREE BOOK: Component Design by Example … A Step-by-Step Process Using VHDL with UART as Vehicle | Verification Academy
    Real Chip Design and Verification Using Verilog and VHDL($3) Amazon.com
  3. Papers: