Drivers or monitors can connect to this port to send responses to the sequencer. Alternatively, a driver can send responses via its seq_item_port.
seq_item_port.item_done(response)
seq_item_port.put(response)
rsp_port.write(response) //--- via this export
The rsp_port in the driver and/or monitor must be connected to the rsp_export in this sequencer in order to send responses through the response analysis port.
而rsp_port的class是uvm_analysis_port
所以有一個內含的method是write去 Send specified value to all connected interface
這個connect interface就是rsp_export(sequencer)
沒有留言:
張貼留言