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

Subversion Repositories aor3000

[/] [aor3000/] [trunk/] [syn/] [soc/] [soc.v] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 alfik
/*
2
 * This file is subject to the terms and conditions of the BSD License. See
3
 * the file "LICENSE" in the main directory of this archive for more details.
4
 *
5
 * Copyright (C) 2014 Aleksander Osman
6
 */
7
 
8
module soc(
9
    input               CLOCK_50,
10
 
11
    //SDRAM
12
    output      [12:0]  DRAM_ADDR,
13
    output      [1:0]   DRAM_BA,
14
    output              DRAM_CAS_N,
15
    output              DRAM_CKE,
16
    output              DRAM_CLK,
17
    output              DRAM_CS_N,
18
    inout       [31:0]  DRAM_DQ,
19
    output      [3:0]   DRAM_DQM,
20
    output              DRAM_RAS_N,
21
    output              DRAM_WE_N
22
);
23
 
24
//------------------------------------------------------------------------------
25
 
26
assign DRAM_CLK = clk_sys;
27
 
28
//------------------------------------------------------------------------------
29
 
30
wire clk_sys;
31
 
32
wire rst_n;
33
 
34
pll pll_inst(
35
    .inclk0     (CLOCK_50),
36
    .c0         (clk_sys),
37
    .locked     (rst_n)
38
);
39
 
40
system u0 (
41
    .clk_clk          (clk_sys),
42
    .reset_reset_n    (rst_n),
43
 
44
    .sdram_wire_addr  (DRAM_ADDR),
45
    .sdram_wire_ba    (DRAM_BA),
46
    .sdram_wire_cas_n (DRAM_CAS_N),
47
    .sdram_wire_cke   (DRAM_CKE),
48
    .sdram_wire_cs_n  (DRAM_CS_N),
49
    .sdram_wire_dq    (DRAM_DQ),
50
    .sdram_wire_dqm   (DRAM_DQM),
51
    .sdram_wire_ras_n (DRAM_RAS_N),
52
    .sdram_wire_we_n  (DRAM_WE_N)
53
);
54
 
55
//------------------------------------------------------------------------------
56
 
57
endmodule

powered by: WebSVN 2.1.0

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