Support for automatic tasks and functions.

This patch adds support for automatic tasks and functions.
Refer to the overview in vvp/README.txt for details.
This commit is contained in:
Martin Whitaker
2008-09-27 15:51:16 -07:00
committed by Stephen Williams
parent 46bf03bba4
commit 7ebcc6b357
35 changed files with 1002 additions and 183 deletions
+3 -1
View File
@@ -852,7 +852,9 @@ void compile_var_array(char*label, char*name, int last, int first,
/* Make the words. */
arr->vals_width = labs(msb-lsb) + 1;
arr->vals = new vvp_vector4array_t(arr->vals_width, arr->array_count);
arr->vals = new vvp_vector4array_t(arr->vals_width, arr->array_count,
vpip_peek_current_scope()->is_automatic);
vpip_add_item_to_current_scope(arr->vals);
vpip_make_dec_const(&arr->msb, msb);
vpip_make_dec_const(&arr->lsb, lsb);