Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

spectremdl and "print fmt" function

Status
Not open for further replies.

pierre13

Junior Member level 3
Junior Member level 3
Joined
Aug 9, 2012
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,725
Hello !!

I would like to use the "print fmt" function of spectremdl, however, I have not managed yet in printing something in an ouput file with this function.
I have written some extracted data from a transient simu with export command but the "print fmt" doesn't work for me.

I would like to better configure what is inside the results_file, meaning removing the default template :
"Exported variables from results directory: ./input.raw

date : 31:18:59 AM, Wed Jun 19, 2023
design : (no title)
simulator : spectre"


I launch : spectremdl -batch input.mdl -design input.scs -measure results_file +log log_file.log



I have the following input.mdl file :


/* mdl measurement file */


alias measurement run_tran_simu {

input string out="aaa/bbb/ccc/results_file"

run tran


export real out_value_50n = V(out)@50n
export real out_value_0 = V(out)@0

export real diff_out_50n_0 = abs(V(out)@50n - V(out)@0)

print fmt ("****Cell functionnality : TEST****") addto=out

if (diff_out_50n_0 > 1)
{
print fmt ("****Cell functionnality : GOOD****") addto=out
}
else
{
print fmt ("****Cell functionnality : BAD****") addto=out
}

}

run run_tran_simu



and the following results_file :

Exported variables from results directory: ./input.raw

date : 31:18:59 AM, Wed Jun 19, 2033
design : (no title)
simulator : spectre


Measurement Name : run_tran_simu
Analysis Type : tran
diff_out_50n_0 = 1.1
out_value_0 = 1.1
out_value_50n = 4.89856e-06

NB : we don't see any "print fmt" written stuff !!

The log file is clean :
sam@clust:/xxx/yyy/.../zzz> grep -i error log_file.log
spectre completes with 0 errors, 0 warnings, and 3594 notices.


How can I do to use this "print fmt" function with success ? How can i customize the "template" of the results_file ??

Thanks !!

P.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top