Best Practices in writing test benches. There are number of books which talk about writing good test benches. However, my heart tells me that best practices on test benches will be written by some experienced people on the web. This is because techniques are not in step wise and they are too theoretical.
1. Automating Test Bench Creation
--tbcounter
tbcounter: work.simpkg.tbcount port map(clk,tbcount);
Example:
sw0 <= '1' when (TbCount >=300 and tbcount <302) else '0';
2.
1. Automating Test Bench Creation
--tbcounter
tbcounter: work.simpkg.tbcount port map(clk,tbcount);
Example:
sw0 <= '1' when (TbCount >=300 and tbcount <302) else '0';
2.
No comments:
Post a Comment