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

Subversion Repositories ao486

[/] [ao486/] [trunk/] [rtl/] [ao486/] [commands/] [CMD_CLTS.txt] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 alfik
 
2
3
`define CMD_CLTS        #AUTOGEN_NEXT_CMD
4
 
5
`define CMDEX_CLTS_STEP_FIRST   4'd0
6
`define CMDEX_CLTS_STEP_LAST    4'd1
7
8
 
9
10
dec_ready_2byte_one && decoder[7:0] == 8'h06
11
`CMD_CLTS
12
SET(dec_cmdex,`CMDEX_CLTS_STEP_FIRST);
13
SET(consume_one);
14
SET(dec_is_complex);
15
16
 
17
18
`CMDEX_CLTS_STEP_FIRST
19
LOOP(`CMDEX_CLTS_STEP_LAST);
20
21
 
22
 
23
24
IF(exe_cmd == `CMD_CLTS);
25
    IF(cpl > 2'd0);
26
        SET(exe_waiting);
27
        SET(exe_trigger_gp_fault); //exception GP(0)
28
    ENDIF();
29
ENDIF();
30
31
 
32
33
IF(wr_cmd == `CMD_CLTS);
34
 
35
    SAVE(cr0_ts, `FALSE);
36
 
37
    // every modification to cr0 clears the pipeline
38
    SET(wr_req_reset_micro);
39
    SET(wr_req_reset_rd);
40
    SET(wr_req_reset_exe);
41
ENDIF();
42

powered by: WebSVN 2.1.0

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