@pinlist will be comma separated in verilog netlists

This commit is contained in:
Stefan Frederik 2022-10-01 09:46:58 +02:00
parent d06310deae
commit db94f9fb25
2 changed files with 2 additions and 4 deletions

View File

@ -368,7 +368,6 @@ char *dtoa_eng(double i)
return s; return s;
} }
char *dtoa_prec(double i) char *dtoa_prec(double i)
{ {
static char s[70]; static char s[70];
@ -378,7 +377,6 @@ char *dtoa_prec(double i)
return s; return s;
} }
size_t my_mstrcat(int id, char **str, const char *add, ...) size_t my_mstrcat(int id, char **str, const char *add, ...)
{ {
va_list args; va_list args;
@ -637,7 +635,6 @@ static void edit_rect_property(int x)
my_free(725, &oldprop); my_free(725, &oldprop);
} }
static void edit_line_property(void) static void edit_line_property(void)
{ {
int i, c, n; int i, c, n;

View File

@ -2431,7 +2431,8 @@ static void print_verilog_primitive(FILE *fd, int inst) /* netlist switch level
for(i=0;i<no_of_pins;i++) for(i=0;i<no_of_pins;i++)
{ {
str_ptr = net_name(inst,i, &multip, 0, 1); str_ptr = net_name(inst,i, &multip, 0, 1);
fprintf(fd, "----pin(%s) ", str_ptr); fprintf(fd, "----pin(%s)", str_ptr);
if(i < no_of_pins - 1) fprintf(fd, " , ");
} }
} }
else if(token[0]=='@' && token[1]=='@') { /* recognize single pins 15112003 */ else if(token[0]=='@' && token[1]=='@') { /* recognize single pins 15112003 */