Answers Database


2.1i COREGEN, C_IP3: Error in COUNTER HDL behavioral model when COUNT BY VARIABLE and COUNT TO VALUE = "MAX" are selected


Record #7897

Product Family: Software

Product Line: LogiCore

Product Part: Coregen IP Modules

Problem Title:

2.1i COREGEN, C_IP3: Error in COUNTER HDL behavioral model when COUNT BY VARIABLE and COUNT TO VALUE = "MAX" are selected



Problem Description:
Urgency: standard

General Description:
The CORE Generator COUNTER behavioral model is incorrect when both "Count by Variable" and "Restrict Count = MAX" are selected.

If the COUNT TYPE is set to "Count by Variable" and tied to, say, a value of "2", and the RESTRICT COUNT "Count to Value" is set to "MAX", after reaching the upper limit of the count value, the implemented module goes directly to 0001 (1111+0010) in simulation, whereas the behavioral model cycles back to 0000 first before counting up again to 0010, 0100..., et c.


Solution 1:

This is a known problem.

As a workaround for bug in the behavioral simulation model, you can perform a post-NGDBUILD functional simulation instead of a behavioral simulation.




End of Record #7897 - Last Modified: 10/22/99 15:06

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!