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

Subversion Repositories socgen

[/] [socgen/] [trunk/] [common/] [opencores.org/] [Testbench/] [bfms/] [mt45w8mw12/] [rtl/] [verilog/] [top.syn] - Blame information for rev 131

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 131 jt_eaton
 
2
 
3
module mt45w8mw12_def
4
#(
5
    parameter ADDR_BITS      = 23,
6
    parameter DQ_BITS        = 16,
7
    parameter MEM_BITS       = 16,
8
    parameter INIT_FILE_E   = "NONE",
9
    parameter INIT_FILE_O   = "NONE"
10
 
11
  )
12
 
13
(
14
    input  wire                       clk,
15
    input  wire                       adv_n,
16
    input  wire                       cre,
17
    output wire                       o_wait,
18
    input  wire                       ce_n,
19
    input  wire                       oe_n,
20
    input  wire                       we_n,
21
    input  wire                       lb_n,
22
    input  wire                       ub_n,
23
    input  wire     [ADDR_BITS-1 : 0] addr,
24
    inout  wire       [DQ_BITS-1 : 0] dq
25
);
26
 
27
reg [7:0]                     memoryl [1<<MEM_BITS-1:0];
28
reg [7:0]                     memoryu [1<<MEM_BITS-1:0];
29
 
30
reg [DQ_BITS-1 : 0]           dq_out;
31
 
32
 
33
// Write Memory
34
 
35
 
36
 
37
 
38
// Read Memory
39
 
40
always@(*)      dq_out[7:0]  = 8'h0;
41
always@(*)      dq_out[15:8] = 8'h0;
42
 
43
// Tristate output
44
 
45
// assign  dq    =  (!ce_n && !oe_n) ? dq_out[DQ_BITS-1:0]: {DQ_BITS{1'bz}};
46
 
47
 
48
 
49
endmodule
50
 
51
 

powered by: WebSVN 2.1.0

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