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

Subversion Repositories raptor64

[/] [raptor64/] [trunk/] [rtl/] [verilog/] [memory/] [internal/] [syncRam512x64_1rw2r.v] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 robfinch
// ============================================================================
2
// (C) 2011 Robert Finch
3
// All Rights Reserved.
4
// robfinch@<remove>@sympatico.ca
5
//
6
//      syncRam512x64_1rw2r.v
7
//
8
// This source file is free software: you can redistribute it and/or modify 
9
// it under the terms of the GNU Lesser General Public License as published 
10
// by the Free Software Foundation, either version 3 of the License, or     
11
// (at your option) any later version.                                      
12
//                                                                          
13
// This source file is distributed in the hope that it will be useful,      
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of           
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            
16
// GNU General Public License for more details.                             
17
//                                                                          
18
// You should have received a copy of the GNU General Public License        
19
// along with this program.  If not, see <http://www.gnu.org/licenses/>.    
20
//                                                                          
21
// ============================================================================
22
//
23
module syncRam512x64_1rw2r(
24
input wrst,
25
input wclk,
26
input wce,
27
input we,
28
input [8:0] wadr,
29
input [63:0] i,
30
output [63:0] wo,
31
 
32
input rrsta,
33
input rclka,
34
input rcea,
35
input [8:0] radra,
36
output [63:0] roa,
37
 
38
input rrstb,
39
input rclkb,
40
input rceb,
41
input [8:0] radrb,
42
output [63:0] rob
43
);
44
 
45
syncRam512x64_1rw1r u1
46
(
47
        .wrst(wrst),
48
        .wclk(wclk),
49
        .wce(wce),
50
        .we(we),
51
        .wadr(wadr),
52
        .i(i[63:0]),
53
        .wo(wo[63:0]),
54
        .rrst(rrsta),
55
        .rclk(rclka),
56
        .rce(rcea),
57
        .radr(radra),
58
        .ro(roa[63:0])
59
);
60
 
61
syncRam512x64_1rw1r u2
62
(
63
        .wrst(wrst),
64
        .wclk(wclk),
65
        .wce(wce),
66
        .we(we),
67
        .wadr(wadr),
68
        .i(i[63:0]),
69
        .wo(),
70
        .rrst(rrstb),
71
        .rclk(rclkb),
72
        .rce(rceb),
73
        .radr(radrb),
74
        .ro(rob[63:0])
75
);
76
 
77
endmodule

powered by: WebSVN 2.1.0

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