From 838f6ce862c998859279e22e94dd0b5855c7d97a Mon Sep 17 00:00:00 2001 From: Cary R Date: Mon, 4 Feb 2013 11:41:22 -0800 Subject: [PATCH] Minor fixes to br916 patch. --- vpi/sys_display.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/vpi/sys_display.c b/vpi/sys_display.c index bebd2c235..4b87a9f72 100644 --- a/vpi/sys_display.c +++ b/vpi/sys_display.c @@ -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: