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

Subversion Repositories video_stream_scaler

[/] [video_stream_scaler/] [trunk/] [sim/] [rtl_sim/] [work/] [stream@scaler/] [_primary.vhd] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 tesla500
library verilog;
2
use verilog.vl_types.all;
3
entity streamScaler is
4
    generic(
5
        DATA_WIDTH      : integer := 8;
6
        CHANNELS        : integer := 1;
7
        DISCARD_CNT_WIDTH: integer := 8;
8
        INPUT_X_RES_WIDTH: integer := 11;
9
        INPUT_Y_RES_WIDTH: integer := 11;
10
        OUTPUT_X_RES_WIDTH: integer := 11;
11
        OUTPUT_Y_RES_WIDTH: integer := 11;
12
        FRACTION_BITS   : integer := 8;
13
        SCALE_INT_BITS  : integer := 4;
14
        SCALE_FRAC_BITS : integer := 14;
15
        BUFFER_SIZE     : integer := 4
16
    );
17
    port(
18
        clk             : in     vl_logic;
19
        rst             : in     vl_logic;
20
        dIn             : in     vl_logic_vector;
21
        dInValid        : in     vl_logic;
22
        nextDin         : out    vl_logic;
23
        start           : in     vl_logic;
24
        dOut            : out    vl_logic_vector;
25
        dOutValid       : out    vl_logic;
26
        nextDout        : in     vl_logic;
27
        inputDiscardCnt : in     vl_logic_vector;
28
        inputXRes       : in     vl_logic_vector;
29
        inputYRes       : in     vl_logic_vector;
30
        outputXRes      : in     vl_logic_vector;
31
        outputYRes      : in     vl_logic_vector;
32
        xScale          : in     vl_logic_vector;
33
        yScale          : in     vl_logic_vector;
34
        leftOffset      : in     vl_logic_vector;
35
        topFracOffset   : in     vl_logic_vector;
36
        nearestNeighbor : in     vl_logic
37
    );
38
end streamScaler;

powered by: WebSVN 2.1.0

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