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

Subversion Repositories xulalx25soc

[/] [xulalx25soc/] [trunk/] [rtl/] [wbsdram.v] - Diff between revs 37 and 39

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

Rev 37 Rev 39
Line 459... Line 459...
        end
        end
 
 
`ifdef  VERILATOR
`ifdef  VERILATOR
        // While I hate to build something that works one way under Verilator
        // While I hate to build something that works one way under Verilator
        // and another way in practice, this really isn't that.  The problem
        // and another way in practice, this really isn't that.  The problem
        // Verilator is having is resolved in toplevel.v--one file that
        // \/erilator is having is resolved in toplevel.v---one file that
        // Verilator doesn't implement.  In toplevel.v, there's not only a
        // \/erilator doesn't implement.  In toplevel.v, there's not only a
        // single clocked latch but two taking place.  Here, we replicate one
        // single clocked latch but two taking place.  Here, we replicate one
        // of those.  The second takes place (somehow) within the sdramsim.cpp
        // of those.  The second takes place (somehow) within the sdramsim.cpp
        // file.
        // file.
        reg     [15:0]   ram_data, last_ram_data;
        reg     [15:0]   ram_data, last_ram_data;
        always @(posedge i_clk)
        always @(posedge i_clk)

powered by: WebSVN 2.1.0

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