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

Subversion Repositories t6507lp

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 253 to Rev 254
    Reverse comparison

Rev 253 → Rev 254

/t6507lp/trunk/rtl/verilog/t6507lp_fsm.v
100,7 → 100,6
localparam DUMMY = 5'b11100;
localparam RESET = 5'b11111;
 
// OPCODES TODO: verify how this get synthesised
`include "t6507lp_package.v"
 
// rw_mem signals
916,7 → 915,7
relative = 1'b0;
zero_page = 1'b0;
zero_page_indexed = 1'b0;
//index_is_x = 1'b1;
index_is_x = 1'b0;
index_is_branch = 1'b0;
//index = 8'h00;
1076,22 → 1075,18
SBC_ABX, STA_ABX: begin
absolute_indexed = 1'b1;
index_is_x = 1'b1;
//index = alu_x;
end
ADC_ABY, AND_ABY, CMP_ABY, EOR_ABY, LDA_ABY, LDX_ABY, ORA_ABY, SBC_ABY, STA_ABY: begin
absolute_indexed = 1'b1;
index_is_x = 1'b0;
//index = alu_y;
end
ADC_IDX, AND_IDX, CMP_IDX, EOR_IDX, LDA_IDX, ORA_IDX, SBC_IDX, STA_IDX: begin
indirectx = 1'b1;
index_is_x = 1'b1;
//index = alu_x;
end
ADC_IDY, AND_IDY, CMP_IDY, EOR_IDY, LDA_IDY, ORA_IDY, SBC_IDY, STA_IDY: begin
indirecty = 1'b1;
index_is_x = 1'b0;
//index = alu_y;
end
JMP_ABS: begin
absolute = 1'b1;

powered by: WebSVN 2.1.0

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