OpenCores
URL https://opencores.org/ocsvn/mpeg2fpga/mpeg2fpga/trunk

Subversion Repositories mpeg2fpga

[/] [mpeg2fpga/] [trunk/] [rtl/] [mpeg2/] [regfile_codes.v] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 kdv
/*
2
 * regfile_codes.v
3
 *
4
 * Copyright (c) 2007 Koen De Vleeschauwer.
5
 *
6
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
7
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
8
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
9
 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
10
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
11
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
12
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
13
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
14
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
15
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
16
 * SUCH DAMAGE.
17
 */
18
 
19
/*
20
 * regfile_codes - Register file.
21
 */
22
 
23
  parameter [3:0]
24
        REG_RD_VERSION        = 4'h0,
25
        REG_RD_STATUS         = 4'h1,
26
        REG_RD_SIZE           = 4'h2,
27
        REG_RD_DISP_SIZE      = 4'h3,
28
        REG_RD_FRAME_RATE     = 4'h4,
29
        REG_RD_TESTPOINT      = 4'hf,
30
        REG_WR_STREAM         = 4'h0,
31
        REG_WR_HOR            = 4'h1,
32
        REG_WR_HOR_SYNC       = 4'h2,
33
        REG_WR_VER            = 4'h3,
34
        REG_WR_VER_SYNC       = 4'h4,
35
        REG_WR_VID_MODE       = 4'h5,
36
        REG_WR_CLT_YUVM       = 4'h6,
37
        REG_WR_CLT_ADDR       = 4'h7,
38
        REG_WR_OSD_DTA_HIGH   = 4'h8,
39
        REG_WR_OSD_DTA_LOW    = 4'h9,
40
        REG_WR_OSD_ADDR       = 4'ha,
41
        REG_WR_TRICK          = 4'hb,
42
        REG_WR_TESTPOINT      = 4'hf;
43
 
44
/* not truncated */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.