Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Super Contributor
maheshhegde
Posts: 169
Registered: ‎07-09-2010
0

Re: signal is connected to multiple drivers

[ Edited ]

Hi,

      The DATA_SIG is declared in command_signals.vhd.This file is the top file.That is going to ds1wm.vhd.from there this signal is routed to one_wire_io.vhd.I added that code also here.

Thanks You in Advance,
Mahesh Hegde.
Expert Contributor
joelby
Posts: 1,056
Registered: ‎10-05-2010

Re: signal is connected to multiple drivers

In one_wire_io.vhd, you are assigning a value to DATA (which is eventually connected to DATA_SIG):

 

    DATA <= DOUT when DDIR='1' else "ZZZZZZZZ";

This is the cause of your problem. You've declared DATA as an inout in every module, and are driving it in two places.

 

The logic in one_wire_io.vhd looks like you're trying to infer a tristate IO buffer. Normally you would connect this to a top level pin - you wouldn't try to use tristate logic internally.

Super Contributor
maheshhegde
Posts: 169
Registered: ‎07-09-2010
0

Re: signal is connected to multiple drivers

Hi joelby,

                  Yes you are right.Well catch.Thanks.Problem solved.

Thanks You in Advance,
Mahesh Hegde.
Visitor
javo0112
Posts: 2
Registered: ‎03-13-2012
0

Re: signal is connected to multiple drivers

Hi 

 

 

i have a machine state that drives the datta buffer but i was putting a "z" state when there was no data to transmit to the module DS1WM.  so that its wrong , isnt it? 

 

Thank you 

Javier Balam

Visitor
maheshhegde1988
Posts: 5
Registered: ‎03-13-2012
0

Re: signal is connected to multiple drivers

Hello Javo,

 

Intially I tried with DS1WM code to read and write of 1-Wire(Transducer).

After that i am not able to communicate with this chip using DS1WM.

So i left that path.(Communicating 1 Wire using DS1WM).

I wrote my own code to communicate with 1-Wire.

So i don't have much knowledge on DS1WM.

Thanking You,
Mahesh Hegde
Visitor
javo0112
Posts: 2
Registered: ‎03-13-2012
0

Re: signal is connected to multiple drivers

well i think i will try split that bus in two separate bus: one for input and the other for output.

 

if that doesnt work, i will have to make my own interface too .

 

thanks for taking the time to answer me