Increase maximum LUT size in blifparse to 12 bits
authorClifford Wolf <clifford@clifford.at>
Wed, 27 Sep 2017 13:27:42 +0000 (15:27 +0200)
committerClifford Wolf <clifford@clifford.at>
Wed, 27 Sep 2017 13:27:42 +0000 (15:27 +0200)
frontends/blif/blifparse.cc

index 3af0cd441d63aa647bc119f811044288141c496c..e6bb9995459e52d893ea8c7a8d3d01eefc3ab493 100644 (file)
@@ -522,7 +522,7 @@ void parse_blif(RTLIL::Design *design, std::istream &f, std::string dff_name, bo
 
                if (lutptr)
                {
-                       if (input_len > 8)
+                       if (input_len > 12)
                                goto error;
 
                        for (int i = 0; i < (1 << input_len); i++) {