blob: 76d8e1db4e0a35cdc37d39fb02b1003936ae5025 [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
Nico Huber125a29e2016-10-18 00:23:54 +02006-- the Free Software Foundation; either version 2 of the License, or
7-- (at your option) any later version.
Nico Huber83693c82016-10-08 22:17:55 +02008--
9-- This program is distributed in the hope that it will be useful,
10-- but WITHOUT ANY WARRANTY; without even the implied warranty of
11-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-- GNU General Public License for more details.
13--
14
15package HW.GFX.DP_Defs is
16
17 type Aux_Message_Command is mod 2 ** 4;
18 type Aux_Message_Address is mod 2 ** 20;
19
20 subtype Aux_Payload_Length is Natural range 0 .. 16;
21 subtype Aux_Payload_Index is Natural range 0 .. Aux_Payload_Length'Last - 1;
22 subtype Aux_Payload is Buffer (Aux_Payload_Index);
23
24 subtype Aux_Request_Length is Natural range 3 .. 20;
25 subtype Aux_Request_Index is Natural range 0 .. Aux_Request_Length'Last - 1;
26 subtype Aux_Request is Buffer (Aux_Request_Index);
27
28 subtype Aux_Response_Length is Natural range 1 .. 17;
29 subtype Aux_Response_Index is
30 Natural range 0 .. Aux_Response_Length'Last - 1;
31 subtype Aux_Response is Buffer (Aux_Response_Index);
32
33end HW.GFX.DP_Defs;