URL
https://opencores.org/ocsvn/t6507lp/t6507lp/trunk
[/] [t6507lp/] [trunk/] [fv/] [alu_bfm.e] - Diff between revs 132 and 134
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 132 |
Rev 134 |
Line 5... |
Line 5... |
reset_n: out simple_port of bool;
|
reset_n: out simple_port of bool;
|
alu_enable: out simple_port of bool;
|
alu_enable: out simple_port of bool;
|
alu_opcode: out simple_port of byte;
|
alu_opcode: out simple_port of byte;
|
alu_a: out simple_port of byte;
|
alu_a: out simple_port of byte;
|
|
|
|
event done;
|
event main_clk;
|
event main_clk;
|
|
|
on main_clk {
|
on main_clk {
|
//Send in packet using the DUT protocol
|
//Send in packet using the DUT protocol
|
var data : alu_input_s;
|
var data : alu_input_s;
|
Line 20... |
Line 21... |
alu_enable$ = data.alu_enable;
|
alu_enable$ = data.alu_enable;
|
alu_opcode$ = data.alu_opcode.as_a(byte);
|
alu_opcode$ = data.alu_opcode.as_a(byte);
|
alu_a$ = data.alu_a;
|
alu_a$ = data.alu_a;
|
|
|
agent.chk.store(data);
|
agent.chk.store(data);
|
|
emit done;
|
};
|
};
|
|
|
};
|
};
|
'>
|
'>
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.