Skip to content

Commit

Permalink
Merge pull request google#69 from mabrains/xyce_diode_reg
Browse files Browse the repository at this point in the history
add diode iv only
  • Loading branch information
FaragElsayed2 authored Jan 11, 2023
2 parents 6449636 + 5dc5ef5 commit 3c99904
Show file tree
Hide file tree
Showing 30 changed files with 3 additions and 3 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dn1 n 0 {{device}} AREA={{area}}p
*****************
** Analysis
*****************
.DC Vn -12.13 1.13 0.13
.DC Vn -40.41 1.41 0.41
.STEP TEMP {{temp}} -60 200
.print DC FORMAT=CSV file=diode_regr/{{device}}/simulated_iv/simulated_A{{area}}_P{{pj}}_t{{temp}}_{{corner}}.csv {abs(I(dn1))}

Expand Down
4 changes: 2 additions & 2 deletions models/xyce/testing/regression/diode/models_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,12 +332,12 @@ def main():

# cv section

diode_data_files = glob.glob(f"./0_measured_data/{dev}_{c}.nl_out.xlsx")
diode_data_files = glob.glob(f"../../180MCU_SPICE_DATA/Diode/{dev}_{c}.nl_out.xlsx")
if len(diode_data_files) < 1:
logging.error(f"# Can't find diode file for device: {dev}")
diode_file = ""
else:
diode_file = diode_data_files[0]
diode_file = os.path.abspath(diode_data_files[0])
logging.info(f"# diode_{c} data points file : {diode_file}")

avail_mess = f"# No {c}_datapoints available for"
Expand Down

0 comments on commit 3c99904

Please sign in to comment.