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

Subversion Repositories ao486

[/] [ao486/] [trunk/] [rtl/] [ao486/] [commands/] [CMD_BSWAP.txt] - Rev 8

Go to most recent revision | Compare with Previous | Blame | View Log


<defines>
`define CMD_BSWAP       #AUTOGEN_NEXT_CMD
</defines>


<decode>
dec_ready_2byte_one && { decoder[7:3], 3'b000 } == 8'hC8
`CMD_BSWAP
SET(consume_one);
</decode>

<read>
IF(rd_cmd == `CMD_BSWAP);
    
    SET(rd_dst_is_implicit_reg);
    
    SET(rd_req_implicit_reg);
        
    IF(rd_mutex_busy_implicit_reg); SET(rd_waiting); ENDIF();
ENDIF();
</read>

<execute>
IF(exe_cmd == `CMD_BSWAP);
    
    IF(exe_operand_32bit);
        SET(exe_result, { dst[7:0], dst[15:8], dst[23:16], dst[31:24] });
    ENDIF();

ENDIF();
</execute>

<write>
IF(wr_cmd == `CMD_BSWAP);
    SET(write_regrm);
ENDIF();
</write>

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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