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

Subversion Repositories ao486

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 alfik
 
2
3
`define CMD_HLT         #AUTOGEN_NEXT_CMD
4
 
5
`define CMDEX_HLT_STEP_0    4'd0
6
7
 
8
9
dec_ready_one && decoder[7:0] == 8'hF4
10
`CMD_HLT
11
SET(dec_cmdex, `CMDEX_HLT_STEP_0);
12
SET(consume_one);
13
SET(dec_is_complex);
14
15
 
16
17
LOOP(`CMDEX_HLT_STEP_0);
18
19
 
20
21
IF(exe_cmd == `CMD_HLT && exe_cmdex == `CMDEX_HLT_STEP_0);
22
    IF(cpl > 2'd0);
23
        SET(exe_waiting);
24
        SET(exe_trigger_gp_fault); //exception GP(0)
25
    ENDIF();
26
ENDIF();
27
28
 
29
30
IF(wr_cmd == `CMD_HLT && wr_cmdex == `CMDEX_HLT_STEP_0);
31
    SET(wr_hlt_in_progress);
32
 
33
    SET(wr_not_finished);
34
ENDIF();
35

powered by: WebSVN 2.1.0

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