Digilent Cmod S6 Reference Manual Download Page 4

Cmod S6™ FPGA Board Reference Manual 

 

 

Copyright Digilent, Inc. All rights reserved. 

Other product and company names mentioned may be trademarks of their respective owners.

 

Page 

4

 of 

4

 

 

Address (HEX 
value)

 

Function

 

0 (0x0)

 

Stores the logic value present on pins 1 through 8 

1 (0x1)

 

Stores the logic value present on pins 9 through 16 

2 (0x2)

 

Stores the logic value present on pins 17 through 23 

3 (0x3)

 

Stores the logic value present on pins 26 through 33 

4 (0x4)

 

Stores the logic value present on pins 34 through 41 

5 (0x5)

 

Stores the logic value present on pins 42 through 48 

6 (0x6)

 

Controls the I/O state of pins 1 through 8 

7 (0x7)

 

Controls the I/O state of pins 9 through 16 

8 (0x8)

 

Controls the I/O state of pins 17 through 23 

9 (0x9)

 

Controls the I/O state of pins 26 through 33 

10 (0xA) 

Controls the I/O state of pins 34 through 41 

11 (0xB) 

Controls the I/O state of pins 42 through 48 

 

 

Table 1.

 

DEPP Register Map for factory loaded configuration. 

The least significant bit in any register corresponds to the smallest pin number that it controls. Registers 6 through 
11 will set up a pin controlled by registers 0 through 5 as an input if the corresponding bit in the register is a logic 
'1' and will set up the pin as an output if the corresponding bit in the register is a logic '0'. For example, if the value 
stored in register 6 is 11110000 in binary (0xF0 in HEX), the pins 1-4 on the Cmod S6 will be set as outputs and pins 
5-8 will be set as inputs. When a pin is configured as an output, it will initially be driven low (logic '0').  

The source code for this project can be found on the Cmod S6 product page of the Digilent website, 
www.digilentinc.com.  

 

Reviews: