Altera_Forum
Honored Contributor
10 years agoALTSHIFT_TABS automatically inserted into the design
I had the following in my design:
r_reg1 <= { r_reg1, inputpin }; Then I had to introduce a condition to select which register input data will be shifted into, I did it this way: if(r_condition)
r_reg1 <= { r_reg1, inputpin };
else r_reg2 <= { r_reg2, inputpin }; And my project stops compiling because Quartus tries to use another M9K block for Altshift_Tabs megafunction, and all the RAM blocks are already in use. Why Quartus is doing it? Why it does not do what it was instructed to do - just use two registers and shift input data in respective one on the condition? Please advise. Thank you.