Altera_Forum
Honored Contributor
13 years agoHelp!! Issue with large adder design!!
Hi,
I am trying to build a very large adder, that almost fill all the possible logic elements on the fpga chip, and test it performance. however with the current code, when increase my adder size(currently 8000bits, which is less 2% memory bits, and 2000 logic elements, less than 10% on chip), I got error message: "Error: Selected device has 105 RAM location(s) of type M4K. However, the current design needs more than 105 to successfully fit" I have searched about this, one suggestion is change the device, but since my aim is full fill the chip, this is not an option. some people suggest force design use register intead memory blocks, but how can i do that? I am quite new to vhdl & fpga. I dont know if there is any way I can pass the error, so please help. I have attached my code, FA is a full adder, RCA is a 4 bit adder with 4 FA, CA contain 2000 RCA so should be 8000bit long, ADDER is the shift input from testbench. Many thanks!! https://www.alteraforum.com/forum/attachment.php?attachmentid=5967 https://www.alteraforum.com/forum/attachment.php?attachmentid=5968 https://www.alteraforum.com/forum/attachment.php?attachmentid=5969 https://www.alteraforum.com/forum/attachment.php?attachmentid=5970