- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi there,
I would like to know that how can i create a test bench file in order to test my code, its like do i need to write a code my self and then test it or the quartus has an option to write a test bench code using my main code?
Ive read some many web pages which are un-understandable and put me in confusion, so can anybody help me with this by any means (links, posts, files, videos..etc) to learn the procedure in building test bench and test the main code working.
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi,
which quartus version are you using?
either you can write full testbench code or use testbench template available in Quartus tool.
Best Regards
Vikas Jathar
(This message was posted on behalf of Intel Corporation)
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi,
1. First create testbench & instantiate the design in it & eventually compile the testbench in simulation tool(ModelSim) as shown in below link,
https://www.youtube.com/watch?v=o2KDwNN5-yw
2. Go to 'Processing' -> 'Start' -> 'Start Test Bench Template Writer'
Check'Message window' for .vt or .vht file generated in projet directory
3. For NativeLink Simulation use testbench generated in either step(1) or step(2) & try to simulate as shown in below link,
https://www.youtube.com/watch?v=PmVVXQchv2c
4. One more way to simulate design using vector waveform files refer the link below,
https://www.youtube.com/watch?v=e_ksjHd6sY0
Let me know if this has helped resolve the issue you are facing or if you need any further assistance.
Best Regards
Vikas Jathar
(This message was posted on behalf of Intel Corporation)
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi there,
You can create testbench through Quartus and Modelsim installed , U can go through the video link for more clarity on how to create a test bench
https://www.youtube.com/watch?v=qZNL1C0TwY8&ab_channel=IntelFPGA
Hope this works fine
