Hi @cartercheng
I don't believe that it is possible to call a tcl command from with a System Verilog / Verilog file during simulation.
Depending on what you want to do you can use the export_simulation command to generate a script which can be modified.
Also there is support for DPI in Vivado Simulator, information on what is supported can be found in Appendix D of UG900.
Best Regards
Aidan
------------------------------------------------------------------------------------------------------------------
Please mark the Answer as "Accept as solution" if this answered your question
Give Kudos to a post which you think is helpful and may help other users
------------------------------------------------------------------------------------------------------------------