URL
https://opencores.org/ocsvn/t6507lp/t6507lp/trunk
[/] [t6507lp/] [trunk/] [fv/] [alu_bfm.e] - Diff between revs 125 and 129
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 125 |
Rev 129 |
Line 1... |
Line 1... |
<'
|
<'
|
import alu_components.e;
|
import alu_components.e;
|
|
|
unit alu_bfm_u {
|
unit alu_bfm_u {
|
|
reset_n: out simple_port of bool;
|
|
alu_enable: out simple_port of bool;
|
|
alu_opcode: out simple_port of byte;
|
|
alu_a: out simple_port of byte;
|
|
|
|
event main_clk;
|
|
|
//event clock_e;
|
on main_clk {
|
//send_pkt(pkt: alu_packet_s) @clock_e is {
|
|
//Send in packet using the DUT protocol
|
//Send in packet using the DUT protocol
|
//};
|
var data : alu_input_s;
|
|
gen data;
|
|
|
|
emit data.T1_cover_event;
|
|
|
|
reset_n$ = data.reset_n;
|
|
alu_enable$ = data.alu_enable;
|
|
alu_opcode$ = data.alu_opcode;
|
|
alu_a$ = data.alu_a;
|
|
|
|
};
|
|
|
rst: out simple_port of bool;
|
|
alu_enable: out simple_port of bool;
|
|
alu_opcode: out simple_port of byte;
|
|
//alu_a: out simple_port of byte;
|
|
};
|
};
|
'>
|
'>
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.