how to convert for loop aa a synthesizable code

Status
Not open for further replies.

praisy faith

Newbie level 1
Joined
Oct 30, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
5
my code is shown below
l=0;
if(l<100)
begin
for(i=l+1;i<l+4;l=l+1)
a=mem;
end

can u give me synthesizable code fr the above problem
 

l=0;

for(l=0;l<100;l++)
{
a[l]=mem[l];
}

Simple...
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…