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

Subversion Repositories lpffir

[/] [lpffir/] [trunk/] [uvm/] [rca_uvm/] [include/] [rca_monitor_inc.sv] - Blame information for rev 11

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 vladimirar
task rca_monitor::do_mon;
2
  forever @(posedge vif.clk)
3
    begin
4
          m_trans.input1 = vif.a;
5
          m_trans.input2 = vif.b;
6
          m_trans.carryinput = vif.ci;
7
          m_trans.carryoutput = vif.co;
8
          m_trans.sum = vif.s;
9
          analysis_port.write(m_trans);
10
          `uvm_info(get_type_name(),$sformatf("a(%0d) + b(%0d) + ci(%0d) = co(%0d) and s(%0d)", vif.a, vif.b, vif.ci, vif.co, vif.s), UVM_MEDIUM);
11
    end
12
endtask

powered by: WebSVN 2.1.0

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