vvp: Minor changes.

This commit is contained in:
Maciej Suminski 2014-11-26 11:24:13 +01:00
parent 21a8cb71ee
commit a236c274f3
3 changed files with 6 additions and 6 deletions

View File

@ -368,7 +368,7 @@ void __vpiArray::get_word_value(struct __vpiArrayWord*word, p_vpi_value vp)
break;
default:
fprintf(stderr, "vpi sorry: format is not implemented");
fprintf(stderr, "vpi sorry: format is not implemented\n");
assert(false);
}
}

View File

@ -84,7 +84,7 @@ vpiHandle __vpiArrayIndex::vpi_iterate(int code)
if (code == vpiIndex) {
struct __vpiArrayIndex*res;
res = new __vpiArrayIndex;
res->index = index; // TODO ? see above comment
res->index = index; // see the comment above
res->done = 0;
return res;
}

View File

@ -109,16 +109,16 @@ void __vpiDarrayVar::get_word_value(struct __vpiArrayWord*word, p_vpi_value vp)
break;
default:
fprintf(stderr, "vpi sorry: format is not implemented");
fprintf(stderr, "vpi sorry: format is not implemented\n");
assert(false);
}
}
void __vpiDarrayVar::put_word_value(struct __vpiArrayWord*word, p_vpi_value vp, int flags)
void __vpiDarrayVar::put_word_value(struct __vpiArrayWord*word, p_vpi_value vp, int)
{
}
vpiHandle __vpiDarrayVar::get_iter_index(struct __vpiArrayIterator*iter, int idx)
vpiHandle __vpiDarrayVar::get_iter_index(struct __vpiArrayIterator*, int idx)
{
return NULL;
}
@ -189,7 +189,7 @@ vpiHandle vpip_make_darray_var(const char*name, vvp_net_t*net)
struct __vpiScope*scope = vpip_peek_current_scope();
const char*use_name = name ? vpip_name_string(name) : 0;
class __vpiDarrayVar*obj = new __vpiDarrayVar(scope, use_name, net);
__vpiDarrayVar*obj = new __vpiDarrayVar(scope, use_name, net);
return obj;
}