rrucha
Member level 3
I want to test my code which has a 256 bit input. I want my testbench to have a generator to generate a ramp input in order to test all possible input combinations but in a ramp fashion. What I mean by this is, if we have a 4 bit input data that needs to be used, in order to test all of the cases we should be able to provide the DUT with inputs likes 0000, 0001, 0010, 0100 ....... 1111
So basically for a 256 bit input I should cover all 2^256 cases. This needs to be done in an ordered manner. I want to automate this in my testbench. Does anybody know how to do this?
So basically for a 256 bit input I should cover all 2^256 cases. This needs to be done in an ordered manner. I want to automate this in my testbench. Does anybody know how to do this?