Altera_Forum
Honored Contributor
16 years agoVHDL: inout port error: multiple drivers
Hello,
I have defined an entity with some ports. One of these ports is defined as follows:data : inout std_logic_vector (63 downto 0); As you see, I want to read from or write to this port. When I want to write, I simply put some data into the array: data<="10101......101010"; If I want to read, I have to reset a port called Dec_nRD: Dec_nRD <= '0'; If I disable either the read or write function, my VHDL code works. But if I want to use read and write, then there is a compiler error: Error: The node "altera_auto_signaltap_0_DDRAM_Data_signaltap_lcell" has multiple drivers due to the constant driver
Error: The node "altera_auto_signaltap_0_DDRAM_Data_signaltap_lcell" has multiple drivers due to the constant driver
... As you see, the compiler notices that resetting the Dec_nRD port enables another entity to write to the data bus. Obviously only one entity can write to the data bus at the same time. What could be the solution? quartus: Quartus II Version 8.0 Build 215 05/29/2009 SJ Full Version. os: Windows Vista Enterprise. device: EP3C25F324C6 family: Cyclone III Kind regards, Stefan__