Minor fixes to br916 patch.
This commit is contained in:
parent
e99d53b80b
commit
838f6ce862
|
|
@ -1092,7 +1092,7 @@ static int sys_check_args(vpiHandle callh, vpiHandle argv, const PLI_BYTE8*name,
|
||||||
#ifdef BR916_STOPGAP_FIX
|
#ifdef BR916_STOPGAP_FIX
|
||||||
// no_auto implies either $strobe or $monitor
|
// no_auto implies either $strobe or $monitor
|
||||||
if (no_auto) {
|
if (no_auto) {
|
||||||
switch (vpi_get(_vpiFromThr, arg)) {
|
switch (vpi_get(_vpiFromThr, arg)) {
|
||||||
case _vpiVThr:
|
case _vpiVThr:
|
||||||
case _vpiWord:
|
case _vpiWord:
|
||||||
case _vpiString:
|
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 "
|
vpi_printf("currently only simple signals or constant "
|
||||||
"expressions may be passed to %s.\n", name);
|
"expressions may be passed to %s.\n", name);
|
||||||
if (!br916_hint_issued) {
|
if (!br916_hint_issued) {
|
||||||
vpi_printf("NOTE: You can work round this by "
|
vpi_printf("NOTE: You can work around this by "
|
||||||
"assigning the desired expression "
|
"assigning the desired expression "
|
||||||
"to an intermediate net (using a "
|
"to an\n"
|
||||||
"continuous assignment) and passing "
|
" intermediate net (using a "
|
||||||
"that net to %s.\n", name);
|
"continuous assignment) and passing "
|
||||||
|
"that net\n"
|
||||||
|
" to %s.\n", name);
|
||||||
|
br916_hint_issued = 1;
|
||||||
}
|
}
|
||||||
ret = 1;
|
ret = 1;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue