/* ---------------------------------------------------------------------------- * * tut8.tv * * Test the 3-in 1-out combinatorial module 'comb3'. This is purely * combinatorial, so no clock declaration is required. * * ------------------------------------------------------------------------- */ DUT { module comb3(input A, B, C, output D) [A, B, C] -> [D] } [0, 0, 0] -> [1] [0, 0, 1] -> [0] [0, 1, 0] -> [0] [0, 1, 1] -> [1] [1, 0, 0] -> [1] [1, 0, 1] -> [1] [1, 1, 0] -> [1] [1, 1, 1] -> [0] // ----------------------------------- EOF ------------------------------------