Solved
Forum Discussion
sstrell
Super Contributor
1 year agoHACK.vhd is not a testbench. All it does is instantiate halfAdder. It doesn't provide any stimulus to halfAdder so you won't see anything in a simulation.
- ocraM1 year ago
New Contributor
I see, I thought that testbenches were supposed to be always compiled and instantiated, but it seems that is not the case.
After you pointed me to the right direction i researched a bit and it seems the common practice is to simply define the desired testbench as a top-level entity when you want it to compile and run(?)
Thanks for the help