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

Subversion Repositories t6507lp

[/] [t6507lp/] [trunk/] [fv/] [fsm_agent.e] - Blame information for rev 235

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

Line No. Rev Author Line
1 206 creep
<'
2
import fsm_components.e;
3
 
4
unit fsm_agent_u {
5
        smp: fsm_signal_map_u is instance;
6
        mon: fsm_mon_u        is instance;
7
        bfm: fsm_bfm_u        is instance;
8
        chk: fsm_chk_u        is instance;
9
 
10
        event main_clk;
11
 
12
        keep bfm.agent      == me;
13
        keep bfm.reset_n    == smp.reset_n;
14
        keep bfm.alu_result == smp.alu_result;
15
        keep bfm.alu_status == smp.alu_status;
16
        keep bfm.data_in    == smp.data_in;
17
        keep bfm.alu_x      == smp.alu_x;
18
        keep bfm.alu_y      == smp.alu_y;
19
 
20
        keep mon.agent      == me;
21
        keep mon.addr       == smp.addr;
22
        keep mon.mem_rw     == smp.mem_rw;
23
        keep mon.data_out   == smp.data_out;
24
        keep mon.alu_opcode == smp.alu_opcode;
25
        keep mon.alu_a      == smp.alu_a;
26
        keep mon.alu_enable == smp.alu_enable;
27
 
28
        run() is also {
29
        };
30
};
31
 
32
extend fsm_bfm_u {
33
        agent: fsm_agent_u;
34
        event main_clk is only @agent.main_clk;
35
};
36
 
37
extend fsm_mon_u {
38
        agent: fsm_agent_u;
39
        event main_clk is only @agent.bfm.done;
40
};
41
 
42
 
43
'>

powered by: WebSVN 2.1.0

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