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

SPI slave to Avalon master bridge core

overD
초급자
1,979 조회수

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 포인트
7 응답
Nurina
직원
1,952 조회수

Hi,


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


Thanks,

Nurina


0 포인트
overD
초급자
1,944 조회수

Hi, Nurina!

 

Here is my Quartus project with a testbench.

0 포인트
Nurina
직원
1,925 조회수

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 포인트
overD
초급자
1,918 조회수

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 포인트
Nurina
직원
1,905 조회수

Hi,


You are simulating this through NativeLink right?


Regards,

Nurina


0 포인트
Nurina
직원
1,899 조회수

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

 

Thanks,

Nurina

0 포인트
Nurina
직원
1,887 조회수

 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 포인트
응답