![]() Sometimes, it makes sense to answer a question by providing a follow-this-example code snippet. The Vivado-synthesis and Vivado-using-constraints references are good places to start. ![]() You should familiarize yourself with the available vendor material. I'm not trying to offend you, just nudging you toward reality,īoth Intel and Xilinx have good reference material for writing HDLs to help thier tools infer common structures like RAM, FIFO, counters, etc. The fact that you tried to implement your buffer in hardware tells me that you aren't ready to tackle this project. Once you start using multiple clocks in a design you need to understand how to write timing constraints to prevent the tools from making bad inferences about your design. You need a better understanding of how to pass data and signals between clock domains. This is especially true for structures that span multiple clock domains. Understand that there's a difference between using FPGA resources like BRAM as storage and logic LUT as storage. Unfortunately, simulation is harder to do than design so be careful about what you are reading into your simulation results. ![]() You didn't post your testbench HDL but this doesn't matter your buffer isn't even close to being able to do what you want it to do, so I can tell you that it doesn't work in simulation either. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |