title: What is the function of $readmemh and $writememh in Verilog?
body: <p>I have been looking at some Verilog testbench code that heavily uses <code>$readmemh</code> and <code>$writememh</code>.</p>
  <p>I have a vague understanding that these functions basically read to and write from memory. What is their specific function and how do they work?</p>