1. A method comprising: receiving a memory specification corresponding to a design under test (DUT), wherein the memory specification comprises configuration information on one or more memories of the DUT; analyzing the memory specification to identify one or more memories; parsing the memory specification to extract configuration information associated with the one or more identified memories; for each identified memory, utilizing the configuration information to generate a respective script comprising a plurality of commands, wherein the plurality of commands of each respective script are written in a first language, and wherein the plurality of commands are configured to perform a memory dump operation of the identified memory; generating a top-level script with one or more commands to call one or more respective scripts corresponding to the one or more identified memories, wherein the top-level script is configured to perform a memory dump operation of the one or more identified memories.