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

Subversion Repositories t6507lp

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /t6507lp
    from Rev 194 to Rev 195
    Reverse comparison

Rev 194 → Rev 195

/trunk/rtl/verilog/t6507lp_fsm.v
241,7 → 241,7
all instructions execute this cycle.
*/
FETCH_LOW: begin
if (accumulator || implied) begin
if (accumulator || implied || txs || tsx) begin
pc <= pc; // is this better?
address <= pc;
mem_rw <= MEM_READ;
605,15 → 605,17
alu_a = temp_data;
end
FETCH_LOW: begin
if (accumulator || implied) begin
if (accumulator || implied || txs) begin
alu_opcode = ir;
alu_enable = 1'b1;
next_state = FETCH_OP;
if (tsx) begin
alu_a = sp[7:0];
end
end
else if (tsx) begin
alu_opcode = ir;
alu_enable = 1'b1;
next_state = FETCH_OP;
alu_a = sp[7:0];
end
else if (immediate) begin
next_state = FETCH_OP_CALC_PARAM;
end

powered by: WebSVN 2.1.0

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