Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hi
I'm new to verrilog HDL...I want to write a program for matrix operations in verilog..please help me
reg [7:0] mem [0:3];
Didn't you mean 8X4 ?This array would be able to hold a 4x4 matrix of bytes
Oops I meant 2x2 4 entries, that's what I get for posting when tired.
So the memory is divided up as 2 rows of 2 bytes by using address = {col,row};.