How do you access elements from the end of a queue?

Did you know that you can actually access elements from the back of a queue in SystemVerilog?

Check out the code below to learn how:

Vtool_How_do_you_access_elements_from_the_end_of_a_queue?

After running the simulation the result is:

Vtool_How_do_you_access_elements_from_the_end_of_a_queue?