samedi 25 avril 2015

I have a fixed point matlab code and it needs to be converted to verilog and below is the code


I have a fixed point matlab code and it needs to be converted to verilog and below is the matlab code

yfftshift has (5000x0) and y2shape has (100x50)

rows=100;

colms=50;

r=1; for m=0:colms-1

for n=0:rows-1

  y2shape(n+1,m+1)=yfftshift(r,1);

  r=r+1;

end

end

How to create memories in verilog and call it inside in for loop is making me difficult.Kindly help me out


Aucun commentaire:

Enregistrer un commentaire