blob: 9332f9e2140c0e4d6abb5bb59f920f5e7aed433d [file] [log] [blame]
Nico Huber83693c82016-10-08 22:17:55 +02001--
2-- Copyright (C) 2015-2016 secunet Security Networks AG
3--
4-- This program is free software; you can redistribute it and/or modify
5-- it under the terms of the GNU General Public License as published by
6-- the Free Software Foundation; version 2 of the License.
7--
8-- This program is distributed in the hope that it will be useful,
9-- but WITHOUT ANY WARRANTY; without even the implied warranty of
10-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-- GNU General Public License for more details.
12--
13
14package HW.GFX.DP_Defs is
15
16 type Aux_Message_Command is mod 2 ** 4;
17 type Aux_Message_Address is mod 2 ** 20;
18
19 subtype Aux_Payload_Length is Natural range 0 .. 16;
20 subtype Aux_Payload_Index is Natural range 0 .. Aux_Payload_Length'Last - 1;
21 subtype Aux_Payload is Buffer (Aux_Payload_Index);
22
23 subtype Aux_Request_Length is Natural range 3 .. 20;
24 subtype Aux_Request_Index is Natural range 0 .. Aux_Request_Length'Last - 1;
25 subtype Aux_Request is Buffer (Aux_Request_Index);
26
27 subtype Aux_Response_Length is Natural range 1 .. 17;
28 subtype Aux_Response_Index is
29 Natural range 0 .. Aux_Response_Length'Last - 1;
30 subtype Aux_Response is Buffer (Aux_Response_Index);
31
32end HW.GFX.DP_Defs;