data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Error: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:56: Cannot find file containing module: \'clk_wiz_0\'\nclk_wiz_0 Clk_Management_Unit1\n^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/152455180,data/full_repos/permissive/152455180/clk_wiz_0\n             data/full_repos/permissive/152455180,data/full_repos/permissive/152455180/clk_wiz_0.v\n             data/full_repos/permissive/152455180,data/full_repos/permissive/152455180/clk_wiz_0.sv\n             clk_wiz_0\n             clk_wiz_0.v\n             clk_wiz_0.sv\n             obj_dir/clk_wiz_0\n             obj_dir/clk_wiz_0.v\n             obj_dir/clk_wiz_0.sv\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:155: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n      memory[addr_DM]   <= IMG_DOUT;\n            ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:324: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign center= memory[centerAddr]; \n                     ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:325: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign above  = memory[aboveAddr];  \n                      ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:326: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign below  = memory[belowAddr];  \n                      ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:327: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign left   = memory[leftAddr];   \n                      ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:328: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign right  = memory[rightAddr];  \n                      ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:340: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign background_sum = memory[bk02]+ memory[bk03]+memory[bk04]\n                              ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:340: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign background_sum = memory[bk02]+ memory[bk03]+memory[bk04]\n                                            ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:340: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign background_sum = memory[bk02]+ memory[bk03]+memory[bk04]\n                                                         ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:341: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk11]+memory[bk15]\n        ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:341: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk11]+memory[bk15]\n                     ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:342: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk20]+memory[bk26]\n        ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:342: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk20]+memory[bk26]\n                     ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:343: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk30]+memory[bk36]\n        ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:343: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk30]+memory[bk36]\n                     ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:344: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk40]+memory[bk46]\n        ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:344: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk40]+memory[bk46]\n                     ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:345: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk51]+memory[bk55]\n        ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:345: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk51]+memory[bk55]\n                     ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:346: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+  memory[bk62]+ memory[bk63]+ memory[bk64];\n         ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:346: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+  memory[bk62]+ memory[bk63]+ memory[bk64];\n                       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:346: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+  memory[bk62]+ memory[bk63]+ memory[bk64];\n                                     ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:340: Operator ADD expects 14 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign background_sum = memory[bk02]+ memory[bk03]+memory[bk04]\n                                    ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:340: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign background_sum = memory[bk02]+ memory[bk03]+memory[bk04]\n                                    ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:340: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign background_sum = memory[bk02]+ memory[bk03]+memory[bk04]\n                                                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:341: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk11]+memory[bk15]\n^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:341: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk11]+memory[bk15]\n              ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:342: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk20]+memory[bk26]\n^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:342: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk20]+memory[bk26]\n              ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:343: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk30]+memory[bk36]\n^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:343: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk30]+memory[bk36]\n              ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:344: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk40]+memory[bk46]\n^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:344: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk40]+memory[bk46]\n              ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:345: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk51]+memory[bk55]\n^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:345: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+ memory[bk51]+memory[bk55]\n              ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:346: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+  memory[bk62]+ memory[bk63]+ memory[bk64];\n^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:346: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+  memory[bk62]+ memory[bk63]+ memory[bk64];\n               ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:346: Operator ADD expects 14 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+  memory[bk62]+ memory[bk63]+ memory[bk64];\n                             ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:356: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign centroid_sum  = memory[cen12]+ memory[cen13]+ memory[cen14]\n                             ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:356: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign centroid_sum  = memory[cen12]+ memory[cen13]+ memory[cen14]\n                                            ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:356: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign centroid_sum  = memory[cen12]+ memory[cen13]+ memory[cen14]\n                                                           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:357: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen21]+memory[cen22]+ memory[cen23]+ memory[cen24]+memory[cen25]\n       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:357: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen21]+memory[cen22]+ memory[cen23]+ memory[cen24]+memory[cen25]\n                     ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:357: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen21]+memory[cen22]+ memory[cen23]+ memory[cen24]+memory[cen25]\n                                    ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:357: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen21]+memory[cen22]+ memory[cen23]+ memory[cen24]+memory[cen25]\n                                                   ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:357: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen21]+memory[cen22]+ memory[cen23]+ memory[cen24]+memory[cen25]\n                                                                 ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:358: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen31]+memory[cen32]+ memory[cen33]+ memory[cen34]+memory[cen35]\n       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:358: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen31]+memory[cen32]+ memory[cen33]+ memory[cen34]+memory[cen35]\n                     ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:358: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen31]+memory[cen32]+ memory[cen33]+ memory[cen34]+memory[cen35]\n                                    ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:358: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen31]+memory[cen32]+ memory[cen33]+ memory[cen34]+memory[cen35]\n                                                   ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:358: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen31]+memory[cen32]+ memory[cen33]+ memory[cen34]+memory[cen35]\n                                                                 ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:359: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen41]+memory[cen42]+ memory[cen43]+ memory[cen44]+memory[cen45]\n       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:359: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen41]+memory[cen42]+ memory[cen43]+ memory[cen44]+memory[cen45]\n                     ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:359: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen41]+memory[cen42]+ memory[cen43]+ memory[cen44]+memory[cen45]\n                                    ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:359: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen41]+memory[cen42]+ memory[cen43]+ memory[cen44]+memory[cen45]\n                                                   ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:359: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen41]+memory[cen42]+ memory[cen43]+ memory[cen44]+memory[cen45]\n                                                                 ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:360: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen52]+ memory[cen53]+ memory[cen54];\n       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:360: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen52]+ memory[cen53]+ memory[cen54];\n                      ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:360: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen52]+ memory[cen53]+ memory[cen54];\n                                     ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:356: Operator ADD expects 15 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign centroid_sum  = memory[cen12]+ memory[cen13]+ memory[cen14]\n                                    ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:356: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign centroid_sum  = memory[cen12]+ memory[cen13]+ memory[cen14]\n                                    ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:356: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign centroid_sum  = memory[cen12]+ memory[cen13]+ memory[cen14]\n                                                   ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:357: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen21]+memory[cen22]+ memory[cen23]+ memory[cen24]+memory[cen25]\n^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:357: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen21]+memory[cen22]+ memory[cen23]+ memory[cen24]+memory[cen25]\n              ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:357: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen21]+memory[cen22]+ memory[cen23]+ memory[cen24]+memory[cen25]\n                            ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:357: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen21]+memory[cen22]+ memory[cen23]+ memory[cen24]+memory[cen25]\n                                           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:357: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen21]+memory[cen22]+ memory[cen23]+ memory[cen24]+memory[cen25]\n                                                          ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:358: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen31]+memory[cen32]+ memory[cen33]+ memory[cen34]+memory[cen35]\n^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:358: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen31]+memory[cen32]+ memory[cen33]+ memory[cen34]+memory[cen35]\n              ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:358: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen31]+memory[cen32]+ memory[cen33]+ memory[cen34]+memory[cen35]\n                            ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:358: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen31]+memory[cen32]+ memory[cen33]+ memory[cen34]+memory[cen35]\n                                           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:358: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen31]+memory[cen32]+ memory[cen33]+ memory[cen34]+memory[cen35]\n                                                          ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:359: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen41]+memory[cen42]+ memory[cen43]+ memory[cen44]+memory[cen45]\n^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:359: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen41]+memory[cen42]+ memory[cen43]+ memory[cen44]+memory[cen45]\n              ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:359: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen41]+memory[cen42]+ memory[cen43]+ memory[cen44]+memory[cen45]\n                            ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:359: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen41]+memory[cen42]+ memory[cen43]+ memory[cen44]+memory[cen45]\n                                           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:359: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen41]+memory[cen42]+ memory[cen43]+ memory[cen44]+memory[cen45]\n                                                          ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:360: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen52]+ memory[cen53]+ memory[cen54];\n^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:360: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen52]+ memory[cen53]+ memory[cen54];\n              ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:360: Operator ADD expects 15 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen52]+ memory[cen53]+ memory[cen54];\n                             ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:377: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign x_weighted_sum  = (memory[cen14] << 1)+ ( memory[cen13]+(memory[cen13] << 1))+ (memory[cen12]<<2)\n                                ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:377: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign x_weighted_sum  = (memory[cen14] << 1)+ ( memory[cen13]+(memory[cen13] << 1))+ (memory[cen12]<<2)\n                                                       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:377: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign x_weighted_sum  = (memory[cen14] << 1)+ ( memory[cen13]+(memory[cen13] << 1))+ (memory[cen12]<<2)\n                                                                      ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:377: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign x_weighted_sum  = (memory[cen14] << 1)+ ( memory[cen13]+(memory[cen13] << 1))+ (memory[cen12]<<2)\n                                                                                             ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:378: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))\n       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:378: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))\n                      ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:378: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))\n                                           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:378: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))\n                                                          ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:378: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))\n                                                                               ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:378: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))\n                                                                                                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:378: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))\n                                                                                                                 ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:379: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))\n       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:379: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))\n                      ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:379: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))\n                                           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:379: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))\n                                                          ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:379: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))\n                                                                               ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:379: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))\n                                                                                                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:379: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))\n                                                                                                                 ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:380: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))\n       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:380: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))\n                      ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:380: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))\n                                           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:380: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))\n                                                          ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:380: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))\n                                                                               ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:380: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))\n                                                                                                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:380: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))\n                                                                                                                 ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:381: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen54]<<1)+ (memory[cen53]+(memory[cen53]<<1))+ (memory[cen52]<<2);\n        ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:381: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen54]<<1)+ (memory[cen53]+(memory[cen53]<<1))+ (memory[cen52]<<2);\n                            ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:381: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen54]<<1)+ (memory[cen53]+(memory[cen53]<<1))+ (memory[cen52]<<2);\n                                           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:381: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen54]<<1)+ (memory[cen53]+(memory[cen53]<<1))+ (memory[cen52]<<2);\n                                                                ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:377: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign x_weighted_sum  = (memory[cen14] << 1)+ ( memory[cen13]+(memory[cen13] << 1))+ (memory[cen12]<<2)\n                                        ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:377: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign x_weighted_sum  = (memory[cen14] << 1)+ ( memory[cen13]+(memory[cen13] << 1))+ (memory[cen12]<<2)\n                                                              ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:377: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign x_weighted_sum  = (memory[cen14] << 1)+ ( memory[cen13]+(memory[cen13] << 1))+ (memory[cen12]<<2)\n                                                                              ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:377: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign x_weighted_sum  = (memory[cen14] << 1)+ ( memory[cen13]+(memory[cen13] << 1))+ (memory[cen12]<<2)\n                                                                                                    ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:378: Operator ADD expects 16 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))\n^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:378: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))\n                             ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:378: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))\n                                                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:378: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))\n                                                                 ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:378: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))\n                                                                                      ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:378: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))\n                                                                                                         ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:378: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))\n                                                                                                                        ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:379: Operator ADD expects 16 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))\n^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:379: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))\n                             ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:379: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))\n                                                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:379: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))\n                                                                 ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:379: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))\n                                                                                      ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:379: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))\n                                                                                                         ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:379: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))\n                                                                                                                        ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:380: Operator ADD expects 16 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))\n^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:380: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))\n                             ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:380: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))\n                                                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:380: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))\n                                                                 ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:380: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))\n                                                                                      ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:380: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))\n                                                                                                         ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:380: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))\n                                                                                                                        ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:381: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen54]<<1)+ (memory[cen53]+(memory[cen53]<<1))+ (memory[cen52]<<2);\n               ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:381: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen54]<<1)+ (memory[cen53]+(memory[cen53]<<1))+ (memory[cen52]<<2);\n                                   ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:381: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen54]<<1)+ (memory[cen53]+(memory[cen53]<<1))+ (memory[cen52]<<2);\n                                                  ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:381: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen54]<<1)+ (memory[cen53]+(memory[cen53]<<1))+ (memory[cen52]<<2);\n                                                                       ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:394: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign y_weighted_sum  = (memory[cen12]+(memory[cen12] << 2))+ ( memory[cen13]+(memory[cen13] << 2))+ (memory[cen14]+(memory[cen14]<<2))\n                                ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:394: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign y_weighted_sum  = (memory[cen12]+(memory[cen12] << 2))+ ( memory[cen13]+(memory[cen13] << 2))+ (memory[cen14]+(memory[cen14]<<2))\n                                               ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:394: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign y_weighted_sum  = (memory[cen12]+(memory[cen12] << 2))+ ( memory[cen13]+(memory[cen13] << 2))+ (memory[cen14]+(memory[cen14]<<2))\n                                                                       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:394: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign y_weighted_sum  = (memory[cen12]+(memory[cen12] << 2))+ ( memory[cen13]+(memory[cen13] << 2))+ (memory[cen14]+(memory[cen14]<<2))\n                                                                                      ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:394: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign y_weighted_sum  = (memory[cen12]+(memory[cen12] << 2))+ ( memory[cen13]+(memory[cen13] << 2))+ (memory[cen14]+(memory[cen14]<<2))\n                                                                                                             ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:394: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign y_weighted_sum  = (memory[cen12]+(memory[cen12] << 2))+ ( memory[cen13]+(memory[cen13] << 2))+ (memory[cen14]+(memory[cen14]<<2))\n                                                                                                                            ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:395: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen21]<<2)+(memory[cen22]<<2)+ ( memory[cen23]<<2)+ (memory[cen24]<<2)+(memory[cen25]<<2)\n        ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:395: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen21]<<2)+(memory[cen22]<<2)+ ( memory[cen23]<<2)+ (memory[cen24]<<2)+(memory[cen25]<<2)\n                           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:395: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen21]<<2)+(memory[cen22]<<2)+ ( memory[cen23]<<2)+ (memory[cen24]<<2)+(memory[cen25]<<2)\n                                                ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:395: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen21]<<2)+(memory[cen22]<<2)+ ( memory[cen23]<<2)+ (memory[cen24]<<2)+(memory[cen25]<<2)\n                                                                    ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:395: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen21]<<2)+(memory[cen22]<<2)+ ( memory[cen23]<<2)+ (memory[cen24]<<2)+(memory[cen25]<<2)\n                                                                                       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n        ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                          ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                                                ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                                                               ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                                                                                    ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                                                                                                   ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                                                                                                                       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                                                                                                                                      ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:397: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen41]<<1)+(memory[cen42]<<1)+ (memory[cen43]<<1)+ (memory[cen44]<<1)+(memory[cen45]<<1)\n        ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:397: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen41]<<1)+(memory[cen42]<<1)+ (memory[cen43]<<1)+ (memory[cen44]<<1)+(memory[cen45]<<1)\n                           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:397: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen41]<<1)+(memory[cen42]<<1)+ (memory[cen43]<<1)+ (memory[cen44]<<1)+(memory[cen45]<<1)\n                                               ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:397: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen41]<<1)+(memory[cen42]<<1)+ (memory[cen43]<<1)+ (memory[cen44]<<1)+(memory[cen45]<<1)\n                                                                   ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:397: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen41]<<1)+(memory[cen42]<<1)+ (memory[cen43]<<1)+ (memory[cen44]<<1)+(memory[cen45]<<1)\n                                                                                      ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:398: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen52]   )+(memory[cen53]   )+ (memory[cen54]   );\n        ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:398: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen52]   )+(memory[cen53]   )+ (memory[cen54]   );\n                           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:398: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen52]   )+(memory[cen53]   )+ (memory[cen54]   );\n                                               ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:394: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign y_weighted_sum  = (memory[cen12]+(memory[cen12] << 2))+ ( memory[cen13]+(memory[cen13] << 2))+ (memory[cen14]+(memory[cen14]<<2))\n                                       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:394: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign y_weighted_sum  = (memory[cen12]+(memory[cen12] << 2))+ ( memory[cen13]+(memory[cen13] << 2))+ (memory[cen14]+(memory[cen14]<<2))\n                                                       ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:394: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign y_weighted_sum  = (memory[cen12]+(memory[cen12] << 2))+ ( memory[cen13]+(memory[cen13] << 2))+ (memory[cen14]+(memory[cen14]<<2))\n                                                                              ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:394: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign y_weighted_sum  = (memory[cen12]+(memory[cen12] << 2))+ ( memory[cen13]+(memory[cen13] << 2))+ (memory[cen14]+(memory[cen14]<<2))\n                                                                                              ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:394: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign y_weighted_sum  = (memory[cen12]+(memory[cen12] << 2))+ ( memory[cen13]+(memory[cen13] << 2))+ (memory[cen14]+(memory[cen14]<<2))\n                                                                                                                    ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:394: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\nassign y_weighted_sum  = (memory[cen12]+(memory[cen12] << 2))+ ( memory[cen13]+(memory[cen13] << 2))+ (memory[cen14]+(memory[cen14]<<2))\n                                                                                                                                   ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:395: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen21]<<2)+(memory[cen22]<<2)+ ( memory[cen23]<<2)+ (memory[cen24]<<2)+(memory[cen25]<<2)\n               ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:395: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen21]<<2)+(memory[cen22]<<2)+ ( memory[cen23]<<2)+ (memory[cen24]<<2)+(memory[cen25]<<2)\n                                  ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:395: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen21]<<2)+(memory[cen22]<<2)+ ( memory[cen23]<<2)+ (memory[cen24]<<2)+(memory[cen25]<<2)\n                                                       ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:395: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen21]<<2)+(memory[cen22]<<2)+ ( memory[cen23]<<2)+ (memory[cen24]<<2)+(memory[cen25]<<2)\n                                                                           ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:395: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen21]<<2)+(memory[cen22]<<2)+ ( memory[cen23]<<2)+ (memory[cen24]<<2)+(memory[cen25]<<2)\n                                                                                              ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n               ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                              ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                                 ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                                                       ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                                                                      ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                                                                                           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                                                                                                          ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Operator ADD expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                                                                                                                              ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:396: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))\n                                                                                                                                                                             ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:397: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen41]<<1)+(memory[cen42]<<1)+ (memory[cen43]<<1)+ (memory[cen44]<<1)+(memory[cen45]<<1)\n               ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:397: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen41]<<1)+(memory[cen42]<<1)+ (memory[cen43]<<1)+ (memory[cen44]<<1)+(memory[cen45]<<1)\n                                  ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:397: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen41]<<1)+(memory[cen42]<<1)+ (memory[cen43]<<1)+ (memory[cen44]<<1)+(memory[cen45]<<1)\n                                                      ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:397: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen41]<<1)+(memory[cen42]<<1)+ (memory[cen43]<<1)+ (memory[cen44]<<1)+(memory[cen45]<<1)\n                                                                          ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:397: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen41]<<1)+(memory[cen42]<<1)+ (memory[cen43]<<1)+ (memory[cen44]<<1)+(memory[cen45]<<1)\n                                                                                             ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:398: Operator ADD expects 16 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen52]   )+(memory[cen53]   )+ (memory[cen54]   );\n^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:398: Operator ADD expects 16 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen52]   )+(memory[cen53]   )+ (memory[cen54]   );\n                   ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:398: Operator ADD expects 16 bits on the RHS, but RHS\'s ARRAYSEL generates 10 bits.\n                                                                                         : ... In instance Star_Extract_IP\n+(memory[cen52]   )+(memory[cen53]   )+ (memory[cen54]   );\n                                      ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:402: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nwire [9:0] m12=memory[cen12],m13= memory[cen13],m14= memory[cen14]\n                     ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:402: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nwire [9:0] m12=memory[cen12],m13= memory[cen13],m14= memory[cen14]\n                                        ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:402: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\nwire [9:0] m12=memory[cen12],m13= memory[cen13],m14= memory[cen14]\n                                                           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:403: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m21=memory[cen21],m22=memory[cen22],m23=memory[cen23],m24=memory[cen24],m25=memory[cen25]\n           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:403: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m21=memory[cen21],m22=memory[cen22],m23=memory[cen23],m24=memory[cen24],m25=memory[cen25]\n                             ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:403: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m21=memory[cen21],m22=memory[cen22],m23=memory[cen23],m24=memory[cen24],m25=memory[cen25]\n                                               ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:403: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m21=memory[cen21],m22=memory[cen22],m23=memory[cen23],m24=memory[cen24],m25=memory[cen25]\n                                                                 ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:403: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m21=memory[cen21],m22=memory[cen22],m23=memory[cen23],m24=memory[cen24],m25=memory[cen25]\n                                                                                   ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:404: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m31=memory[cen31],m32=memory[cen32],m33=memory[cen33],m34=memory[cen34],m35=memory[cen35]\n           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:404: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m31=memory[cen31],m32=memory[cen32],m33=memory[cen33],m34=memory[cen34],m35=memory[cen35]\n                             ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:404: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m31=memory[cen31],m32=memory[cen32],m33=memory[cen33],m34=memory[cen34],m35=memory[cen35]\n                                               ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:404: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m31=memory[cen31],m32=memory[cen32],m33=memory[cen33],m34=memory[cen34],m35=memory[cen35]\n                                                                 ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:404: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m31=memory[cen31],m32=memory[cen32],m33=memory[cen33],m34=memory[cen34],m35=memory[cen35]\n                                                                                   ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:405: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m41=memory[cen41],m42=memory[cen42],m43=memory[cen43],m44=memory[cen44],m45=memory[cen45]\n           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:405: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m41=memory[cen41],m42=memory[cen42],m43=memory[cen43],m44=memory[cen44],m45=memory[cen45]\n                             ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:405: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m41=memory[cen41],m42=memory[cen42],m43=memory[cen43],m44=memory[cen44],m45=memory[cen45]\n                                               ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:405: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m41=memory[cen41],m42=memory[cen42],m43=memory[cen43],m44=memory[cen44],m45=memory[cen45]\n                                                                 ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:405: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m41=memory[cen41],m42=memory[cen42],m43=memory[cen43],m44=memory[cen44],m45=memory[cen45]\n                                                                                   ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:406: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m52=memory[cen52],m53=memory[cen53],m54=memory[cen54];\n           ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:406: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m52=memory[cen52],m53=memory[cen53],m54=memory[cen54];\n                             ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:406: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n,m52=memory[cen52],m53=memory[cen53],m54=memory[cen54];\n                                               ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:442: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n        if(memory[crnt_Star_addr ] > 1)\n                 ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:444: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n        if (memory[crnt_Star_addr]>2)\n                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:446: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n        if (memory[crnt_Star_addr]>4)\n                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:448: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n        if (memory[crnt_Star_addr]>8)\n                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:450: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n        if (memory[crnt_Star_addr]>16)\n                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:452: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n        if (memory[crnt_Star_addr]>32)\n                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:454: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n        if (memory[crnt_Star_addr]>64)\n                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:456: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n        if (memory[crnt_Star_addr]>128)\n                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:458: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n        if (memory[crnt_Star_addr]>256)\n                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:460: Bit extraction of array[8959:0] requires 14 bit index, not 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n        if (memory[crnt_Star_addr]>512)\n                  ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:483: Operator ASSIGNDLY expects 16 bits on the Assign RHS, but Assign RHS\'s VARREF \'centroid_sum\' generates 15 bits.\n                                                                                         : ... In instance Star_Extract_IP\n          centroid_sum_REG <= centroid_sum;\n                           ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:489: Operator ADD expects 16 bits on the LHS, but LHS\'s VARREF \'background_sum\' generates 14 bits.\n                                                                                         : ... In instance Star_Extract_IP\n          background_mean_21 <=( background_sum)+( background_sum >>2)  +( background_sum >>4);\n                                                ^\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:489: Operator SHIFTR expects 16 bits on the LHS, but LHS\'s VARREF \'background_sum\' generates 14 bits.\n                                                                                         : ... In instance Star_Extract_IP\n          background_mean_21 <=( background_sum)+( background_sum >>2)  +( background_sum >>4);\n                                                                  ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:489: Operator SHIFTR expects 16 bits on the LHS, but LHS\'s VARREF \'background_sum\' generates 14 bits.\n                                                                                         : ... In instance Star_Extract_IP\n          background_mean_21 <=( background_sum)+( background_sum >>2)  +( background_sum >>4);\n                                                                                          ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:495: Operator SHIFTL expects 16 bits on the LHS, but LHS\'s VARREF \'background_sum\' generates 14 bits.\n                                                                                         : ... In instance Star_Extract_IP\n          background_mean_63 <=( background_sum <<2)- ( background_sum>> 4);\n                                                ^~\n%Warning-WIDTH: data/full_repos/permissive/152455180/Star_Extract_IP_Huge_Synthesis.v:495: Operator SHIFTR expects 16 bits on the LHS, but LHS\'s VARREF \'background_sum\' generates 14 bits.\n                                                                                         : ... In instance Star_Extract_IP\n          background_mean_63 <=( background_sum <<2)- ( background_sum>> 4);\n                                                                      ^~\n%Error: Exiting due to 1 error(s), 233 warning(s)\n'
module Star_Extract_IP#(parameter FRAME_WIDTH  = 1280,parameter FRAME_HEIGHT = 1024)
(

    input rst,


	input IMG_CLK_OUT    ,


	input [9:0] IMG_DOUT ,
	input IMG_FRAME_VAL  ,


	input IMG_LINE_VAL  ,

	

	output reg   we  ,


	reg    [15:0]din , 
	output [17:0]addr,
	output   sample_clk,


	
	output [0:0]LED 					,
	output reg finish_star_extract_IP	,
	output reg [2:0] IMG_TRIG,
	input [1:0] IMG_MON 
	
    
); 
(* keep_hierarchy = "yes" *)

wire  clk;
wire  clk_shift_270;
wire locked;
reg running = 0;
clk_wiz_0 Clk_Management_Unit1
(

	.clk_out1(clk),
	.clk_out2(clk_shift_270),
	.clk_out3(sample_clk),

	.clk_in1(IMG_CLK_OUT),

	.locked(locked) 
	
);  
always @(posedge clk && locked)
begin 
	running = 1;



end 

reg   [31:0]frame_addr=0, start_addr=0;
wire  [31:0]end_addr;



reg   frame_val_temp, frame_val_temp2;
reg   done=0, trigger_run=0;
 


parameter    streamPieces    = 1018;
parameter   IMG_STREAM_PIECE = 8960;
parameter FRAMEWIDTH_2 =2560;
parameter FRAMEWIDTH_3 =3840,FRAMEWIDTH_4 =5120  ; 
parameter FRAMEWIDTH_5 =6400,FRAMEWIDTH_6 =7680   ; 

reg   [9 :0] memory[IMG_STREAM_PIECE-1:0];
reg   [14:0]addr_DM   = 0;
reg   [20:0]addr_Img  = 0;
reg   [14:0]rowNumber = 0;
reg   [14:0]colNumber = 0;

reg   firstPartOfImage   = 1;

wire   transferFromCamera   ;
assign transferFromCamera   =  running&IMG_FRAME_VAL & IMG_LINE_VAL ;


