1 |
92 |
jamey.hick |
// The MIT License
|
2 |
|
|
|
3 |
|
|
// Copyright (c) 2006-2007 Massachusetts Institute of Technology
|
4 |
|
|
|
5 |
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
|
|
// of this software and associated documentation files (the "Software"), to deal
|
7 |
|
|
// in the Software without restriction, including without limitation the rights
|
8 |
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
|
|
// copies of the Software, and to permit persons to whom the Software is
|
10 |
|
|
// furnished to do so, subject to the following conditions:
|
11 |
|
|
|
12 |
|
|
// The above copyright notice and this permission notice shall be included in
|
13 |
|
|
// all copies or substantial portions of the Software.
|
14 |
|
|
|
15 |
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21 |
|
|
// THE SOFTWARE.
|
22 |
|
|
//**********************************************************************
|
23 |
|
|
// Interface for H264 Main Module
|
24 |
|
|
//----------------------------------------------------------------------
|
25 |
|
|
//
|
26 |
|
|
//
|
27 |
|
|
//
|
28 |
|
|
|
29 |
|
|
package IH264;
|
30 |
|
|
|
31 |
|
|
import H264Types::*;
|
32 |
|
|
import GetPut::*;
|
33 |
|
|
import ClientServer::*;
|
34 |
|
|
|
35 |
|
|
interface IH264;
|
36 |
|
|
|
37 |
|
|
// Interface for memory, input generator
|
38 |
|
|
interface Put#(InputGenOT) ioin;
|
39 |
|
|
interface Client#(MemReq#(TAdd#(PicWidthSz,1),20),MemResp#(20)) mem_clientED;
|
40 |
|
|
interface Client#(MemReq#(TAdd#(PicWidthSz,2),68),MemResp#(68)) mem_clientP_intra;
|
41 |
|
|
interface Client#(MemReq#(TAdd#(PicWidthSz,2),32),MemResp#(32)) mem_clientP_inter;
|
42 |
|
|
interface Client#(MemReq#(PicWidthSz,13),MemResp#(13)) mem_clientD_parameter;
|
43 |
|
|
interface Client#(MemReq#(TAdd#(PicWidthSz,5),32),MemResp#(32)) mem_clientD_data;
|
44 |
|
|
interface Client#(FrameBufferLoadReq,FrameBufferLoadResp) buffer_client_load1;
|
45 |
|
|
interface Client#(FrameBufferLoadReq,FrameBufferLoadResp) buffer_client_load2;
|
46 |
|
|
interface Client#(FrameBufferLoadReq,FrameBufferLoadResp) buffer_client_load3;
|
47 |
|
|
interface Get#(FrameBufferStoreReq) buffer_client_store;
|
48 |
|
|
interface Get#(BufferControlOT) ioout;
|
49 |
|
|
|
50 |
|
|
endinterface
|
51 |
|
|
|
52 |
|
|
endpackage
|
53 |
|
|
|