pymtl3 icon indicating copy to clipboard operation
pymtl3 copied to clipboard

Add an api that works at any time to get the type of a signal

Open jsn1993 opened this issue 5 years ago • 0 comments

Such API can remove some parameters for construction

def construct( s, DecoderType ):
  s.decoder = DecoderType()
  s.branch_type = Wire( s.decoder.branch_type.get_datatype() )

jsn1993 avatar Feb 21 '20 16:02 jsn1993