How to get config object from config db to the tb_top

In reply to MayurKubavat:

When I changed the order of the get (rx, and then tx) I got error regarding the tx.