reg [14:0]FRAME_WIDTH_1  ,FRAME_WIDTH_2  ,FRAME_WIDTH_3  ;
reg [14:0]FRAME_WIDTH_4  ,FRAME_WIDTH_5  ,FRAME_WIDTH_6  ; 


always @(posedge clk_shift_270 && locked )
begin 
	if (rst)
	  begin	
	
		FRAME_WIDTH_1 <=1280;
		FRAME_WIDTH_2 <=2560;
		FRAME_WIDTH_3 <=3840;
		FRAME_WIDTH_4 <=5120;
		FRAME_WIDTH_5 <=6400;
		FRAME_WIDTH_6 <=7680; 
	    addr_DM <= 0;
		addr_Img<= 0;
		firstPartOfImage   <= 1;
		rowNumber  <= 0; colNumber   <= 0;
	 end
	else 
	begin
	if (transferFromCamera)
		begin
		    if(addr_Img == (FRAME_HEIGHT*FRAME_WIDTH)-1)
			    	  firstPartOfImage <=1;
	        else 
			   begin 
			   
			     if (addr_DM == IMG_STREAM_PIECE)
			        begin 
						memory[0]          <= IMG_DOUT;					
         				addr_DM            <= 1;
					    firstPartOfImage   <= 0;
				 	   
				    end
				 else 
				    begin 
						memory[addr_DM]   <= IMG_DOUT;
						addr_DM <= addr_DM  + 1;
					end 
					
				addr_Img <= addr_Img + 1;					 
                
                if(colNumber == FRAME_WIDTH-1)
					 colNumber=0;
				else 
                     colNumber<= colNumber + 1;
					 



				if(!firstPartOfImage)
                    begin				


					if(addr_DM==IMG_STREAM_PIECE)
					 begin 
					 rowNumber<= rowNumber+1;   
					 end	
					if(addr_DM==FRAME_WIDTH)
					 begin 
					 rowNumber<= rowNumber+1;   
					 end		
					if(addr_DM==FRAMEWIDTH_2)
					 begin 
					 rowNumber<= rowNumber+1;   
					 end
					if(addr_DM==FRAMEWIDTH_3)
					 begin 
					 rowNumber<= rowNumber+1;   
					 end
					if(addr_DM==FRAMEWIDTH_4)
					 begin 
					 rowNumber<= rowNumber+1;   
					 end 
					if(addr_DM==FRAMEWIDTH_5)
					 begin 
					 rowNumber<= rowNumber+1;   
					 end
					if(addr_DM==FRAMEWIDTH_6)
					 begin 
					 rowNumber<= rowNumber+1;   
					 end
                    end	
				else 
				begin 
						if(addr_DM==FRAME_WIDTH)
							rowNumber <= 1;						
						else 
						begin 
							if(addr_DM==FRAMEWIDTH_2)
								rowNumber <= 2;
							else 
							begin 
								if(addr_DM==FRAMEWIDTH_3)
									rowNumber <= 3;
								else
								begin
									if(addr_DM==FRAMEWIDTH_4)
										rowNumber <= 4;
									else
									begin
										
										if(addr_DM==FRAMEWIDTH_5)
											rowNumber <= 5;
										else
										begin 
											if(addr_DM==FRAMEWIDTH_6)
												rowNumber <= 6;
											else
											begin 
												if(addr_DM==IMG_STREAM_PIECE)
													rowNumber <= 7;
											end
										end 								
									end 
								end 
							end
						end 
			    end
			



				if (rowNumber>=6 & colNumber>=6)
				begin 					 		

					if(addr_DM<FRAMEWIDTH_3) 
								FRAME_WIDTH_3<=FRAMEWIDTH_3-IMG_STREAM_PIECE;
					else 
									FRAME_WIDTH_3 <=3840;		

					if(addr_DM<FRAMEWIDTH_4) 
							 		FRAME_WIDTH_4<=FRAMEWIDTH_4-IMG_STREAM_PIECE;	
					else 
									FRAME_WIDTH_4 <=5120;

					if(addr_DM<FRAMEWIDTH_2) 
									FRAME_WIDTH_2<=FRAMEWIDTH_2-IMG_STREAM_PIECE;	
					else 
									FRAME_WIDTH_2 <=2560;

					if(addr_DM<FRAMEWIDTH_5) 
									FRAME_WIDTH_5<=FRAMEWIDTH_5-IMG_STREAM_PIECE;	
					else 
									FRAME_WIDTH_5 <=6400;
					
					if(addr_DM<FRAMEWIDTH_6) 
									FRAME_WIDTH_6<=FRAMEWIDTH_6-IMG_STREAM_PIECE;	
					else 
									FRAME_WIDTH_6 <=7680;
					
					if(addr_DM<FRAME_WIDTH) 
									FRAME_WIDTH_1<=FRAME_WIDTH-IMG_STREAM_PIECE;	
					else 
									FRAME_WIDTH_1 <=1280;
				end 
				
			end
		end	

		
	end		
