Community
cancel
Showing results for 
Search instead for 
Did you mean: 
CPaul10
Novice
159 Views

bug of SPI ss_n?

Software version:Quartus Prime Lite Edition 18.1

 

I would like to let DE0-Nano be a SPI Master to control 3 SPI slave.

I add SPI IP and set ss_n as 3.

After generating verilog file, there is only one xx_external_SS_n in xxx_inst.v for user.

Is it a bug?

 

SPI_IP_setting.png

spi_inst.png

0 Kudos
2 Replies
Eliath_G_Intel
Employee
140 Views

Hi!


First of all, thanks for reaching us,


regarding your question, the reason why it seems to be just one xx_external_SS_n in the *_inst.v file it's because appears as an array, not as individual connections.

if you navigate to Soc_system -> synthesis ->submodule_spi.v you'll find that its declared as 'output wire [2:0] spi_o_external_ss_n'.


Please let me know any questions you may have.


Regards,

-Eliath Guzman


CPaul10
Novice
124 Views

Thanks for your reply.

I defined the pin as 2 bits, and it works well.

Many thanks.

Reply