[Instr] Albert Chae
2008-07-29 14:50:38 UTC
Constants are legal even in your ALU circuit itself, so they are
certainly legal for the testing suite. Your idea is fine, although
I think it might get annoying setting up all the constants you want.
Albert
certainly legal for the testing suite. Your idea is fine, although
I think it might get annoying setting up all the constants you want.
Albert
Is it alright to use constants when testing? What I mean is to have certain
important values (edge cases, etc.) simply stored in our testing suite, then
storing corresponding answers, then simply churning through them using a clock
(and most likely using the same equals circuit we already wrote for the ALU to
verify the results). I imagine it's not illegal, but I was wondering if anyone
came up with a better alternative.
important values (edge cases, etc.) simply stored in our testing suite, then
storing corresponding answers, then simply churning through them using a clock
(and most likely using the same equals circuit we already wrote for the ALU to
verify the results). I imagine it's not illegal, but I was wondering if anyone
came up with a better alternative.