Uvm_config_db get doesn't get the expected value

Why is your get pointing to null? Shouldn’t it be pointing to “this” instead, like so:

uvm_config_db #(int)::get(this, "", "mem_int_max", max);
uvm_config_db #(int)::get(this, "", "mem_int_min", min);

Let me know if this works.

Also, you may want to consider putting all these configuration flags inside a configuration class, and then using the config db to point to the class.