end
 



reg  [9:0]cutoff_Brightness = 100 ;
reg  [9:0]brightCounts[9:0];
reg [9:0] num_bright_areas = 0;

reg [15:0] background_mean_21,background_mean_63 ;
reg [15:0]y_weighted_sum_REG,x_weighted_sum_REG,centroid_sum_REG;

reg getaddrPhase=0;


reg [17:0] addr_write_to_Stars_blkRAM = 0;
reg  update_stars;
reg [2:0]index;



assign   addr          = addr_write_to_Stars_blkRAM;
                         
                        
                        
wire  [14:0]crnt_Star_addr   ;
assign  crnt_Star_addr = addr_DM;

wire  [9:0] center,above,below,right,left;
wire [14:0]aboveAddr = crnt_Star_addr-FRAME_WIDTH_4-3;
wire [14:0]belowAddr = crnt_Star_addr-FRAME_WIDTH_2-3;
wire [14:0]centerAddr= crnt_Star_addr-FRAME_WIDTH_3-3;
wire [14:0]leftAddr  = crnt_Star_addr-FRAME_WIDTH_3-4;
wire [14:0]rightAddr = crnt_Star_addr-FRAME_WIDTH_3-2;

assign	center= memory[centerAddr];
assign above  = memory[aboveAddr];
assign below  = memory[belowAddr];
assign left   = memory[leftAddr];
assign right  = memory[rightAddr];


