U
unfrostedpoptart
Guest
Hi all.
This is one of those things I've never thought about after many years of using Verilog and now I need it can't can't figure out how to do it. I just want a way for my code to know the current timescale so it can interpret $time correctly. The only thing close I've found is $printtimescale, but that's just a print statement and I need to capture it's output into variables. I've googled and searched the LRM and can't find anything.
Thanks for any help!
David
This is one of those things I've never thought about after many years of using Verilog and now I need it can't can't figure out how to do it. I just want a way for my code to know the current timescale so it can interpret $time correctly. The only thing close I've found is $printtimescale, but that's just a print statement and I need to capture it's output into variables. I've googled and searched the LRM and can't find anything.
Thanks for any help!
David