• 0

MicroBlase is necessary for serial communication with PC


hep77

Question

2 answers to this question

Recommended Posts

  • 0

@hep77,s

Microblaze is not required for serial communication.  I have many projects that I have built which use the serial port without using a Microblaze.  Indeed, you'll be able to use much more of your FPGA if you don't need to support the weight of the Microblaze.

That said, without the Microblaze processor, you won't have access to the C library.  You'll have to do your work instead in RTL.  Personally, I don't think that's a problem--I think it's a benefit of the approach.

Dan

Link to post
Share on other sites
  • 0

MicroBlaze or NIOS might be required if you are constrained to doing design using the Xilinx or Intel soft-processor centric IP. I haven't had the need for a soft-processor for a few decades; and I'd have used an ARM based FPGA it it were available. If you look through the Digilent Project Vault you'll see source code for connecting your FPGA design to a PC through a UART in quite a few of the posted projects.

The UART is the most trivial way to connect your FPGA design to a PC, except for the PC application if you are using Windows and C or C++. Python not only is easier but works on Linux or Windows.

There are other ways to pass data between your FPGA and a PC. Here are some of the ways that I do it.

  • Up to about 100KB/s using a USB UART
  • Up to 1 MB/s using an FT245R
  • Up to about 30 MB/s using the Digilent ADEPT DPTI on boards that support it
  • Up to about 45 MB/s using the FT232H, FT2232H
  • Streaming up to 350 MB/s using the Cypress FX3 USB 3.0 or FT60x USB 3.0
  • 2000 MB/s and higher using multiple lanes of PCIe Gen2 or Gen3

You will find any of these, except the UART, hard to do unless you learn how develop using the HDL source flow**.

All of the FPGA vendors support users who are happy to be confined to a playpen where what they can do is limited to a small selection of toys. Generally this involves using a soft-processor and IP which uses up way more resources than necessary. But, if you don't have big dreams, appears to make it all easy... until you want to make the toys do something different.

Thanks for the question because it reminds me that I've been meaning to post on the topic of breaking out of the playpen.

** Digilent does provide board design IP for the DPTI that is compatible with the MicroBlaze.

Edited by zygot
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now