The code mentioned in the lik is working fine, but i want to use DSP48 for processing of 500*500 matrix in less clock cycle. Please suggest suitable basic code with dsp48 slice
The use of DSP48 is already inferred. What you will need to do to improve the performance is to make the design compute the elements in a more parallel fashion. The DSP48s won't increase the parallelism of the design. You have to change the architecture of the design.
I am the author of the post.
ads-ee is absolutely right. Just want to add this. If you want to use DSP48s for the design, just change the synthesis settings in order to let the synthesizer use DSP48 for synthesis process. If you want to increase the speed of the matrix multiplication, you have to parallelize the architecture or using pipelines.