+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Newbie level 5
    Points: 619, Level: 5

    Join Date
    Sep 2009
    Location
    Syria
    Posts
    9
    Helped
    1 / 1
    Points
    619
    Level
    5

    this signal is connected to multiple drivers.

    I always get this message when I use a signal in to places in the process() , or in and out the process, or in the left or right of <=

    How can I solve this problem?

    •   AltAdvertisment

        
       

  2. #2
    Full Member level 2
    Points: 3,146, Level: 13

    Join Date
    Jan 2004
    Posts
    148
    Helped
    69 / 69
    Points
    3,146
    Level
    13

    this signal is connected to multiple drivers

    To address this 'problem' you should use some intermediate signals (unique for each process) and then combine them.
    Example: two processes driving the same signal:

    Code:
    process(...)
    begin
      ..
      signalout <= ...
    end process
    
    process(...)
    begin
      ..
      signalout <= ...
    end process
    gives you this error.

    Use the following instead:
    Code:
    signal signalout1: ..
    signal signalout2: ..
    
    process(...)
    begin
      ..
      signalout1 <= ...
    end process
    
    process(...)
    begin
      ..
      signalout2 <= ...
    end process
    
    signalout <= signalout1 or signalout2;     -- Use some selection (like 'or' 'and' 'select' 'if') to combine the individual process signals
    For processes you could also combine the two processes into a single process, but this is not advised.


    1 members found this post helpful.

    •   AltAdvertisment

        
       

  3. #3
    Newbie level 5
    Points: 619, Level: 5

    Join Date
    Sep 2009
    Location
    Syria
    Posts
    9
    Helped
    1 / 1
    Points
    619
    Level
    5

    this signal is connected to multiple drivers

    thanx and I'll try this solution



    •   AltAdvertisment

        
       

  4. #4
    Full Member level 6
    Points: 3,477, Level: 13
    Achievements:
    7 years registered
    vipinlal's Avatar
    Join Date
    Mar 2010
    Location
    India
    Posts
    354
    Helped
    76 / 76
    Points
    3,477
    Level
    13

    this signal is connected to multiple drivers

    avoid multi-driven signals..
    hope that this helps you..
    http://vhdlguru.blogspot.com/2010/03...nected-to.html



--[[ ]]--