FIFO in VHDL

OP (Company: university) #2687787
Rate this post
useful
not useful
Hi there guys!

I want to build a router in order to use it as a generic component to 
build a mesh interconnections networks of 64 cores.
So to begin with I must build the one router.
I am planning in using the FIFO for input buffer an FSM to control the 
read and write a XY logic element for routing the same for the output 
only there I ll use an arbiter to arbitrate the request and a central 
crosspoint matrix.

Soto begin with I want to build the FIFO having inputs of :data in ,clk, 
write,read and outsof : the first4bits of the header are used for 
routing ,data out,fifo full, fifo empty.

Thank you in advance.
Guest #2688097
Rate this post
useful
not useful
Open Quartus II
Menu 'Tools' -> 'Megawizard Plugin Manager'
Select 'Memory Compilier' -> Fifo
Enter your parameters.


Or
Open ISE
'Tools' -> 'Core Generator'
'Memory & Storage Elements' -> Fifo
Enter your parameters.
OP (Company: university) #2688587
Rate this post
useful
not useful
Ok I have done it...But I dont really know how to set the right 
parameters before generating it :(

I need Data input ,clk,write and read , and outputs :first 4 bits of 
header for routing , dataout ,fifofull,fifoempty.

Can I implement these ports to have the requesting fifo?
Guest #2688599
Rate this post
useful
not useful
I think, you should sit down, take some books and Xilinx documents and 
read about the basics.

Look, what Xilinx offers you in their fifo-design. And then look, what 
signals you have to combine for your purpose.
OP (Company: university) #2694061
Rate this post
useful
not useful
Could I please ask how can I testbench a core generator FIFO?
I mean I have done all the steps to generate the fifo with the i/o i 
need and I cannot understand what to do next  to tb it!

Will I have to write the tb?Is there a tb ready in the core to use?

cheers :)
Guest #2695408
Rate this post
useful
not useful
> Will I have to write the tb?
Yes, I think so.
Normally you have a global system, where the FIFO is only a small part.
I do normally a simulation of the global system...

> Is there a tb ready in the core to use?
I don't think so. FIFO is not MIG.

Duke
#5151862
Rate this post
useful
not useful
nick k. wrote:
> Hi there guys!
>
> I want to build a router in order to use it as a generic component to
> build a mesh interconnections networks of 64 cores.
> So to begin with I must build the one router.
> I am planning in using the FIFO for input buffer an FSM to control the
> read and write a XY logic element for routing the same for the output
> only there I ll use an arbiter to arbitrate the request and a central
> crosspoint matrix.
>
> Soto begin with I want to build the FIFO having inputs of :data in ,clk,
> write,read and outsof : the first4bits of the header are used for
> routing ,data out,fifo full, fifo empty.
>
> Thank you in advance.

Example Verilog/VHDL code for FIFO memory:
http://www.fpga4student.com/2017/01/verilog-code-for-fifo-memory.html
http://www.fpga4student.com/2017/01/vhdl-code-for-fifo-memory.html

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now