请大神帮忙写一下下面的Testbench,谢了好久没写成功
|
|
?`timescale 1 ns / 1ps
? module dvi_decoder (
? input ?wire tmdsclk_p, ? ? ?// tmds clock
? input ?wire tmdsclk_n, ? ? ?// tmds clock
? input ?wire blue_p, ? ? ? ? // Blue data in
? input ?wire green_p, ? ? ? ?// Green data in
? input ?wire red_p, ? ? ? ? ?// Red data in
? input ?wire blue_n, ? ? ? ? // Blue data in
? input ?wire green_n, ? ? ? ?// Green data in
? input ?wire red_n, ? ? ? ? ?// Red data in
? input ?wire exrst, ? ? ? ? ?// external reset input, e.g. reset button
?
? |
|
|
|
|
|
|
|
|
|
|
沙发
digital1010
发表于 2014-4-20 22:47:38
|
只看该作者
回复:请大神帮忙写一下下面的Testbench,谢了好久没写成功
|
兄弟,有个问题你要搞清楚哦,写testbench是需要有测试对象的。你没有提供对象,testbench是没有办法完成的 |
|
|
|
|
|
|
|
|