dll_fpga
Full Member level 3
- Joined
- Mar 9, 2011
- Messages
- 185
- Helped
- 19
- Reputation
- 38
- Reaction score
- 21
- Trophy points
- 1,298
- Location
- kerala,India
- Activity points
- 2,416
hello,
I need to input data to a ram .....first 64 bits are inputted to first location of the ram in the first clock cycle....
2nd 64 bits are inputted to second location of the ram in the second clock cycle....
till 8th data at the 8th clockcyle?
i had wrote a code for this in verilog.....but this code is not synthesisable........... here mem is the memory module.........
//////////////////////////////////////
@(posedge clk)
wa =0;
di =mem[addr];
addr=addr+1;
end
repeat(7)
begin
@(posedge clk);
wa = wa+1;
di = mem[addr];
addr = addr+1;
end
////////////////////////////////////
what is to be done so that i can synthesise in fpga? ie.i need to write data to a ram module(not inbuilt Ram but designed by me) in fpga............
first data should go to the first location at the first clock cycle....
2nd data to the second location at the second clock cycle...
and so forth.....
Any psuedo code for the same?....
(if by using chipscope then....tell how this can be achieved....)
I need to input data to a ram .....first 64 bits are inputted to first location of the ram in the first clock cycle....
2nd 64 bits are inputted to second location of the ram in the second clock cycle....
till 8th data at the 8th clockcyle?
i had wrote a code for this in verilog.....but this code is not synthesisable........... here mem is the memory module.........
//////////////////////////////////////
@(posedge clk)
wa =0;
di =mem[addr];
addr=addr+1;
end
repeat(7)
begin
@(posedge clk);
wa = wa+1;
di = mem[addr];
addr = addr+1;
end
////////////////////////////////////
what is to be done so that i can synthesise in fpga? ie.i need to write data to a ram module(not inbuilt Ram but designed by me) in fpga............
first data should go to the first location at the first clock cycle....
2nd data to the second location at the second clock cycle...
and so forth.....
Any psuedo code for the same?....
(if by using chipscope then....tell how this can be achieved....)