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

Subversion Repositories mpmc8

[/] [mpmc8/] [trunk/] [rtl/] [mpmc10/] [mpmc10_app_en_gen.sv] - Diff between revs 7 and 10

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

Rev 7 Rev 10
Line 46... Line 46...
 
 
// app_en latches the command and address when app_rdy is active. If app_rdy
// app_en latches the command and address when app_rdy is active. If app_rdy
// is not true, the command must be retried.
// is not true, the command must be retried.
always_ff @(posedge clk)
always_ff @(posedge clk)
begin
begin
        en <= mpmc10_pkg::FALSE;
        en <= FALSE;
        if (state==WRITE_DATA1)
        if (state==WRITE_DATA1)
                en <= TRUE;
                en <= TRUE;
        else if (state==WRITE_DATA2 && !en)
        else if (state==WRITE_DATA2 && !en)
                en <= TRUE;
                en <= TRUE;
        else if (state==READ_DATA0)
        else if (state==READ_DATA0)

powered by: WebSVN 2.1.0

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