Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by jdshah

  1. J

    How to highlight systemverilog syntax

    I am using vim in windows. How to set up syntax highlight for systemverilog, verilog?
  2. J

    [UVM] When should we use uvm export

    I know that port is used to call a function(task) and imp define the implementation of that function(task) So a port to imp connection is made (for example driver sequencer communication) Can anybody give me idea and example when we need to use export Thanks in advance.
  3. J

    Can we achive get_next_item without TLM Port

    This may be a silly question. I am wondering why we can not connect driver and sequencer with out port, to implement get_next_item and item_done. Like, driver.connect(sequencer) function connect(uvm_component m_comp); m_comp = sequencer endfunction while we call driver.get_next_item(); it...
  4. J

    What is the difference between the two code executions below?

    What is difference between below two code execution Code 1: class_p p1,p2; p1 = new(); p2 = new(); p2 = p1; Code 2: class_p p1,p2; p1 = new(); p2 = new p1; What is difference between above two. I understand both are same. (like, p2 = new p1; would in turn do p2 = new; p2 = p1;) But it is...
  5. J

    Why Rx Termination signal only implemented for USB Super Speed, not for PCIe in PIPE.

    in PIPE specification Rx Termination signal is only defined for USB3.0, not for PCIE. What can be the reason?
  6. J

    far end receiver termination

    I come across the term far end receiver termination with differential signal very often. Can anybody explain what is far end receiver termination and how it is detected in simple terms
  7. J

    Variable of base class type accessing property of derived class? [System Verilog,UVM]

    Thanks for reply. My question is different. in base.copy(this); I assign value to variable A for object base. But base object is of type base_class. base_class do not have variable A.
  8. J

    Variable of base class type accessing property of derived class? [System Verilog,UVM]

    Here I have tried to mimic clone method of uvm_object. typedef base_class; typedef derived_class; function base_class create(); derived_class tmp; tmp = new(); return tmp; endfunction class base_class; virtual function do_copy(base_class rhs); endfunction virtual function...
  9. J

    Class having object of itself

    In below code a class is having object of itself. Object of own type is created before class definition completes (before endclass.) This is working. Compiler do not give any error. Can anyone explain me how this works? class test; test self; function create_me(); self = new()...
  10. J

    Why var is not taking value as per constraint

    Thanks Dave for explanation. Why constraint is evaluated like this. Is it because it is declarative? Is there any connection with that?
  11. J

    Why var is not taking value as per constraint

    Yeah that will work. But I want to know why this is not working
  12. J

    Why var is not taking value as per constraint

    class Base; rand integer vari; constraint range { 0< vari < 100 ;} endclass module test; Base objh =new(); initial begin if(objh.randomize()) begin $display(" Randomization is done "); end $display(" objh.baseh.vari : %d ", objh.vari ); end endmodule Output : objh.vari : 1245020823 My...
  13. J

    Will abstract class object be created?

    Thanks TrickyDicky. It cleared my query.
  14. J

    Will abstract class object be created?

    When we call new constructor for derived class, system verilog will call new for base class automatically. Memory for base class will be automatically created. Derived class can not be created with out creating parent class. "A super.new call shall be the first statement executed in the...
  15. J

    ref arguments can only be used in routines with automatic storage. Why?

    Hi Dave, I have following queries. It will be very helpful if you can answer inline. 1. Function or task with automatic lifetime, will create multiple call memory, if called at same time. yes or no 2. Function or task with static lifetime, will create single call memory, if called at same...

Part and Inventory Search

Back
Top