Matrix multiplication

In reply to dave_59:

Hi,

i want multiply two matrix with NN,
i.e when i give N=3 it multiply 3
3 matrix

i’m unable to give inputs to matrix “a” and “b”.

am coded like this
reg [3:0]a= {4’d2,4’d3,4’d1,4’d6};
reg [3:0]b= {4’d1,4’d0,4’d1,4’d5};

https://www.edaplayground.com/x/3ESR.