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

Subversion Repositories t6507lp

[/] [t6507lp/] [trunk/] [fv/] [fsm_input.e] - Blame information for rev 247

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 206 creep
<'
2
import fsm_components.e;
3 247 creep
type fsm_input_t  : [ RESET, INSTRUCTIONS ];
4 206 creep
 
5
struct fsm_input_s {
6
        input_kind : fsm_input_t;
7
        reset_n    : bit;
8
        alu_result : byte;
9
        alu_status : byte;
10
        data_in    : byte;
11
        alu_x      : byte;
12
        alu_y      : byte;
13
 
14
        keep soft input_kind == select {
15
                        99: INSTRUCTIONS;
16
                        1 : RESET;
17
                };
18
 
19
        when RESET'input_kind fsm_input_s {
20
                keep reset_n == 0;
21
        };
22
 
23
        when INSTRUCTIONS'input_kind fsm_input_s {
24
                keep reset_n == 1;
25
        };
26
 
27
--      event T1_cover_event;
28
--      cover T1_cover_event is {
29
--              item input_kind using no_collect=TRUE, ignore = (input_kind == ENABLED_RAND || input_kind == DISABLED_RAND);
30
--              item alu_opcode using num_of_buckets=256, radix=HEX, no_collect=TRUE;
31
--              cross input_kind, alu_opcode;
32
--              //item alu_a;
33
--      };
34
};
35
 
36
'>

powered by: WebSVN 2.1.0

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