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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [orpsocv2/] [bench/] [verilog/] [AT26DFxxx.v] - Diff between revs 6 and 403

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 6 Rev 403
Line 87... Line 87...
`endif
`endif
 
 
parameter DEVICE = "AT25DF041A";        // Device selected
parameter DEVICE = "AT25DF041A";        // Device selected
parameter PRELOAD = 1;                  // preload memory with content in MEMORY_FILE
parameter PRELOAD = 1;                  // preload memory with content in MEMORY_FILE
parameter MEMORY_FILE = "flash.in";     // Memory pre-load
parameter MEMORY_FILE = "flash.in";     // Memory pre-load
 
   parameter VERBOSE = 1;
 
 
// ********************************************************************* //
// ********************************************************************* //
//Timing Parameters :
//Timing Parameters :
// ******************************************************************** //
// ******************************************************************** //
 
 
Line 583... Line 584...
                end
                end
                #tV SO_reg = temp_data[i];
                #tV SO_reg = temp_data[i];
                SO_on = 1'b1;
                SO_on = 1'b1;
                if (i == 0)
                if (i == 0)
                begin
                begin
                        //$display ("Data: %h read from memory location %h",temp_data,read_addr);
                     if (VERBOSE)
 
                        $display ("Data: %h read from memory location %h",temp_data,read_addr);
                        read_addr = read_addr + 1; // next byte
                        read_addr = read_addr + 1; // next byte
                        i = 7;
                        i = 7;
                        if (read_addr >= (MEMSIZE-1))
                        if (read_addr >= (MEMSIZE-1))
                                read_addr = 0; // Note that rollover occurs at end of memory,
                                read_addr = 0; // Note that rollover occurs at end of memory,
                        temp_data = memory [read_addr];
                        temp_data = memory [read_addr];

powered by: WebSVN 2.1.0

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