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

Subversion Repositories t6507lp

[/] [t6507lp/] [trunk/] [rtl/] [verilog/] [t6507lp_fsm.v] - Diff between revs 87 and 88

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

Rev 87 Rev 88
Line 126... Line 126...
 
 
        always @(*) begin
        always @(*) begin
                address_plus_index = 0;
                address_plus_index = 0;
                page_crossed = 0;
                page_crossed = 0;
 
 
                if (state == READ_MEM_CALC_INDEX || state == FETCH_HIGH_CALC_INDEX) begin
                if (state == READ_MEM_CALC_INDEX || state == READ_MEM_FIX_ADDR || state == FETCH_HIGH_CALC_INDEX) begin
                        {page_crossed, address_plus_index} = temp_addr + index;
                        {page_crossed, address_plus_index[7:0]} = temp_addr[7:0] + index;
 
                        address_plus_index[12:8] = temp_addr[12:8] + page_crossed;
 
 
                end
                end
        end
        end
 
 
        always @ (posedge clk or negedge reset_n) begin // sequencial always block
        always @ (posedge clk or negedge reset_n) begin // sequencial always block
                if (reset_n == 1'b0) begin
                if (reset_n == 1'b0) begin

powered by: WebSVN 2.1.0

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