
Universal Library User's Guide Counter Boards - QUAD Series
170
The IOR register cannot be read. However, you can read the values of the BADR2+9 register. The value for
Base 2 can be determined by looking at the resources used by the board. The 8-bit region is BADR2. The
BADR+9 register contains values for PhxA and PhxB, for x = 1 to 4 to identify counters. The diagram below
indicates the routing of the FLG pins depending on the value of PhxA and PhxB. The actual values of the
BADR2+9 register are shown below:
Counter Cascading Functional Diagram
Register BADR2 + 9 D0-D6
Case 1: (4) 24-bit counters (1/2/3/4)
Case 2: (2) 48-bit counters (1-2/3/4)
Case 3: (1) 24-bit, (1) 72-bit (1/2-3-4)
Case 4: (1) 96-bit counter (1-2-3-4)
Defaults to 0x00 (no inter-counter connections).
Examples
Case 1: (4) 24-bit counters (1/2/3/4)
cbC7266Config(0,1,0,0,2,0,0,1,0)
cbC7266Config(0,2,0,0,2,0,0,1,0)
cbC7266Config(0,3,0,0,2,0,0,1,0)
cbC7266Config(0,4,0,0,2,0,0,1,0)
Case 2: (2) 48-bit counters (1-2/3-4)
cbC7266Config(0,1,0,0,2,0,0,3,0)
cbC7266Config(0,2,0,0,2,0,0,1,0)
cbC7266Config(0,3,0,0,2,0,0,3,0)
cbC7266Config(0,4,0,0,2,0,0,1,0)
Case 3: (1) 24-bit & (1) 72-bit counter (1/2-3-4)
cbC7266Config(0,1,0,0,2,0,0,1,0)
cbC7266Config(0,2,0,0,2,0,0,3,0)
cbC7266Config(0,3,0,0,2,0,0,3,0)
cbC7266Config(0,4,0,0,2,0,0,1,0)
Case 4: (1) 96-bit counter (1-2-3-4)
cbC7266Config(0,1,0,0,2,0,0,3,0)
cbC7266Config(0,2,0,0,2,0,0,3,0)
cbC7266Config(0,3,0,0,2,0,0,3,0)
cbC7266Config(0,4,0,0,2,0,0,1,0)
The actual value of the BADR+9 register is not set until the cbCLoad()/CLoad() command is called.
Counter4 setting
Setting Counter4 to CARRYBORROW-UPDOWN is NOT VALID.
Comentarios a estos manuales