wire [13:0]background_sum ;

wire [14:0]bk02=crnt_Star_addr-2,bk03=crnt_Star_addr-3,bk04=crnt_Star_addr-4 ;
wire [14:0]bk11=crnt_Star_addr-FRAME_WIDTH_1-1,bk15=crnt_Star_addr-FRAME_WIDTH_1-5;
wire [14:0]bk20=crnt_Star_addr-FRAME_WIDTH_2,bk26=crnt_Star_addr-FRAME_WIDTH_2-6;
wire [14:0]bk30=crnt_Star_addr-FRAME_WIDTH_3,bk36=crnt_Star_addr-FRAME_WIDTH_3-6;
wire [14:0]bk40=crnt_Star_addr-FRAME_WIDTH_4,bk46=crnt_Star_addr-FRAME_WIDTH_4-6;
wire [14:0]bk51=crnt_Star_addr-FRAME_WIDTH_5-1,bk55=crnt_Star_addr-FRAME_WIDTH_5-5;
wire [14:0]bk62=crnt_Star_addr-FRAME_WIDTH_6-2,bk63=crnt_Star_addr-FRAME_WIDTH_6-3,bk64=crnt_Star_addr-FRAME_WIDTH_6-4;
assign background_sum = memory[bk02]+ memory[bk03]+memory[bk04]
+ memory[bk11]+memory[bk15]
+ memory[bk20]+memory[bk26]
+ memory[bk30]+memory[bk36]
+ memory[bk40]+memory[bk46]
+ memory[bk51]+memory[bk55]
+  memory[bk62]+ memory[bk63]+ memory[bk64];

wire [14:0]centroid_sum   ;

wire [14:0]cen12=crnt_Star_addr-FRAME_WIDTH_1-2,cen13=crnt_Star_addr-FRAME_WIDTH_1-3,cen14=crnt_Star_addr-FRAME_WIDTH_1-4;
wire [14:0]cen21=crnt_Star_addr-FRAME_WIDTH_2-1,cen22=crnt_Star_addr-FRAME_WIDTH_2-2,cen23=crnt_Star_addr-FRAME_WIDTH_2-3,cen24=crnt_Star_addr-FRAME_WIDTH_2-4,cen25=crnt_Star_addr-FRAME_WIDTH_2-5;
wire [14:0]cen31=crnt_Star_addr-FRAME_WIDTH_3-1,cen32=crnt_Star_addr-FRAME_WIDTH_3-2,cen33=crnt_Star_addr-FRAME_WIDTH_3-3,cen34=crnt_Star_addr-FRAME_WIDTH_3-4,cen35=crnt_Star_addr-FRAME_WIDTH_3-5;
wire [14:0]cen41=crnt_Star_addr-FRAME_WIDTH_4-1,cen42=crnt_Star_addr-FRAME_WIDTH_4-2,cen43=crnt_Star_addr-FRAME_WIDTH_4-3,cen44=crnt_Star_addr-FRAME_WIDTH_4-4,cen45=crnt_Star_addr-FRAME_WIDTH_4-5;
wire [14:0]cen52=crnt_Star_addr-FRAME_WIDTH_5-2,cen53=crnt_Star_addr-FRAME_WIDTH_5-3,cen54=crnt_Star_addr-FRAME_WIDTH_5-4;

assign centroid_sum  = memory[cen12]+ memory[cen13]+ memory[cen14]
+memory[cen21]+memory[cen22]+ memory[cen23]+ memory[cen24]+memory[cen25]
+memory[cen31]+memory[cen32]+ memory[cen33]+ memory[cen34]+memory[cen35]
+memory[cen41]+memory[cen42]+ memory[cen43]+ memory[cen44]+memory[cen45]
+memory[cen52]+ memory[cen53]+ memory[cen54];

wire [15:0]x_weighted_sum ;
wire [15:0]y_weighted_sum ;




assign x_weighted_sum  = (memory[cen14] << 1)+ ( memory[cen13]+(memory[cen13] << 1))+ (memory[cen12]<<2)
+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))
+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))
+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))
+(memory[cen54]<<1)+ (memory[cen53]+(memory[cen53]<<1))+ (memory[cen52]<<2);


assign	y_weighted_sum  = (memory[cen12]+(memory[cen12] << 2))+ ( memory[cen13]+(memory[cen13] << 2))+ (memory[cen14]+(memory[cen14]<<2))
+(memory[cen21]<<2)+(memory[cen22]<<2)+ ( memory[cen23]<<2)+ (memory[cen24]<<2)+(memory[cen25]<<2)
+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))
+(memory[cen41]<<1)+(memory[cen42]<<1)+ (memory[cen43]<<1)+ (memory[cen44]<<1)+(memory[cen45]<<1)
+(memory[cen52]   )+(memory[cen53]   )+ (memory[cen54]   );

										

wire [9:0] m12=memory[cen12],m13= memory[cen13],m14= memory[cen14]
,m21=memory[cen21],m22=memory[cen22],m23=memory[cen23],m24=memory[cen24],m25=memory[cen25]
,m31=memory[cen31],m32=memory[cen32],m33=memory[cen33],m34=memory[cen34],m35=memory[cen35]
,m41=memory[cen41],m42=memory[cen42],m43=memory[cen43],m44=memory[cen44],m45=memory[cen45]
,m52=memory[cen52],m53=memory[cen53],m54=memory[cen54];
																			
always @(posedge sample_clk && locked)
begin
	if(rst)
	begin 

		brightCounts[0] <= 0;brightCounts[1] <= 0;brightCounts[2] <= 0;
		brightCounts[3] <= 0;brightCounts[4] <= 0;brightCounts[5] <= 0;
		brightCounts[6] <= 0;brightCounts[7] <= 0;brightCounts[8] <= 0;
		brightCounts[9] <= 0;
        num_bright_areas <= 0;		
		addr_write_to_Stars_blkRAM <= -1;
 		getaddrPhase               <= 1;
		update_stars               <= 0;
		index                      <= 0;
		
		din           <=   0;
		background_mean_21<=0;
		background_mean_63<=0;
		y_weighted_sum_REG<=0;
		x_weighted_sum_REG<=0;
		centroid_sum_REG  <=0;
		
	end	
	else
	begin
	
    if (rowNumber>=6 & colNumber>=6)
	    begin
            begin
				if(!update_stars )
				 begin
				   
							 we           <= 0;
							 
							 if(memory[crnt_Star_addr ] > 1)
							   brightCounts[0]<=brightCounts[0]+1;
							 if (memory[crnt_Star_addr]>2)
							   brightCounts[1]<=brightCounts[1]+1;
							 if (memory[crnt_Star_addr]>4)
							   brightCounts[2]<=brightCounts[2]+1;
							 if (memory[crnt_Star_addr]>8)
							   brightCounts[3]<=brightCounts[3]+1;
							 if (memory[crnt_Star_addr]>16)
							   brightCounts[4]<=brightCounts[4]+1;
							 if (memory[crnt_Star_addr]>32)
							   brightCounts[5]<=brightCounts[5]+1;
							 if (memory[crnt_Star_addr]>64)
							   brightCounts[6]<=brightCounts[6]+1;
							 if (memory[crnt_Star_addr]>128)
							   brightCounts[7]<=brightCounts[7]+1;
							 if (memory[crnt_Star_addr]>256)
							   brightCounts[8]<=brightCounts[8]+1;
							 if (memory[crnt_Star_addr]>512)
							   brightCounts[9]<=brightCounts[9]+1;
							  


							
							 
						
							 if( center > cutoff_Brightness)
							    begin

								  
							    if( above >cutoff_Brightness | below >cutoff_Brightness | right > cutoff_Brightness | left > cutoff_Brightness)

								    if( (center >= left & center >= above & center > below & center > right ))
									  begin
									  	num_bright_areas       <= num_bright_areas+1;													 									    									    




										y_weighted_sum_REG  <= y_weighted_sum;
										x_weighted_sum_REG  <= x_weighted_sum;
										centroid_sum_REG	<= centroid_sum;
										

										background_mean_21 <=( background_sum)+( background_sum >>2)  +( background_sum >>4);
										

										background_mean_63 <=( background_sum <<2)- ( background_sum>> 4);
										

										 update_stars <= 1;
									   
								     end
								 end
							  							 							                          							

  						  							 
					  end
				else
                    begin
					   if(getaddrPhase)
					    begin
						  we           <= 1;getaddrPhase <= 0;
						end 
					   else 
					    begin 
                             if(index== 0)
							   begin 
							     din <= rowNumber -6 ;
							     addr_write_to_Stars_blkRAM <= addr_write_to_Stars_blkRAM + 1;
							     index <= 1 ;
							   end 
							 else if(index == 1)
							   begin 
							     din <= colNumber -6 ;
							     addr_write_to_Stars_blkRAM <= addr_write_to_Stars_blkRAM + 1;
								 index <= 2 ;
							   end
							  else if(index == 2) 
							     begin 

									if(y_weighted_sum_REG > background_mean_63)
											din <= y_weighted_sum_REG - background_mean_63;
									else 
											din <= 0;
							         addr_write_to_Stars_blkRAM <= addr_write_to_Stars_blkRAM + 1;
								     index <= 3 ;
								 end 
								 
							  else if(index == 3)
							     begin

										if(x_weighted_sum_REG > background_mean_63)
											din <= x_weighted_sum_REG - background_mean_63;
										else 
											din <= 0;
										addr_write_to_Stars_blkRAM <= addr_write_to_Stars_blkRAM + 1;
										index <= 4 ;
								 end  
						      else if(index == 4)
							     begin 
								    
									if(centroid_sum_REG > background_mean_21)
											din <= centroid_sum_REG - background_mean_21;
									else 
											din <= 0;
							         
								   addr_write_to_Stars_blkRAM <= addr_write_to_Stars_blkRAM + 1;
								   index <= 0 ;
								   update_stars <= 0;
								   
								 end  
							   
						end 
					end
		 
                end
            end 
  		
     end 
	 
end
	 
 
endmodule
module Star_Extract_IP#(parameter FRAME_WIDTH  = 1280,parameter FRAME_HEIGHT = 1024)
(

    input rst,


	input IMG_CLK_OUT    ,


	input [9:0] IMG_DOUT ,
	input IMG_FRAME_VAL  ,


	input IMG_LINE_VAL  ,

	

	output reg   we  ,


	reg    [15:0]din , 
	output [17:0]addr,
	output   sample_clk,


	
	output [0:0]LED 					,
	output reg finish_star_extract_IP	,
	output reg [2:0] IMG_TRIG,
	input [1:0] IMG_MON 
	
    
);
 
(* keep_hierarchy = "yes" *)

wire  clk;
wire  clk_shift_270;
wire locked;
reg running = 0;
clk_wiz_0 Clk_Management_Unit1
(

	.clk_out1(clk),
	.clk_out2(clk_shift_270),
	.clk_out3(sample_clk),

	.clk_in1(IMG_CLK_OUT),

	.locked(locked) 
	
);  
always @(posedge clk && locked)
begin 
	running = 1;



end 

reg   [31:0]frame_addr=0, start_addr=0;
wire  [31:0]end_addr;



reg   frame_val_temp, frame_val_temp2;
reg   done=0, trigger_run=0;
 


parameter    streamPieces    = 1018;
parameter   IMG_STREAM_PIECE = 8960;
parameter FRAMEWIDTH_2 =2560;
parameter FRAMEWIDTH_3 =3840,FRAMEWIDTH_4 =5120  ; 
parameter FRAMEWIDTH_5 =6400,FRAMEWIDTH_6 =7680   ; 

reg   [9 :0] memory[IMG_STREAM_PIECE-1:0];
reg   [14:0]addr_DM   = 0;
reg   [20:0]addr_Img  = 0;
reg   [14:0]rowNumber = 0;
reg   [14:0]colNumber = 0;

reg   firstPartOfImage   = 1;

wire   transferFromCamera   ;
assign transferFromCamera   =  running&IMG_FRAME_VAL & IMG_LINE_VAL ;


reg [14:0]FRAME_WIDTH_1  ,FRAME_WIDTH_2  ,FRAME_WIDTH_3  ;
reg [14:0]FRAME_WIDTH_4  ,FRAME_WIDTH_5  ,FRAME_WIDTH_6  ; 


