pymtl3
pymtl3 copied to clipboard
Add an api that works at any time to get the type of a signal
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() )