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

Subversion Repositories ao486

[/] [ao486/] [trunk/] [rtl/] [ao486/] [commands/] [CMD_fpu.txt] - Blame information for rev 7

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

Line No. Rev Author Line
1 2 alfik
 
2
3
`define CMD_fpu     #AUTOGEN_NEXT_CMD
4
 
5
`define CMDEX_WAIT_STEP_0       4'd0
6
`define CMDEX_ESC_STEP_0        4'd1
7
8
 
9
10
dec_ready_one && decoder[7:0] == 8'h9B
11
`CMD_fpu
12
SET(dec_cmdex, `CMDEX_WAIT_STEP_0);
13
SET(consume_one);
14
15
 
16
17
dec_ready_modregrm_one && { decoder[7:3], 3'b0 } == 8'hD8
18
`CMD_fpu
19
SET(dec_cmdex, `CMDEX_ESC_STEP_0);
20
SET(consume_modregrm_one);
21
22
 
23
24
IF(exe_cmd == `CMD_fpu && exe_cmdex == `CMDEX_ESC_STEP_0);
25
 
26
    IF(cr0_em || cr0_ts);
27
        SET(exe_waiting);
28
        SET(exe_trigger_nm_fault); //exception NM(0)
29
    ENDIF();
30
ENDIF();
31

powered by: WebSVN 2.1.0

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