1
\$\begingroup\$

Can someone explain how a Block RAM in FPGA works? I was creating a memory for 128k and could not figure out how would I create a memory module for it.

toolic
10.8k11 gold badges31 silver badges35 bronze badges
asked Oct 29, 2013 at 16:17
\$\endgroup\$

1 Answer 1

8
\$\begingroup\$

There are two ways to create block RAM in FPGAs. One is explicit instantiation, where you instantiate a block RAM primitive. The other is implicit instantiation, where you write HDL code that behaves like a memory and then the synthesizer infers a block RAM (or multiple block RAMs) with the required characteristics. If your synthesizer is smart enough, I highly recommend using inferred memories. They are more portable (not tied to a specific chip or toolchain) and they are usually easier to parametrize and debug.

Can you provide some more information on what language, toolchain, and chip you are using?

answered Oct 29, 2013 at 19:04
\$\endgroup\$

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.