Skip to content

pymtl does check ".value" for single level Wire/OutPort but doesn't for the second level within message type #162

@jsn1993

Description

@jsn1993
a = Wire( 1 ) 

s.a = 1
PyMTLError: Attempting to write a(n) Wire without .value!
a = OutPort( 1 )

s.a = 1
PyMTLError: Attempting to write a(n) OutPort without .value!
a = Wire( MemReqMsg(8,32,32) ) 

s.a.data = 1
Pymtl doesn't complain but it should.
s.a = 1 
PyMTLError: Attempting to write a(n) Wire without .value!
a = OutPort( MemReqMsg(8,32,32) )

s.a.data = 1
Pymtl doesn't complain but it should.

Probably because of the lack of enough lowering ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions