@DI Interview Questions:
1. Difference between components and objects?
2. Why do components have hierarchy?
3. Sequencer and driver communication?
4. Sequence and sequencer communication?
5. How sequencer and sequence are connected?
6. what is m_sequencer?
7. Difference between copy() and clone() and advantages of copy and clone?
8. Advantages of uvm macros like `uvm_field_int?
9. What is clocking block and mod port?
10. Why do we need mod port if we can specify direction in clockig block?
11. what is port, export and implementation port? Difference between export and implementation port?
12. Let us say a dynamic aray is having size 5. Each location is of 1bit size. Write a constraint so that every time when we randomize three locations should be 1 and two locations should be 0?
13. Inheritance:
Claas A;
endclass
Class B extends class A;
int ab;
endclass
A a0;
B b0,b1;
->a0 = b0 is it possible?
->Can we access a0.ab?if not why? What will happen to ab property?
->$cast(b1,a0) is it possible?
->Can we access b1.ab?
->How we can access b1.ab if we were not able to access it using a0 handle?
14. What is virtual class? and Advantages?
15. Scripting experience.
16. A memory with 99 elements. The value in each location is repeated except one location. How you will find it?
17. logic for the below scenario:
input array [`Parameter:0]a;
dynamic array A,B;
logic:
A[0]=a[7:0];
B[0]=a[15:0];
A[1]=a[23:16];
A[2]=a[31:24]; so on..
No comments:
Post a Comment