Minor fixes to br916 patch.

This commit is contained in:
Cary R 2013-02-04 11:41:22 -08:00
parent e99d53b80b
commit 838f6ce862
1 changed files with 9 additions and 6 deletions

View File

@ -1092,7 +1092,7 @@ static int sys_check_args(vpiHandle callh, vpiHandle argv, const PLI_BYTE8*name,
#ifdef BR916_STOPGAP_FIX
// no_auto implies either $strobe or $monitor
if (no_auto) {
switch (vpi_get(_vpiFromThr, arg)) {
switch (vpi_get(_vpiFromThr, arg)) {
case _vpiVThr:
case _vpiWord:
case _vpiString:
@ -1102,11 +1102,14 @@ static int sys_check_args(vpiHandle callh, vpiHandle argv, const PLI_BYTE8*name,
vpi_printf("currently only simple signals or constant "
"expressions may be passed to %s.\n", name);
if (!br916_hint_issued) {
vpi_printf("NOTE: You can work round this by "
"assigning the desired expression "
"to an intermediate net (using a "
"continuous assignment) and passing "
"that net to %s.\n", name);
vpi_printf("NOTE: You can work around this by "
"assigning the desired expression "
"to an\n"
" intermediate net (using a "
"continuous assignment) and passing "
"that net\n"
" to %s.\n", name);
br916_hint_issued = 1;
}
ret = 1;
default: