function hdlblkmask_word2bits(block_name, wLen)
%

%   Copyright 2022 The MathWorks, Inc.

    cObj = Simulink.DataConstraints;
    cObj.Dimensions = 'scalar';
    cObj.Complexities = 'real';
    cObj.DataTypes = {'uint8','int8','uint16','int16','uint32','int32','uint64','int64','fixpt-binary'};
    cObj.FixedpointTypes = "fix" + (1:wLen) + "_*";
    setDataConstraintsToPort(cObj,block_name,"Input",1);
end
