update tier.tcl generator to handle unresolvable parameters
This commit is contained in:
parent
fd2be4a599
commit
75e99cae91
|
|
@ -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 */
|
dbg(1, "place_symbol(): done set_inst_prop()\n"); /* 03-02-2000 */
|
||||||
|
|
||||||
set_inst_flags(&xctx->inst[n]);
|
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;
|
type = xctx->sym[xctx->inst[n].ptr].type;
|
||||||
cond= type && IS_LABEL_SH_OR_PIN(type);
|
cond= type && IS_LABEL_SH_OR_PIN(type);
|
||||||
if(cond) {
|
if(cond) {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ puts "v {xschem version=3.4.0 file_version=1.2
|
||||||
G {}
|
G {}
|
||||||
K {type=label
|
K {type=label
|
||||||
format=\"*.alias @lab\"
|
format=\"*.alias @lab\"
|
||||||
template=\"name=p1 sig_type=std_logic lab=${arg1}\"
|
template=\"name=p1 sig_type=std_logic lab=GND\"
|
||||||
net_name=true
|
net_name=true
|
||||||
}
|
}
|
||||||
V {}
|
V {}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue