utils/vlog: correct pb_type name and removed comments to assertions

The comments to the assertions where a WIP. without them some v2x tests
will fail

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
diff --git a/vlog_to_pbtype.py b/vlog_to_pbtype.py
index 2e69ca4..a9b0571 100755
--- a/vlog_to_pbtype.py
+++ b/vlog_to_pbtype.py
@@ -119,7 +119,6 @@
 def mod_pb_name(mod):
     """Convert a Verilog module to a pb_type name in the format documented here:
     https://github.com/SymbiFlow/symbiflow-arch-defs/#names"""
-    return mod.name
     is_blackbox = (mod.attr("blackbox", 0) == 1)
     modes = mod.attr("MODES", None)
     has_modes = modes is not None
@@ -213,12 +212,12 @@
             inp_cons = mod.cell_conns(cname, "input")
             for pin, net in inp_cons:
                 drvs = mod.net_drivers(net)
-                #assert len(drvs) > 0, (
-                #    "ERROR: pin {}.{} has no driver, interconnect will be missing\n{}".
-                #    format(pb_name, pin, mod))
-                #assert len(drvs) < 2, (
-                #    "ERROR: pin {}.{} has multiple drivers, interconnect will be overspecified".
-                #    format(pb_name, pin))
+                assert len(drvs) > 0, (
+                    "ERROR: pin {}.{} has no driver, interconnect will be missing\n{}".
+                    format(pb_name, pin, mod))
+                assert len(drvs) < 2, (
+                    "ERROR: pin {}.{} has multiple drivers, interconnect will be overspecified".
+                    format(pb_name, pin))
                 for drv_cell, drv_pin in drvs:
                     interconn.append(((drv_cell, drv_pin), (cname, pin)))