bsimcmg, work around block_local variables

This commit is contained in:
rlar 2017-07-07 17:00:07 +02:00
parent a307fbc535
commit 953f61b3e4
1 changed files with 15 additions and 0 deletions

View File

@ -44,6 +44,21 @@
// Macro for the geometry-dependent fringing capacitance
// model
// ********************************************************
/*
(while (re-search-forward
(rx bow
(or "Hr" "Lr" "Hgdelta" "Lmax" "y" "x"
"CcgSat" "Cnon" "TT1" "Ccg1" "r1cf" "Rcf" "Ccg2"
"Ccg" "C1" "C2" "C3" "Cfglog" "dcf" "TT0"
"TT2" "Cfgsat" "delta" "xCfg")
eow)
nil t)
(replace-match "x42_\\&" t))
*/
`define Cfringe_2d_vars() \
`define Cfringe_2d(block_name, Hg, Hc, Lext, Wfin, Lc, Lg, Tox, Cf1, Cgg) \
begin : block_name \
real Hr, Lr, Hgdelta, Lmax, y, x; \