简体   繁体   English

如何使用Vhdl将示波器与FPGA配合使用

[英]How to use an osciloscope with a FPGA using Vhdl

Any of you have any material about this? 你们有关于这个的任何材料吗?

I want to show an std_logic_vector(0 to 29) on the osciloscope 我想在示波器上显示std_logic_vector(0到29)

That's 30 bits ... you don't want to probe 30 pins. 那是30位...您不想探查30个引脚。

I'd use 2 spare pins and roll a simple serial interface off a suitable (eg 1 MHz) clock and a /32 counter. 我将使用2个备用引脚,并在合适的时钟(例如1 MHz)和/ 32计数器上滚动一个简单的串行接口。

One pin shifts out each bit according to the count, the other is set when you send the first bit, as a convenient triggering signal. 一个引脚根据计数移出每一位,另一引脚在发送第一位时置位,作为方便的触发信号。

Either let it free run, or tell it to start (inside the FPGA) every time you update that signal. 要么让它自由运行,要么告诉它在每次更新该信号时启动(在FPGA内部)。

Most FPGA vendors provide some kind of in-system debugger (like ChipScope for Xilinx ISE designs). 大多数FPGA供应商都提供某种系统内调试器(例如Xilinx ISE设计的ChipScope)。 These provide a very powerful debugging perspective for your FPGA design and allow you to record waveforms on hundreds of signals. 这些为您的FPGA设计提供了非常强大的调试视角,并允许您记录数百个信号上的波形。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM