Skip to content

Instantly share code, notes, and snippets.

@rafaelnp
Created May 1, 2020 11:07
Show Gist options
  • Save rafaelnp/ff58033dbfa09875f2f633e5e6e6501b to your computer and use it in GitHub Desktop.
Save rafaelnp/ff58033dbfa09875f2f633e5e6e6501b to your computer and use it in GitHub Desktop.
VHDL Snippets
-- get current simulation time
report "current simulation time = " & time'image(now);
-- storing in a variable
variable v_curtime : time := 0 ns;
v_curtime := now;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment