Some test code added. To be removed later.

This commit is contained in:
Hunter Nichols 2018-08-22 14:19:09 -07:00
parent 34736b7b3f
commit 8abf45a5d3
2 changed files with 9 additions and 0 deletions

View File

@ -286,6 +286,7 @@ class delay():
"""
feasible_period = float(tech.spice["feasible_period"])
#feasible_period = float(2.5)#What happens if feasible starting point is wrong?
time_out = 8
while True:
debug.info(1, "Trying feasible period: {0}ns".format(feasible_period))
@ -436,6 +437,7 @@ class delay():
ub_period = target_period
else:
lb_period = target_period
#debug.error("Lower bound "+str(target_period)+" caused a failed simulation.Exiting...",2)
if relative_compare(ub_period, lb_period, error_tolerance=0.05):
# ub_period is always feasible

View File

@ -10,3 +10,10 @@ temperatures = [25]
output_path = "temp"
output_name = "sram_2_16_1_freepdk45"
#Below are some additions to test additional ports on sram
#bitcell = "pbitcell"
# These are the configuration parameters
#rw_ports = 2
#r_ports = 1
#w_ports = 1