[myhdl-list] Testbench Template
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2012-08-01 03:55:12
|
I have been using a simple testbench template for small single module tests. I use this testbench template so that I can quickly add basic test stimulus to a module. From the testbench I can do operations that require similar setup. >> python test_.py trace >> python test_.py convert >> python test_.py cosim Note, I usually have a more complicated test environment (only as complicated as needed and no more) for full designs. In addition to the *full* verification environment I typically have individual module tests that use the template. I attached the template and an example using a simple adder. Might be useful (might not). Feel free to comment, always room for improvement. This is a template that needs to be manually modified and uses some features only available in 0.8dev branch. Regards, Chris |