UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor tyhjhjh
Visitor
174 Views
Registered: ‎07-01-2019

testbench

I want to verify whether my verilog program is correct, but I don't know how to write testbench and test my module. I am new to verilog and FPGA,so how to write the testbench?

0 Kudos
2 Replies
Teacher xilinxacct
Teacher
152 Views
Registered: ‎10-23-2018

Re: testbench

@tyhjhjh 

This might help... https://people.ece.cornell.edu/land/courses/ece5760/Verilog/LatticeTestbenchPrimer.pdf

Hope that Helps
If so, Please mark as solution accepted. Kudos also welcomed. :-)

0 Kudos
Moderator
Moderator
105 Views
Registered: ‎04-24-2013

Re: testbench

Hi @tyhjhjh ,

You can also take a look at XAPP199 which can be found here, it's old but has examples

https://www.xilinx.com/support/documentation/application_notes/xapp199.pdf

Best Regards
Aidan

 

------------------------------------------------------------------------------------------------------------------
Please mark the Answer as "Accept as solution" if this answered your question
Give Kudos to a post which you think is helpful and may help other users
------------------------------------------------------------------------------------------------------------------
0 Kudos