]> Joshua Wise's Git repositories - mandelfpga.git/commitdiff
Fix the lame on the multiplier's indentation
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Fri, 28 Mar 2008 05:50:20 +0000 (01:50 -0400)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Fri, 28 Mar 2008 05:50:20 +0000 (01:50 -0400)
Main.v

diff --git a/Main.v b/Main.v
index 6762c0fe9839527088a5a460363b616d26f8d97e..79d82512d0f77efb6ba84cb84667f36232fb928d 100644 (file)
--- a/Main.v
+++ b/Main.v
@@ -69,19 +69,18 @@ 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[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[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)));
                sign <= xsign ^ ysign;
        end
@@ -379,7 +378,7 @@ module MandelTop(
        input left, right, up, down, rst, cycle, logooff,
        input [2:0] scale);
 
-       wire pixclk, mclk, gclk2, clk;
+       wire pixclk, mclk, clk;
        wire dcm1ok, dcm2ok;
        assign dcmok = dcm1ok && dcm2ok;
        
This page took 0.024474 seconds and 4 git commands to generate.