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 133

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 133 jt_eaton
    parameter MEM_BITS       = 16
8 131 jt_eaton
 
9
  )
10
 
11
(
12
    input  wire                       clk,
13
    input  wire                       adv_n,
14
    input  wire                       cre,
15
    output wire                       o_wait,
16
    input  wire                       ce_n,
17
    input  wire                       oe_n,
18
    input  wire                       we_n,
19
    input  wire                       lb_n,
20
    input  wire                       ub_n,
21
    input  wire     [ADDR_BITS-1 : 0] addr,
22
    inout  wire       [DQ_BITS-1 : 0] dq
23
);
24
 
25
reg [7:0]                     memoryl [1<<MEM_BITS-1:0];
26
reg [7:0]                     memoryu [1<<MEM_BITS-1:0];
27
 
28
reg [DQ_BITS-1 : 0]           dq_out;
29
 
30
 
31
// Write Memory
32
 
33
 
34
 
35
 
36
// Read Memory
37
 
38
always@(*)      dq_out[7:0]  = 8'h0;
39
always@(*)      dq_out[15:8] = 8'h0;
40
 
41
// Tristate output
42
 
43
// assign  dq    =  (!ce_n && !oe_n) ? dq_out[DQ_BITS-1:0]: {DQ_BITS{1'bz}};
44
 
45
 
46
 
47
endmodule
48
 
49
 

powered by: WebSVN 2.1.0

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