URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 118 to Rev 119
- ↔ Reverse comparison
Rev 118 → Rev 119
/eco32/trunk/doc/history
1196,3 → 1196,4
|
15-Mar-2014 |
Hardware: rom is now equivalent to port-15. |
Hardware: ram is now equivalent to port-15. |
/eco32/trunk/fpga/src/ram/ram.v
1,3 → 1,8
// |
// ram.v -- main memory, using SDRAM |
// |
|
|
module ram(clk, clk_ok, reset, |
en, wr, size, addr, |
data_in, data_out, wt, |
6,6 → 11,7
sdram_ras_n, sdram_cas_n, |
sdram_we_n, sdram_ba, |
sdram_a, sdram_dq); |
// internal interface signals |
input clk; |
input clk_ok; |
input reset; |
16,6 → 22,7
input [31:0] data_in; |
output reg [31:0] data_out; |
output reg wt; |
// SDRAM interface signals |
output sdram_cke; |
output sdram_cs_n; |
output sdram_udqm; |
73,7 → 80,7
|
// the SDRAM is organized in 16-bit halfwords |
// address line 0 is controlled by the state machine |
// this is necessary for word accesses |
// (this is necessary for word accesses) |
assign cntl_addr[23:1] = addr[24:2]; |
assign cntl_addr[0] = a0; |
|