mimiza
Junior Member level 2

Hello,
I'm using acceldsp to convert a file.m to vhdl. I write this code on matlab:
function Y=addto(P,z)
switch(z)
case(1)
X=P+3;
Y=P;
case(0)
Y=X+P;
end
end
I will use the case z=1 only once time,after that I want to store X in ROM memory.
Can any one tel me how to do that.
Thanks
I'm using acceldsp to convert a file.m to vhdl. I write this code on matlab:
function Y=addto(P,z)
switch(z)
case(1)
X=P+3;
Y=P;
case(0)
Y=X+P;
end
end
I will use the case z=1 only once time,after that I want to store X in ROM memory.
Can any one tel me how to do that.
Thanks