【发布时间】:2018-06-08 06:04:12
【问题描述】:
我在我的项目中使用 e (specman)。
我为uart构建了验证环境。
我有一个类似于any_sequence_item 的结构,名为uart_frame_s.
我想为 uart 中的 tx 添加记分牌。
我在uart_tx_agent 中有以下实例:
uart_monitor: uart_tx_monitor_u is instance;
记分牌的定义:
unit uart_tx_scoreboard_u like uvm_scoreboard{
scbd_port frame_add : add uart_frame_s;
scbd_port frame_match : match uart_frame_s;
};
我尝试通过以下方式连接:
connect_ports() is also {
uart_monitor.uart_frame_s_started.connect(tx_scb.uart_frame_s_add);
uart_monitor.uart_frame_s_ended.connect(tx_scb.uart_frame_s_match);
};
在哪里: uart_scb (scoreboard) 是 uart_tx_agent 中的实例
监视器中 TLM 端口的定义:
uart_frame_s_started : out iterface_port of tlm_analysis of uart_frame_s is instance;
uart_frame_s_ended : out iterface_port of tlm_analysis of uart_frame_s is instance;
我收到以下错误: 错误:“uart_monitor”(“uart_tx_monitor_u”)没有“uart_frame_S_started”字段...... 错误:“uart_monitor”(“uart_tx_monitor_u”)没有“uart_frame_S_ended”字段
【问题讨论】:
标签: verification uvm specman e