Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16883 Discussions

SPI slave to Avalon master bridge core

overD
Beginner
1,438 Views

Hello!
I'm trying to simulate SPI slave to Avalon master bridge core. I can see that when I issue a read transaction then under some conditions the start symbol 0x7c in the core response is lost. It is acknowledged by the MISOctl module but it doesn't appear in the output shift register rdshiftreg. It looks like a sync problem between sclk and system clock domains. Is it something wrong with my setup or is it really a bug in the IP?

0 Kudos
7 Replies
Nurina
Employee
1,411 Views

Hi,


Can you share you qar file so I can reproduce your problem? Go to Project->Archive Project


Thanks,

Nurina


0 Kudos
overD
Beginner
1,403 Views

Hi, Nurina!

 

Here is my Quartus project with a testbench.

0 Kudos
Nurina
Employee
1,384 Views

Hi,

 

Sorry for getting back to you rather late. Can you let me know which module are you simulating in modelsim? Which library can I find this module in?

Can you also let me know which version of Quartus are you using?

 

Thanks,

Nurina

 

0 Kudos
overD
Beginner
1,377 Views

Hi,

I use Quartus Prime Version 20.1.1 Lite Edition with Modelsim Intel FPGA Starter Edition 2020.1.

I use spi_test.do as a simulation script. Top level module is spi_test_tb, which instantiates spi_test module and a Qsys testbench with SPI Slave to Avalon Master Bridge IP as a DUT and BFMs. Spi_test module is to provide stimuli on SPI bus.

0 Kudos
Nurina
Employee
1,364 Views

Hi,


You are simulating this through NativeLink right?


Regards,

Nurina


0 Kudos
Nurina
Employee
1,358 Views

I can't seem to perform the simulation, can you let me know what steps you took to do it?

 

Thanks,

Nurina

0 Kudos
Nurina
Employee
1,346 Views

 Hi,

We did not receive any response to the previous question/reply/answer that I have provided, thus I will put this case to close pending. Please post a response in the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.

Regards,
Nurina

P/S: If you like my comment, feel free to give Kudos. If my comment solved your problem, feel free to accept my comment as solution!

0 Kudos
Reply