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

Subversion Repositories t6507lp

[/] [t6507lp/] [trunk/] [rtl/] [verilog/] [t6507lp_fsm_tb.v] - Diff between revs 101 and 102

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

Rev 101 Rev 102
Line 169... Line 169...
                fake_mem[332] = 8'hfe;
                fake_mem[332] = 8'hfe;
                fake_mem[333] = STA_IDY; // testing IDY mode WRITE TYPE, page crossed;
                fake_mem[333] = STA_IDY; // testing IDY mode WRITE TYPE, page crossed;
                fake_mem[334] = 8'h00;
                fake_mem[334] = 8'h00;
                fake_mem[335] = STA_IDY; // testing IDY mode WRITE TYPE, page not crossed;
                fake_mem[335] = STA_IDY; // testing IDY mode WRITE TYPE, page not crossed;
                fake_mem[336] = 8'h0e;
                fake_mem[336] = 8'h0e;
                fake_mem[337] = JMP_IND; // testing absolute indirect addressing. page crossed when updating pointer.
                fake_mem[337] = INX_IMP;
                fake_mem[338] = 8'hff;
                fake_mem[338] = JMP_IND; // testing absolute indirect addressing. page crossed when updating pointer.
                fake_mem[339] = 8'h00;
                fake_mem[339] = 8'hff;
 
                fake_mem[340] = 8'h00;
                //fake_mem[337] = JMP_IND; // testing absolute indirect addressing. no page crossed when updating pointer.
                //fake_mem[337] = JMP_IND; // testing absolute indirect addressing. no page crossed when updating pointer.
                //fake_mem[338] = 8'h3b; 
                //fake_mem[338] = 8'h3b; 
                //fake_mem[339] = 8'h00; 
                //fake_mem[339] = 8'h00; 
 
 
 
 
Line 185... Line 186...
 
 
                @(negedge clk) // will wait for next negative edge of the clock (t=20)
                @(negedge clk) // will wait for next negative edge of the clock (t=20)
                reset_n=1'b1;
                reset_n=1'b1;
 
 
 
 
                #3000;
                #4000;
                $finish; // to shut down the simulation
                $finish; // to shut down the simulation
        end //initial
        end //initial
 
 
        always @(clk) begin
        always @(clk) begin
                if (control == 0) begin // MEM_READ
                if (control == 0) begin // MEM_READ

powered by: WebSVN 2.1.0

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