Can you please comment on how to connect multiple drivers to a certain net via tri-state logic? For example in multi-slave SPI system, based on the CS signal only one of the slaves will generate a binary output for the "CIPO" while the rest will generate a high-z. However, when i try to simulate it i get the 'multiple drivers for a net' error - which in this case is intentionally. Thanks!
I use 17.1 Quartus compiler and it's giving me an error as shown below: Error (10481): VHDL Use Clause error at SPI_Master_With_Single_CS.vhd(84): design library "work" does not contain primary unit "SPI_Master". Verify that the primary unit exists in the library and has been successfully compiled.
That error indicates that you haven’t first compiled the “SPI_Master.vhd” file into your work library. It needs to be compiled into your work library first since that component is being instantiated in a higher level entity. Hope that helps
Fantastic video. Thank you!
Do have a platform for the fpga's fans to discuss?
Can you please comment on how to connect multiple drivers to a certain net via tri-state logic? For example in multi-slave SPI system, based on the CS signal only one of the slaves will generate a binary output for the "CIPO" while the rest will generate a high-z. However, when i try to simulate it i get the 'multiple drivers for a net' error - which in this case is intentionally.
Thanks!
I use 17.1 Quartus compiler and it's giving me an error as shown below:
Error (10481): VHDL Use Clause error at SPI_Master_With_Single_CS.vhd(84): design library "work" does not contain primary unit "SPI_Master". Verify that the primary unit exists in the library and has been successfully compiled.
That error indicates that you haven’t first compiled the “SPI_Master.vhd” file into your work library. It needs to be compiled into your work library first since that component is being instantiated in a higher level entity. Hope that helps
How do you handle this code if you don't need to receive anything?
I have problems when i compiling the code