1/*
2 * Copyright (c) 2014 ETH Zurich. All rights reserved.
3 *
4 * This file is distributed under the terms in the attached LICENSE file.
5 * If you do not find this file, copies can be found by writing to:
6 * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group.
7 */
8
9/*
10 * xeon_phi_serial.dev
11 *
12 * description: register definitions for the Xeon Phi software scratch registers
13 *
14 * Base: the base of the sbox
15 */
16
17device xeon_phi_serial lsbfirst ( addr base ) "Intel Xeon Phi Software Scratch Registers" {
18   
19    constants ctrl_values width(8) "Constants" {
20        reset = 0x0;
21        data  = 0x7A;
22    };
23   
24    // currently scratch 15 register
25    register data rw addr(base, 0xAB5C) "" {
26          value0 8 "Datavalue to send";
27          value1 8 "Datavalue to send";
28          value2 8 "Datavalue to send";
29          value3 8 "Datavalue to send";
30    };
31    
32    // currently scratch 8 register
33    register ctrl rw addr(base, 0xAB40) "" {
34          value0 8 "Datavalue to send";
35          value1 8 "Datavalue to send";
36          value2 8 "Datavalue to send";
37          value3 8 "Datavalue to send";
38    };
39
40
41};