always @(posedge clk_shift_270 && locked )
begin 
	if (rst)
	  begin	
	
		FRAME_WIDTH_1 <=1280;
		FRAME_WIDTH_2 <=2560;
		FRAME_WIDTH_3 <=3840;
		FRAME_WIDTH_4 <=5120;
		FRAME_WIDTH_5 <=6400;
		FRAME_WIDTH_6 <=7680; 
	    addr_DM <= 0;
		addr_Img<= 0;
		firstPartOfImage   <= 1;
		rowNumber  <= 0; colNumber   <= 0;
	 end
	else 
	begin
	if (transferFromCamera)
		begin
		    if(addr_Img == (FRAME_HEIGHT*FRAME_WIDTH)-1)
			    	  firstPartOfImage <=1;
	        else 
			   begin 
			   
			     if (addr_DM == IMG_STREAM_PIECE)
			        begin 
						memory[0]          <= IMG_DOUT;					
         				addr_DM            <= 1;
					    firstPartOfImage   <= 0;
				 	   
				    end
				 else 
				    begin 
						memory[addr_DM]   <= IMG_DOUT;
						addr_DM <= addr_DM  + 1;
					end 
					
				addr_Img <= addr_Img + 1;					 
                
                if(colNumber == FRAME_WIDTH-1)
					 colNumber=0;
				else 
                     colNumber<= colNumber + 1;
					 



				if(!firstPartOfImage)
                    begin				


					if(addr_DM==IMG_STREAM_PIECE)
					 begin 
					 rowNumber<= rowNumber+1;   
					 end	
					if(addr_DM==FRAME_WIDTH)
					 begin 
					 rowNumber<= rowNumber+1;   
					 end		
					if(addr_DM==FRAMEWIDTH_2)
					 begin 
					 rowNumber<= rowNumber+1;   
					 end
					if(addr_DM==FRAMEWIDTH_3)
					 begin 
					 rowNumber<= rowNumber+1;   
					 end
					if(addr_DM==FRAMEWIDTH_4)
					 begin 
					 rowNumber<= rowNumber+1;   
					 end 
					if(addr_DM==FRAMEWIDTH_5)
					 begin 
					 rowNumber<= rowNumber+1;   
					 end
					if(addr_DM==FRAMEWIDTH_6)
					 begin 
					 rowNumber<= rowNumber+1;   
					 end
                    end	
				else 
				begin 
						if(addr_DM==FRAME_WIDTH)
							rowNumber <= 1;						
						else 
						begin 
							if(addr_DM==FRAMEWIDTH_2)
								rowNumber <= 2;
							else 
							begin 
								if(addr_DM==FRAMEWIDTH_3)
									rowNumber <= 3;
								else
								begin
									if(addr_DM==FRAMEWIDTH_4)
										rowNumber <= 4;
									else
									begin
										
										if(addr_DM==FRAMEWIDTH_5)
											rowNumber <= 5;
										else
										begin 
											if(addr_DM==FRAMEWIDTH_6)
												rowNumber <= 6;
											else
											begin 
												if(addr_DM==IMG_STREAM_PIECE)
													rowNumber <= 7;
											end
										end 								
									end 
								end 
							end
						end 
			    end
			



				if (rowNumber>=6 & colNumber>=6)
				begin 					 		

					if(addr_DM<FRAMEWIDTH_3) 
								FRAME_WIDTH_3<=FRAMEWIDTH_3-IMG_STREAM_PIECE;
					else 
									FRAME_WIDTH_3 <=3840;		

					if(addr_DM<FRAMEWIDTH_4) 
							 		FRAME_WIDTH_4<=FRAMEWIDTH_4-IMG_STREAM_PIECE;	
					else 
									FRAME_WIDTH_4 <=5120;

					if(addr_DM<FRAMEWIDTH_2) 
									FRAME_WIDTH_2<=FRAMEWIDTH_2-IMG_STREAM_PIECE;	
					else 
									FRAME_WIDTH_2 <=2560;

					if(addr_DM<FRAMEWIDTH_5) 
									FRAME_WIDTH_5<=FRAMEWIDTH_5-IMG_STREAM_PIECE;	
					else 
									FRAME_WIDTH_5 <=6400;
					
					if(addr_DM<FRAMEWIDTH_6) 
									FRAME_WIDTH_6<=FRAMEWIDTH_6-IMG_STREAM_PIECE;	
					else 
									FRAME_WIDTH_6 <=7680;
					
					if(addr_DM<FRAME_WIDTH) 
									FRAME_WIDTH_1<=FRAME_WIDTH-IMG_STREAM_PIECE;	
					else 
									FRAME_WIDTH_1 <=1280;
				end 
				
			end
		end	

		
	end		
end
 



reg  [9:0]cutoff_Brightness = 100 ;
reg  [9:0]brightCounts[9:0];
reg [9:0] num_bright_areas = 0;

reg [15:0] background_mean_21,background_mean_63 ;
reg [15:0]y_weighted_sum_REG,x_weighted_sum_REG,centroid_sum_REG;

reg getaddrPhase=0;


reg [17:0] addr_write_to_Stars_blkRAM = 0;
reg  update_stars;
reg [2:0]index;



assign   addr          = addr_write_to_Stars_blkRAM;
                         
                        
                        
wire  [14:0]crnt_Star_addr   ;
assign  crnt_Star_addr = addr_DM;

wire  [9:0] center,above,below,right,left;
wire [14:0]aboveAddr = crnt_Star_addr-FRAME_WIDTH_4-3;
wire [14:0]belowAddr = crnt_Star_addr-FRAME_WIDTH_2-3;
wire [14:0]centerAddr= crnt_Star_addr-FRAME_WIDTH_3-3;
wire [14:0]leftAddr  = crnt_Star_addr-FRAME_WIDTH_3-4;
wire [14:0]rightAddr = crnt_Star_addr-FRAME_WIDTH_3-2;

assign	center= memory[centerAddr];
assign above  = memory[aboveAddr];
assign below  = memory[belowAddr];
assign left   = memory[leftAddr];
assign right  = memory[rightAddr];


wire [13:0]background_sum ;

wire [14:0]bk02=crnt_Star_addr-2,bk03=crnt_Star_addr-3,bk04=crnt_Star_addr-4 ;
wire [14:0]bk11=crnt_Star_addr-FRAME_WIDTH_1-1,bk15=crnt_Star_addr-FRAME_WIDTH_1-5;
wire [14:0]bk20=crnt_Star_addr-FRAME_WIDTH_2,bk26=crnt_Star_addr-FRAME_WIDTH_2-6;
wire [14:0]bk30=crnt_Star_addr-FRAME_WIDTH_3,bk36=crnt_Star_addr-FRAME_WIDTH_3-6;
wire [14:0]bk40=crnt_Star_addr-FRAME_WIDTH_4,bk46=crnt_Star_addr-FRAME_WIDTH_4-6;
wire [14:0]bk51=crnt_Star_addr-FRAME_WIDTH_5-1,bk55=crnt_Star_addr-FRAME_WIDTH_5-5;
wire [14:0]bk62=crnt_Star_addr-FRAME_WIDTH_6-2,bk63=crnt_Star_addr-FRAME_WIDTH_6-3,bk64=crnt_Star_addr-FRAME_WIDTH_6-4;
assign background_sum = memory[bk02]+ memory[bk03]+memory[bk04]
+ memory[bk11]+memory[bk15]
+ memory[bk20]+memory[bk26]
+ memory[bk30]+memory[bk36]
+ memory[bk40]+memory[bk46]
+ memory[bk51]+memory[bk55]
+  memory[bk62]+ memory[bk63]+ memory[bk64];

wire [14:0]centroid_sum   ;

wire [14:0]cen12=crnt_Star_addr-FRAME_WIDTH_1-2,cen13=crnt_Star_addr-FRAME_WIDTH_1-3,cen14=crnt_Star_addr-FRAME_WIDTH_1-4;
wire [14:0]cen21=crnt_Star_addr-FRAME_WIDTH_2-1,cen22=crnt_Star_addr-FRAME_WIDTH_2-2,cen23=crnt_Star_addr-FRAME_WIDTH_2-3,cen24=crnt_Star_addr-FRAME_WIDTH_2-4,cen25=crnt_Star_addr-FRAME_WIDTH_2-5;
wire [14:0]cen31=crnt_Star_addr-FRAME_WIDTH_3-1,cen32=crnt_Star_addr-FRAME_WIDTH_3-2,cen33=crnt_Star_addr-FRAME_WIDTH_3-3,cen34=crnt_Star_addr-FRAME_WIDTH_3-4,cen35=crnt_Star_addr-FRAME_WIDTH_3-5;
wire [14:0]cen41=crnt_Star_addr-FRAME_WIDTH_4-1,cen42=crnt_Star_addr-FRAME_WIDTH_4-2,cen43=crnt_Star_addr-FRAME_WIDTH_4-3,cen44=crnt_Star_addr-FRAME_WIDTH_4-4,cen45=crnt_Star_addr-FRAME_WIDTH_4-5;
wire [14:0]cen52=crnt_Star_addr-FRAME_WIDTH_5-2,cen53=crnt_Star_addr-FRAME_WIDTH_5-3,cen54=crnt_Star_addr-FRAME_WIDTH_5-4;

