# \#shallow-copy

**URL:** https://verificationacademy.com/forums/tag/shallow-copy/4451.md

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [Deep copy in System Verilog](https://verificationacademy.com/forums/t/deep-copy-in-system-verilog/46532)

<div class="topic-metadata">

**Author:** [@Abuzar\_Gaffari](https://verificationacademy.com/forums/u/Abuzar_Gaffari)\
**Replies:** 1\
**Last updated:** [March 20, 2024, 3:00pm UTC](https://verificationacademy.com/forums/t/deep-copy-in-system-verilog/46532 "2024-03-20T15:00:53Z")

</div>

I have doubt in the following snippet which is related to deep copy. // Packet is a class with properties addr and data. // It also has instance of another class ar function packet copy(); //Here copy is just name of…

---

## [Shallow Copy Methods](https://verificationacademy.com/forums/t/shallow-copy-methods/32207)

<div class="topic-metadata">

**Author:** [@nayan2208](https://verificationacademy.com/forums/u/nayan2208)\
**Replies:** 3\
**Last updated:** [August 30, 2016, 2:13pm UTC](https://verificationacademy.com/forums/t/shallow-copy-methods/32207 "2016-08-30T14:13:09Z")

</div>

Hello All I have a doubt in Shallow Copy Method in System Verilog… Following are the two ways i tried Shallow Copy can you please tell me the the difference in two methods what exactly happening in two methods… Lets a…

---

## [Randomization behaviour when doing shallow copy](https://verificationacademy.com/forums/t/randomization-behaviour-when-doing-shallow-copy/30006)

<div class="topic-metadata">

**Author:** [@sharat](https://verificationacademy.com/forums/u/sharat)\
**Replies:** 3\
**Last updated:** [October 9, 2014, 6:12pm UTC](https://verificationacademy.com/forums/t/randomization-behaviour-when-doing-shallow-copy/30006 "2014-10-09T18:12:18Z")

</div>

I have a question regarding randomization, when an object is created as a shallow copy of another object. In the following code, b2 is created as a shallow copy of b1 and when repeatedly randomized, it produces same valu…

---

## [Shallow copy](https://verificationacademy.com/forums/t/shallow-copy/29196)

<div class="topic-metadata">

**Author:** [@amitam98](https://verificationacademy.com/forums/u/amitam98)\
**Replies:** 1\
**Last updated:** [February 26, 2014, 5:51am UTC](https://verificationacademy.com/forums/t/shallow-copy/29196 "2014-02-26T05:51:19Z")

</div>

Hello…I am a kind of stuck in concept regarding shallow copy while working on the following piece of code… Actually…as far as i know, in case of shallow copy, only pointers are copied, like let us suppose, we are having…
