cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Anonymous
Not applicable
7,980 Views

Can I use chipscope to watch bi-directional data bus such as SDRAM?

I am using EDK10.1.3 to build a microblaze project, my hardware platform including SPARTAN-3E and SDRAM, but MPMC and SDRAM do not work correctly.

I want to watch if there are any problem with the signals between MPMC and SDRAM, but I can't see DQ_O, DQ_I, DQ_T in port list. And chipsocpe can't watch IO signals directly.

How can I watch these signals???

0 Kudos
Reply
10 Replies
Advisor
Advisor
7,963 Views
Registered: ‎12-03-2007

I don't think you can.

Chipscope uses the same routing resources as the rest of the design. Bi-dir routes are between the IOB and the pad, and you cannot connect anything else to it.

However, you can tap the chipscope to one of the stages before the signal gets bi-dir.

 

 What kind of signal problems do you suspect ? If it's board-level problems, e.g. signal integrity, Chipscope wouldn't be the best tool to use.

 

OutputLogic 

0 Kudos
Reply
Anonymous
Not applicable
7,953 Views

Thank you very much, I'am sure I can't watch data-bus directly with chipscope, but like other IP core, there are bi-directional signals and splitted signals before output to IOB. For example, data-bus is splitted into DATA_O ,DATA_I, DATA_T. I wonder how I can use these splitted signals in chipscope.

 

My problem is data can't write to SDRAM, and data readed from any address is a constant.

0 Kudos
Reply
7,947 Views
Registered: ‎08-21-2008

Hello.

Chipscope lists the data_I and data_O signals also along with the data_IO of SDRAM. You can scroll down and select those signals instead of data_IO. 

Best of luck.
--
Unlimited in my Limits.
0 Kudos
Reply
Anonymous
Not applicable
7,944 Views

Do you mean chipscope's ILA in EDK  ???, I'm not sure there are DATA_I and DATA_O with ILA in EDA 10.1.3

0 Kudos
Reply
7,942 Views
Registered: ‎08-21-2008

OK, So you are using ILA. No it won't show. But yes if you bring EDK in ISE and then instantiate chipscope in ISE then definitely you will see those signals.
Best of luck.
--
Unlimited in my Limits.
0 Kudos
Reply
Anonymous
Not applicable
7,923 Views

Thank you very much, I will test your method, but why not display these signals in EDK's ILA,  I think not only me who need to debug bi-directional signal in EDK with ICON and ILA .

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
7,895 Views
Registered: ‎08-13-2007

The term "debug bidirectional signal" may be misleading to some. The only bidirectional signal is the signal external to the IOBUF. Still, it could be useful to see the input, output, and tristate control of the buffer...

 

Have you considered using the ngcbuild approach:

 http://forums.xilinx.com/xlnx/board/message?board.id=EDK&message.id=2795 (Using ChipScope to look at my custom IP core's internals)

This has proven to be useful in a number of scenarios...

 

bt

0 Kudos
Reply
Anonymous
Not applicable
7,888 Views

I used "core inserter" to load the .ngc file, but still can't find the DATA_O, DATA_I, DATA_T.

 

It's the data-bus of mpmc to an external SDRAM, not custom IP CORE.

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
7,880 Views
Registered: ‎08-13-2007

The signal names going in and out of the IOB may not be what you think they are for a variety of reasons.

 

I know you aren't... The custom IP core was just a thread that documents its usage and some of the issues. The process should be the same in both cases (that one and yours) because of details on how parts of the flow are handled.

 

I would recommend opening an existing implemented design in FPGA editor to verify the net names of the signals doing in and out of the data bus IOBs.

You'll also have to keep in mind which clock domain generated these signals (which you can also confirm here) to make sure that you are using the appropriate clock for the ILA. But the first step is to find the names.

 

bt

Message Edited by timpe on 07-14-2009 09:52 AM
0 Kudos
Reply
Anonymous
Not applicable
2,281 Views

Thank you very much, I'll try your method.

 

And I also encountered anther problem: when I add some signal of external port(for example,DQM of MPMC in EDK10.1.3) into ILA in EDK or chipscope core inserter, during implementing, it reported: output pad net ...... has an illegal load: pin D on block ...... type FDP.

 

It seemed that the I/OBUF caused this problem, right? And how to solve?

0 Kudos
Reply