Altera_Forum
Honored Contributor
11 years agoIs MAX V register itself really configurable as T or JK flip-flop to build a counter?
The MAX V CPLD handbook says: 'You can configure each LE's programmable register for D, T, JK, or SR operation.'
My question is: How can I actually select between these operations of the LE-register when I instantiate the LE directly in architectural level, and do I need to involve additional combinational logic to achieve a T / JK operation of the register instead of its default 'D' mode? More info about my plan: I would like to implement a (loadable/settable) 8bit up-counter using only the register part of the LE, so I can use the 8 remaining LUTs for other purposes and maintain a great area efficiency... (My reason is that the full design need to fit in the smallest 5M40Z, I need to utilize the chip very efficiently to fit in area and timing-constraints, so I want to use the least possible amount of resources for the counter. I seem to have full low-level control with 'maxv_lcell_register' simulation atom, but it has no parameter to describe the flip-flop type as JK or T, whatever. ) Thanks in advance, if anyone have an idea or hint, or maybe other tip for efficient counter-creation... (Or pointing out a better source of description of MAX V CPLD LE's architecture.)