From b0b2eb6ff181ae84d7a83807f47c3cec25451969 Mon Sep 17 00:00:00 2001 From: Brett Weiland Date: Fri, 12 Apr 2024 15:41:55 -0500 Subject: need to re-read and spellcheck --- report/debug_table.tex | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 report/debug_table.tex (limited to 'report/debug_table.tex') diff --git a/report/debug_table.tex b/report/debug_table.tex new file mode 100644 index 0000000..0f30877 --- /dev/null +++ b/report/debug_table.tex @@ -0,0 +1,24 @@ +\begin{longtable}{llrrlrll} +\hline + multiplicand bin & multiplier bin & multiplicand dec & multiplier dec & expected bin & expected dec & booth & mod booth \\ +\hline +\endhead + 0b1110 & 0b1111 & -2 & -1 & 0b10 & 2 & PASS & PASS \\ + 0b101 & 0b0 & 5 & 0 & 0b0 & 0 & PASS & PASS \\ + 0b111111 & 0b111111 & -1 & -1 & 0b1 & 1 & PASS & PASS \\ + 0b101110 & 0b110111 & -18 & -9 & 0b10100010 & 162 & PASS & PASS \\ + 0b111011 & 0b100011 & -5 & -29 & 0b10010001 & 145 & PASS & PASS \\ + 0b11111 & 0b1010101 & 31 & 85 & 0b101001001011 & 2635 & PASS & PASS \\ + 0b11010111 & 0b1010101 & -41 & 85 & 0b1111001001100011 & -3485 & PASS & PASS \\ + 0b1010101 & 0b11010111 & 85 & -41 & 0b1111001001100011 & -3485 & PASS & PASS \\ + 0b1110111 & 0b110011 & 119 & 51 & 0b1011110110101 & 6069 & PASS & PASS \\ + 0b0 & 0b1110111 & 0 & 119 & 0b0 & 0 & PASS & PASS \\ + 0b101010101 & 0b101010101 & 341 & 341 & 0b11100011000111001 & 116281 & PASS & PASS \\ + 0b1100111011 & 0b1001110000 & -197 & -400 & 0b10011001111010000 & 78800 & PASS & PASS \\ + 0b1001101110 & 0b101111010 & -402 & 378 & 0b11011010111001101100 & -151956 & PASS & PASS \\ + 0b10101010101 & 0b10101010101 & 1365 & 1365 & 0b111000110111000111001 & 1863225 & PASS & PASS \\ + 0b1111100111 & 0b0 & 999 & 0 & 0b0 & 0 & PASS & PASS \\ + 0b101010101010 & 0b101010101010 & -1366 & -1366 & 0b111000111100011100100 & 1865956 & PASS & PASS \\ + 0b111001110000 & 0b11111111 & -400 & 255 & 0b111111100111000110010000 & -102000 & PASS & PASS \\ +\hline +\end{longtable} \ No newline at end of file -- cgit v1.2.3