assign centroid_sum  = memory[cen12]+ memory[cen13]+ memory[cen14]
+memory[cen21]+memory[cen22]+ memory[cen23]+ memory[cen24]+memory[cen25]
+memory[cen31]+memory[cen32]+ memory[cen33]+ memory[cen34]+memory[cen35]
+memory[cen41]+memory[cen42]+ memory[cen43]+ memory[cen44]+memory[cen45]
+memory[cen52]+ memory[cen53]+ memory[cen54];

wire [15:0]x_weighted_sum ;
wire [15:0]y_weighted_sum ;




assign x_weighted_sum  = (memory[cen14] << 1)+ ( memory[cen13]+(memory[cen13] << 1))+ (memory[cen12]<<2)
+memory[cen25]+(memory[cen24]<<1)+ ( memory[cen23]+(memory[cen23]<<1))+ (memory[cen22]<<2)+(memory[cen21]+(memory[cen21]<<2))
+memory[cen35]+(memory[cen34]<<1)+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen32]<<2)+(memory[cen31]+(memory[cen31]<<2))
+memory[cen45]+(memory[cen44]<<1)+ ( memory[cen43]+(memory[cen43]<<1))+ (memory[cen42]<<2)+(memory[cen41]+(memory[cen41]<<2))
+(memory[cen54]<<1)+ (memory[cen53]+(memory[cen53]<<1))+ (memory[cen52]<<2);


assign	y_weighted_sum  = (memory[cen12]+(memory[cen12] << 2))+ ( memory[cen13]+(memory[cen13] << 2))+ (memory[cen14]+(memory[cen14]<<2))
+(memory[cen21]<<2)+(memory[cen22]<<2)+ ( memory[cen23]<<2)+ (memory[cen24]<<2)+(memory[cen25]<<2)
+(memory[cen31]+(memory[cen31]<<1))+(memory[cen32]+(memory[cen32]<<1))+ ( memory[cen33]+(memory[cen33]<<1))+ (memory[cen34]+(memory[cen34]<<1))+(memory[cen35]+(memory[cen35]<<1))
+(memory[cen41]<<1)+(memory[cen42]<<1)+ (memory[cen43]<<1)+ (memory[cen44]<<1)+(memory[cen45]<<1)
+(memory[cen52]   )+(memory[cen53]   )+ (memory[cen54]   );

										

wire [9:0] m12=memory[cen12],m13= memory[cen13],m14= memory[cen14]
,m21=memory[cen21],m22=memory[cen22],m23=memory[cen23],m24=memory[cen24],m25=memory[cen25]
,m31=memory[cen31],m32=memory[cen32],m33=memory[cen33],m34=memory[cen34],m35=memory[cen35]
,m41=memory[cen41],m42=memory[cen42],m43=memory[cen43],m44=memory[cen44],m45=memory[cen45]
,m52=memory[cen52],m53=memory[cen53],m54=memory[cen54];
																			
always @(posedge sample_clk && locked)
begin
	if(rst)
	begin 

		brightCounts[0] <= 0;brightCounts[1] <= 0;brightCounts[2] <= 0;
		brightCounts[3] <= 0;brightCounts[4] <= 0;brightCounts[5] <= 0;
		brightCounts[6] <= 0;brightCounts[7] <= 0;brightCounts[8] <= 0;
		brightCounts[9] <= 0;
        num_bright_areas <= 0;		
		addr_write_to_Stars_blkRAM <= -1;
 		getaddrPhase               <= 1;
		update_stars               <= 0;
		index                      <= 0;
		
		din           <=   0;
		background_mean_21<=0;
		background_mean_63<=0;
		y_weighted_sum_REG<=0;
		x_weighted_sum_REG<=0;
		centroid_sum_REG  <=0;
		
	end	
	else
	begin
	
    if (rowNumber>=6 & colNumber>=6)
	    begin
            begin
				if(!update_stars )
				 begin
				   
							 we           <= 0;
							 
							 if(memory[crnt_Star_addr ] > 1)
							   brightCounts[0]<=brightCounts[0]+1;
							 if (memory[crnt_Star_addr]>2)
							   brightCounts[1]<=brightCounts[1]+1;
							 if (memory[crnt_Star_addr]>4)
							   brightCounts[2]<=brightCounts[2]+1;
							 if (memory[crnt_Star_addr]>8)
							   brightCounts[3]<=brightCounts[3]+1;
							 if (memory[crnt_Star_addr]>16)
							   brightCounts[4]<=brightCounts[4]+1;
							 if (memory[crnt_Star_addr]>32)
							   brightCounts[5]<=brightCounts[5]+1;
							 if (memory[crnt_Star_addr]>64)
							   brightCounts[6]<=brightCounts[6]+1;
							 if (memory[crnt_Star_addr]>128)
							   brightCounts[7]<=brightCounts[7]+1;
							 if (memory[crnt_Star_addr]>256)
							   brightCounts[8]<=brightCounts[8]+1;
							 if (memory[crnt_Star_addr]>512)
							   brightCounts[9]<=brightCounts[9]+1;
							  


							
							 
						
							 if( center > cutoff_Brightness)
							    begin

								  
							    if( above >cutoff_Brightness | below >cutoff_Brightness | right > cutoff_Brightness | left > cutoff_Brightness)

								    if( (center >= left & center >= above & center > below & center > right ))
									  begin
									  	num_bright_areas       <= num_bright_areas+1;													 									    									    




										y_weighted_sum_REG  <= y_weighted_sum;
										x_weighted_sum_REG  <= x_weighted_sum;
										centroid_sum_REG	<= centroid_sum;
										

										background_mean_21 <=( background_sum)+( background_sum >>2)  +( background_sum >>4);
										

										background_mean_63 <=( background_sum <<2)- ( background_sum>> 4);
										

										 update_stars <= 1;
									   
								     end
								 end
							  							 							                          							

  						  							 
					  end
				else
                    begin
					   if(getaddrPhase)
					    begin
						  we           <= 1;getaddrPhase <= 0;
						end 
					   else 
					    begin 
                             if(index== 0)
							   begin 
							     din <= rowNumber -6 ;
							     addr_write_to_Stars_blkRAM <= addr_write_to_Stars_blkRAM + 1;
							     index <= 1 ;
							   end 
							 else if(index == 1)
							   begin 
							     din <= colNumber -6 ;
							     addr_write_to_Stars_blkRAM <= addr_write_to_Stars_blkRAM + 1;
								 index <= 2 ;
							   end
							  else if(index == 2) 
							     begin 

									if(y_weighted_sum_REG > background_mean_63)
											din <= y_weighted_sum_REG - background_mean_63;
									else 
											din <= 0;
							         addr_write_to_Stars_blkRAM <= addr_write_to_Stars_blkRAM + 1;
								     index <= 3 ;
								 end 
								 
							  else if(index == 3)
							     begin

										if(x_weighted_sum_REG > background_mean_63)
											din <= x_weighted_sum_REG - background_mean_63;
										else 
											din <= 0;
										addr_write_to_Stars_blkRAM <= addr_write_to_Stars_blkRAM + 1;
										index <= 4 ;
								 end  
						      else if(index == 4)
							     begin 
								    
									if(centroid_sum_REG > background_mean_21)
											din <= centroid_sum_REG - background_mean_21;
									else 
											din <= 0;
							         
								   addr_write_to_Stars_blkRAM <= addr_write_to_Stars_blkRAM + 1;
								   index <= 0 ;
								   update_stars <= 0;
								   
								 end  
							   
						end 
					end
		 
                end
            end 
  		
     end 
	 
end
	 
 
endmodule