# How exactly the new() function is allocating memory in systemverilog

**URL:** <https://verificationacademy.com/forums/t/how-exactly-the-new-function-is-allocating-memory-in-systemverilog/36401>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, new\
**Created:** [August 12, 2019, 8:01am UTC](https://verificationacademy.com/forums/t/how-exactly-the-new-function-is-allocating-memory-in-systemverilog/36401 "2019-08-12T08:01:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sbellock](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/s/f4b2a3/32.png) [@sbellock](https://verificationacademy.com/forums/u/sbellock)\
**Post date:** [August 13, 2019, 2:49pm UTC](https://verificationacademy.com/forums/t/how-exactly-the-new-function-is-allocating-memory-in-systemverilog/36401/4 "2019-08-13T14:49:10Z")

</div>

_In reply to [SATYA369](https://verificationacademy.com/forums/t/how-exactly-the-new-function-is-allocating-memory-in-systemverilog/36401/3):_

It’s either malloc or something similar to malloc, where malloc could be owned by the operating system or C library, or the simulator vendor could implements its own version.

---

_[View the full topic](https://verificationacademy.com/forums/t/how-exactly-the-new-function-is-allocating-memory-in-systemverilog/36401)._
