1 |
2 |
tak.sugawa |
//Copyright (C) 1991-2004 Altera Corporation
|
2 |
|
|
//Any megafunction design, and related netlist (encrypted or decrypted),
|
3 |
|
|
//support information, device programming or simulation file, and any other
|
4 |
|
|
//associated documentation or information provided by Altera or a partner
|
5 |
|
|
//under Altera's Megafunction Partnership Program may be used only
|
6 |
|
|
//to program PLD devices (but not masked PLD devices) from Altera. Any
|
7 |
|
|
//other use of such megafunction design, netlist, support information,
|
8 |
|
|
//device programming or simulation file, or any other related documentation
|
9 |
|
|
//or information is prohibited for any other purpose, including, but not
|
10 |
|
|
//limited to modification, reverse engineering, de-compiling, or use with
|
11 |
|
|
//any other silicon devices, unless such use is explicitly licensed under
|
12 |
|
|
//a separate agreement with Altera or a megafunction partner. Title to the
|
13 |
|
|
//intellectual property, including patents, copyrights, trademarks, trade
|
14 |
|
|
//secrets, or maskworks, embodied in any such megafunction design, netlist,
|
15 |
|
|
//support information, device programming or simulation file, or any other
|
16 |
|
|
//related documentation or information provided by Altera or a megafunction
|
17 |
|
|
//partner, remains with Altera, the megafunction partner, or their respective
|
18 |
|
|
//licensors. No other licenses, including any licenses needed under any third
|
19 |
|
|
//party's intellectual property, are provided herein.
|
20 |
|
|
|
21 |
|
|
module ram_regfile32xx32 (
|
22 |
|
|
data,
|
23 |
|
|
wraddress,
|
24 |
|
|
rdaddress_a,
|
25 |
|
|
rdaddress_b,
|
26 |
|
|
wren,
|
27 |
|
|
clock,
|
28 |
|
|
qa,
|
29 |
|
|
qb);
|
30 |
|
|
|
31 |
|
|
input [31:0] data;
|
32 |
|
|
input [4:0] wraddress;
|
33 |
|
|
input [4:0] rdaddress_a;
|
34 |
|
|
input [4:0] rdaddress_b;
|
35 |
|
|
input wren;
|
36 |
|
|
input clock;
|
37 |
|
|
output [31:0] qa;
|
38 |
|
|
output [31:0] qb;
|
39 |
|
|
|
40 |
|
|
endmodule
|
41 |
|
|
|