Fix VHDL code generator crash when code contains a real-valued parameter.

This commit is contained in:
Martin Whitaker 2013-04-12 23:41:52 +01:00
parent 23dbfabb1e
commit 46f63db746
1 changed files with 4 additions and 1 deletions

View File

@ -950,6 +950,10 @@ static void create_skeleton_entity_for(ivl_scope_t scope, int depth)
ss << ivl_expr_uvalue(value);
break;
case IVL_EX_REALNUM:
ss << ivl_expr_dvalue(value);
break;
default:
assert(false);
}
@ -1251,4 +1255,3 @@ int draw_scope(ivl_scope_t scope, void *_parent)
return 0;
}