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

Subversion Repositories embedded_risc

[/] [embedded_risc/] [trunk/] [Verilog/] [dma_fifo.v] - Blame information for rev 27

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 26 hosseinami
/*******************************************************************
2
* This file is owned and controlled by Xilinx and must be used     *
3
* solely for design, simulation, implementation and creation of    *
4
* design files limited to Xilinx devices or technologies. Use      *
5
* with non-Xilinx devices or technologies is expressly prohibited  *
6
* and immediately terminates your license.                         *
7
*                                                                  *
8
* Xilinx products are not intended for use in life support         *
9
* appliances, devices, or systems. Use in such applications are    *
10
* expressly prohibited.                                            *
11
*                                                                  *
12
* Copyright (C) 2001, Xilinx, Inc.  All Rights Reserved.           *
13
*******************************************************************/
14
 
15
// The synopsys directives "translate_off/translate_on" specified
16
// below are supported by XST, FPGA Express, Exemplar and Synplicity
17
// synthesis tools. Ensure they are correct for your synthesis tool(s).
18
 
19
// You must compile the wrapper file dma_fifo.v when simulating
20
// the core, dma_fifo. When compiling the wrapper file, be sure to
21
// reference the XilinxCoreLib Verilog simulation library. For detailed
22
// instructions, please refer to the "Coregen Users Guide".
23
 
24
module dma_fifo (
25
        clk,
26
        sinit,
27
        din,
28
        wr_en,
29
        rd_en,
30
        dout,
31
        full,
32
        empty);    // synthesis black_box
33
 
34
input clk;
35
input sinit;
36
input [7 : 0] din;
37
input wr_en;
38
input rd_en;
39
output [7 : 0] dout;
40
output full;
41
output empty;
42
 
43
// synopsys translate_off
44
 
45
        SYNC_FIFO_V2_0 #(
46
                1,      // c_dcount_width
47
                0,       // c_enable_rlocs
48
                0,       // c_has_dcount
49
                0,       // c_has_rd_ack
50
                0,       // c_has_rd_err
51
                0,       // c_has_wr_ack
52
                0,       // c_has_wr_err
53
                1,      // c_memory_type
54
                0,       // c_ports_differ
55
                1,      // c_rd_ack_low
56
                1,      // c_rd_err_low
57
                8,      // c_read_data_width
58
                512,    // c_read_depth
59
                8,      // c_write_data_width
60
                512,    // c_write_depth
61
                1,      // c_wr_ack_low
62
                1)      // c_wr_err_low
63
        inst (
64
                .CLK(clk),
65
                .SINIT(sinit),
66
                .DIN(din),
67
                .WR_EN(wr_en),
68
                .RD_EN(rd_en),
69
                .DOUT(dout),
70
                .FULL(full),
71
                .EMPTY(empty));
72
 
73
 
74
// synopsys translate_on
75
 
76
// FPGA Express black box declaration
77
// synopsys attribute fpga_dont_touch "true"
78
// synthesis attribute fpga_dont_touch of dma_fifo is "true"
79
 
80
// XST black box declaration
81
// box_type "black_box"
82
// synthesis attribute box_type of dma_fifo is "black_box"
83
 
84
endmodule
85
 

powered by: WebSVN 2.1.0

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