update tier.tcl generator to handle unresolvable parameters

This commit is contained in:
stefan schippers 2023-09-19 01:29:52 +02:00
parent fd2be4a599
commit 75e99cae91
2 changed files with 15 additions and 1 deletions

View File

@ -1391,6 +1391,20 @@ int place_symbol(int pos, const char *symbol_name, double x, double y, short rot
dbg(1, "place_symbol(): done set_inst_prop()\n"); /* 03-02-2000 */
set_inst_flags(&xctx->inst[n]);
my_strncpy(name, translate(n, name), S(name));
i = match_symbol(name);
xctx->inst[n].ptr = i;
type = xctx->sym[xctx->inst[n].ptr].type;
cond= type && IS_LABEL_SH_OR_PIN(type);
if(cond) {

View File

@ -10,7 +10,7 @@ puts "v {xschem version=3.4.0 file_version=1.2
G {}
K {type=label
format=\"*.alias @lab\"
template=\"name=p1 sig_type=std_logic lab=${arg1}\"
template=\"name=p1 sig_type=std_logic lab=GND\"
net_name=true
}
V {}