Counter and Alter FIFO using VHDL/Verilog

OP #5555862
Rate this post
• ▲ useful
▼ not useful
Hi,

   I have written simple verilog code for counter. But i dont need that.

I need to control FIFO from counter block.

Please find the attachment of counter and FIFO design.

I need to control the FIFO__in_write signal only.

I want to change the design to check whether the fifo is full or not and 
only write the value (and increment the counter) when the fifo is not 
full.

 I need help in Verilog coding part.
Attached files:
Guest #5556107
Rate this post
• ▲ useful
▼ not useful
Can't help you with Verilog. But I think, you just want to compare the 
value of counter with your FIFO size. Doing this in Verilog should not 
be a problem for you. If it is - post your code that did not work. I am 
pretty sure someone out there will find your mistake.
(Company: Maven Silicon) #5556310
Rate this post
• ▲ useful
▼ not useful
You can also refer to the video https://youtu.be/uUZceAfnVNk for a great 
understanding of #verilog. This tutorial covers registers, unwanted 
latches & operator synthesis and helps you master these fundamental 
concepts.Check out the series of free tutorials by Mr. P R 
Sivakumar(CEO, Maven Silicon) on basic and advanced concepts of Front 
End VLSI. His amazing explanations and easy to understand content make 
these videos a great tool for you to update and upgrade your VLSI 
skills.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.