hwt/synthesizer/param.py
def evalParam(p):
    """
    Get value of parameter
    """
    while isinstance(p, Param):
        p = p.get()

    if isinstance(p, RtlSignalBase):
        return p.staticEval()
        # use rather param inheritance instead of param as param value
    return toHVal(p)
def evalParam(p):
    while isinstance(p, Param):
        p = p.get()

    if isinstance(p, RtlSignalBase):
        return p.staticEval()
        # use rather param inheritance instead of param as param value
    return toHVal(p)
def evalParam ( p ) : while isinstance ( p , Param ) : p = p . get ( ) if isinstance ( p , RtlSignalBase ) : return p . staticEval ( ) # use rather param inheritance instead of param as param value return toHVal ( p )
Get value of parameter
Get value of parameter