cornell-brg / pymtl

Python-based hardware modeling framework
BSD 3-Clause "New" or "Revised" License
237 stars 82 forks source link

SubModule PortBundles accessed in a behavioral block translate incorrectly #67

Closed dmlockhart closed 10 years ago

dmlockhart commented 10 years ago

The following source:

    @s.combinational
    def logic():
      for i in range(2):
        s.submod.bundle.port.value = s.signal

Will translate the "s.submodule.bundle.port" to simply "port" in verilog, although it should be translated to "submodule_bundle_port".