From: Joshua Wise Date: Fri, 28 Mar 2008 23:20:21 +0000 (-0400) Subject: Holy crap, dropped lut count to 7640, and slice count to 4253 X-Git-Url: http://git.joshuawise.com/mandelfpga.git/commitdiff_plain/b74034985eac122e8a47ca5800af22ab777f07a0 Holy crap, dropped lut count to 7640, and slice count to 4253 --- diff --git a/Main.v b/Main.v index 39f38ff..0c1e6dc 100644 --- a/Main.v +++ b/Main.v @@ -69,19 +69,19 @@ module NaiveMultiplier( always @(posedge clk) begin {ovf,out} <= - (((y[12] ? (x ) : 0) + - (y[11] ? (x >> 1) : 0) + - (y[10] ? (x >> 2) : 0)) + - (((y[9] ? (x >> 3) : 0) + - (y[8] ? (x >> 4) : 0)) + - ((y[7] ? (x >> 5) : 0) + - (y[6] ? (x >> 6) : 0))))+ - (((y[5] ? (x >> 7) : 0) + - (y[4] ? (x >> 8) : 0) + - (y[3] ? (x >> 9) : 0)) + - ((y[2] ? (x >> 10): 0) + - (y[1] ? (x >> 11): 0) + - (y[0] ? (x >> 12): 0))); + (((y[12] ? (x ) : 0) + + (y[11] ? (x[12:1]) : 0) + + (y[10] ? (x[12:2]) : 0)) + + (((y[9] ? (x[12:3]) : 0) + + (y[8] ? (x[12:4]) : 0)) + + ((y[7] ? (x[12:5]) : 0) + + (y[6] ? (x[12:6]) : 0))))+ + (((y[5] ? (x[12:7]) : 0) + + (y[4] ? (x[12:8]) : 0) + + (y[3] ? (x[12:9]) : 0)) + + ((y[2] ? (x[12:10]): 0) + + (y[1] ? (x[12:11]): 0) + + (y[0] ? (x[12]): 0))); sign <= xsign ^ ysign; end