function [constMatrix,constMatrixType,matrixSource,sharingFactor,useRAM,matrixInputInfo] = getBlockInfo(this, slbh)
%

%   Copyright 2016-2023 The MathWorks, Inc.
constMatrix = hdlslResolve('constMatrix',slbh);
constMatrixType = hdlslResolve('matrixType',slbh);
matrixSource = hdlslResolve('MatrixSource',slbh);

matrixInputInfo.matrixSize = hdlslResolve('MatrixSize',slbh);
matrixInputInfo.columnIndices = hdlslResolve('ColumnIndices',slbh);
matrixInputInfo.rowIndices = hdlslResolve('RowIndices',slbh);


% default value for sharing factor = 0. sharing factor 0 or 1 imply a fully
% parallel implementation or no sharing
sharingFactor = 1;
sharingFactorImpl = this.getImplParams('SharingFactor');
useRAM = 'off';
useRamImpl = this.getImplParams('UseRAM');

if ~isempty(sharingFactorImpl)
    % get the non-default value
    sharingFactor = sharingFactorImpl;
end

if ~isempty(useRamImpl)
    % get the non-default value
    useRAM = useRamImpl;
end

end
