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

Subversion Repositories zap

[/] [zap/] [trunk/] [src/] [rtl/] [cpu/] [zap_decode.v] - Diff between revs 43 and 46

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

Rev 43 Rev 46
Line 611... Line 611...
 
 
        // Select SPSR or CPSR.
        // Select SPSR or CPSR.
        o_alu_operation  = i_instruction[22] ? MMOV : FMOV;
        o_alu_operation  = i_instruction[22] ? MMOV : FMOV;
 
 
        o_alu_source     = i_instruction[19:16];
        o_alu_source     = i_instruction[19:16];
        // TBD
 
        //!i_instruction[22] ? ( i_instruction[25] ? (i_instruction[19:16] & 4'b1000) 
 
        //                   : (i_instruction[19:16] & 4'b1001) ) : ( i_instruction[19:16] & 4'b1001 ) ;
 
        o_alu_source[32] = IMMED_EN;
        o_alu_source[32] = IMMED_EN;
 
 
        // Part of the instruction will silently fail when changing mode bits
        // Part of the instruction will silently fail when changing mode bits
        // in user mode. This is as per the ARM spec.
        // in user mode. This is as per the ARM spec.
        if  ( i_cpsr_ff_mode == USR )
        if  ( i_cpsr_ff_mode == USR )

powered by: WebSVN 2.1.0

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