vhdlpp: Added system function NOW.

This commit is contained in:
Maciej Suminski 2016-01-15 15:47:42 +01:00
parent 2606d0e897
commit 3af3c12b11
1 changed files with 5 additions and 0 deletions

View File

@ -163,6 +163,11 @@ static class SubprogramHexReadWrite : public SubprogramBuiltin {
void preload_std_funcs(void)
{
/* function now */
SubprogramBuiltin*fn_now = new SubprogramBuiltin(perm_string::literal("now"),
perm_string::literal("$time"), NULL, NULL);
register_std_subprogram(fn_now);
/* numeric_std library
* function unsigned
*/