• Paul Mackerras's avatar
    core: Implement CFAR register · c2da8276
    Paul Mackerras authored
    
    
    This implements the CFAR SPR as a slow SPR stored in 'ctrl'.  Taken
    branches and rfid update it to the address of the branch or rfid
    instruction.
    
    To simplify the logic, this makes rfid use the branch logic to
    generate its redirect (requiring SRR0 to come in to execute1 on
    the B input and SRR1 on the A input), and the masking of the bottom
    2 bits of NIA is moved to fetch1.
    Signed-off-by: default avatarPaul Mackerras <paulus@ozlabs.org>
    c2da8276
execute1.vhdl 38.1 KB