Jump to content
  • 0

Zybo-Z7-20 Uart Problem in RISC-V


drkome

Question

I wrote my own RISCV processor. and I tested it on Zybo z7-20 board. I did not experience any problems in many tests. But I tried to do the Dhrystone test. I noticed something in the simulation when all print commands were working correctly while filling the fifo correctly. The FPGA was also causing problems while communicating with the console.

image.png.d0e2b85ec1520f7359825f48681d3d99.png

See part of the image above as an example. The first 2 prints fill the UART's fifo correctly in the simulation. And the uart is created successfully.

image.thumb.png.4a5ad87a24ce1c4cd1806ba13d97eb32.png

Vivado Simulation.

image.thumb.png.d63f81e28bdde36e3d4d941bbc6ad980.png

Uart application in console. And I didnt see  "ee_printf ("Dhrystone Benchmark, Version 2.1 (Language: C)\n");" in this console. while it works fully and accurately in the simulation. Is there a problem with it working this way on FPGA? Is this definitely an implementation problem? I using  Zybo-z7-20.  I make this RTL with 20MHZ.  UART spec 115200 baudrate.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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
×
×
  • Create New...