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

Subversion Repositories t6507lp

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

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 129 creep
 
10 125 creep
        event main_clk;
11 129 creep
 
12
        keep bfm.agent == me;
13
        keep bfm.reset_n == smp.reset_n;
14 124 creep
        keep bfm.alu_enable == smp.alu_enable;
15
        keep bfm.alu_opcode == smp.alu_opcode;
16 129 creep
        keep bfm.alu_a == smp.alu_a;
17 124 creep
 
18
        keep mon.alu_result == smp.alu_result;
19
        keep mon.alu_status == smp.alu_status;
20
        keep mon.alu_x == smp.alu_x;
21
        keep mon.alu_y == smp.alu_y;
22 125 creep
 
23 129 creep
        //on main_clk {
24
                //while TRUE {
25
                        //counter = counter +1;
26 125 creep
 
27 129 creep
                        //if (counter == 37) {
28
                                //dut_error();
29
                        //}
30
                        //else {
31
                                //out("\n",counter);
32
                        //}
33
                //}
34
        //};
35
 
36 125 creep
        run() is also {
37 129 creep
                //start help();
38 125 creep
        };
39 123 creep
};
40 129 creep
 
41
extend alu_bfm_u {
42
        agent: alu_agent_u;
43
        event main_clk is only @agent.main_clk;
44
};
45
 
46
 
47 125 creep
'>

powered by: WebSVN 2.1.0

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