Getting in a cab at Orchard Road;
"Where you wan go lah?"
It's Friday night, and I'm taking you out to dinner. Knowing better than to try to speak Singlish, the local version of English, back to the taxi driver, I ask him to take us downtown.
// TEST #1 | |
// -6.55504723008 + 0.156205364091 = -1.02393353921 | |
// Expected Z = 10111111100000110001000001000001 | |
#10 a = 32'b11000000110100011100001011110010; b = 32'b00111110000111111111010001001101; operation = 1'b0; $display("%b", result); | |
// TEST #2 | |
// 3.0960619702 + 8.77542136981 = 27.1692483755 | |
// Expected Z = 01000001110110010101101010011111 | |
#10 a = 32'b01000000010001100010010111100001; b = 32'b01000001000011000110100000100000; operation = 1'b0; $display("%b", result); |