usamaaslam1
Newbie level 6
Hi,
i have implemented a memory of 16*64
i need 2 shift the values i did it by using case statements
sme line are as follow
there are 64 states. i am facing problem regarding the critical path its over 5 ns i want to make it below 5 ns
presently the implementaion is single cycle. cycles can be increased.
anyone having any idea plz help
i have implemented a memory of 16*64
i need 2 shift the values i did it by using case statements
sme line are as follow
Code:
case (addr)
64'd59:
begin
mem[59] <= `D dinput;
mem[60] <= `D mem[59];
mem[61] <= `D mem[60];
mem[62] <= `D mem[61];
mem[63] <= `D mem[62];
end
64'd60:
begin
mem[60] <= `D dinput;
mem[61] <= `D mem[60];
mem[62] <= `D mem[61];
mem[63] <= `D mem[62];
end
64'd61:
begin
mem[61] <= `D dinput;
mem[62] <= `D mem[61];
mem[63] <= `D mem[62];
end
64'd62:
begin
mem[62] <= `D dinput;
mem[63] <= `D mem[62];
end
endcase
there are 64 states. i am facing problem regarding the critical path its over 5 ns i want to make it below 5 ns
presently the implementaion is single cycle. cycles can be increased.
anyone having any idea plz help