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

Subversion Repositories t6507lp

[/] [t6507lp/] [trunk/] [fv/] [alu_agent.e] - Blame information for rev 239

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

Line No. Rev Author Line
1 123 creep
alu_agent.e;
2
<'
3 125 creep
import alu_components.e;
4 124 creep
 
5 125 creep
unit alu_agent_u {
6
        smp: alu_signal_map_u is instance;
7
        mon: alu_mon_u is instance;
8
        bfm: alu_bfm_u is instance;
9 131 creep
        chk: alu_chk_u is instance;
10 129 creep
 
11 125 creep
        event main_clk;
12 129 creep
 
13 131 creep
        keep bfm.agent == me;
14 129 creep
        keep bfm.reset_n == smp.reset_n;
15 124 creep
        keep bfm.alu_enable == smp.alu_enable;
16
        keep bfm.alu_opcode == smp.alu_opcode;
17 129 creep
        keep bfm.alu_a == smp.alu_a;
18 124 creep
 
19 131 creep
        keep mon.agent == me;
20 124 creep
        keep mon.alu_result == smp.alu_result;
21
        keep mon.alu_status == smp.alu_status;
22
        keep mon.alu_x == smp.alu_x;
23
        keep mon.alu_y == smp.alu_y;
24 125 creep
 
25 129 creep
        //on main_clk {
26
                //while TRUE {
27
                        //counter = counter +1;
28 125 creep
 
29 129 creep
                        //if (counter == 37) {
30
                                //dut_error();
31
                        //}
32
                        //else {
33
                                //out("\n",counter);
34
                        //}
35
                //}
36
        //};
37
 
38 125 creep
        run() is also {
39 129 creep
                //start help();
40 125 creep
        };
41 123 creep
};
42 129 creep
 
43
extend alu_bfm_u {
44
        agent: alu_agent_u;
45
        event main_clk is only @agent.main_clk;
46
};
47
 
48 131 creep
extend alu_mon_u {
49
        agent: alu_agent_u;
50 134 creep
        event main_clk is only @agent.bfm.done;
51 131 creep
};
52 129 creep
 
53 131 creep
 
54 125 creep
'>

powered by: WebSVN 2.1.0

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