changed css to orange and black for Halloween; fixed CSb timing table in datasheet

This commit is contained in:
Jesse Cirimelli-Low 2018-10-30 22:56:13 -07:00
parent fe196c23a9
commit 70ac2e8aa4
2 changed files with 16 additions and 16 deletions

View File

@ -19,8 +19,8 @@
padding-top: 11px; padding-top: 11px;
padding-bottom: 11px; padding-bottom: 11px;
text-align: left; text-align: left;
background-color: #3CAF50; background-color: #FF8C00;
color: white; color: black;
} }
</style> </style>

View File

@ -121,25 +121,25 @@ def parse_characterizer_csv(f,pages):
for item in sheet.timing: for item in sheet.timing:
if item.paramter == "CSb setup rising": if item.paramter == "CSb setup rising":
if float(FF_SETUP_LH_MIN) < float(item.min): if float(FF_SETUP_LH_MIN) < float(item.min):
item.min = FF_SETUP_LH item.min = FF_SETUP_LH_MIN
elif float(FF_SETUP_LH_MAX) > float(item.max): elif float(FF_SETUP_LH_MAX) > float(item.max):
item.max = FF_SETUP_LH item.max = FF_SETUP_LH_MAX
if item.paramter == "CSb setup falling": if item.paramter == "CSb setup falling":
if float(FF_SETUP_HL_MIN) > float(item.min): if float(FF_SETUP_HL_MIN) < float(item.min):
item.max = FF_SETUP_HL_MIN item.min = FF_SETUP_HL_MIN
elif float(FF_SETUP_HL_MAX) > float(item.nax): elif float(FF_SETUP_HL_MAX) > float(item.nax):
item.max = FF_SETUP_HL_MAX item.max = FF_SETUP_HL_MAX
if item.paramter == "CSb hold rising": if item.paramter == "CSb hold rising":
if float(FF_HOLD_HL_MIN) > float(item.min): if float(FF_HOLD_HL_MIN) < float(item.min):
item.max = FF_SETUP_HL_MIN item.min = FF_SETUP_HL_MIN
elif float(FF_HOLD_HL_MAX) > float(item.nax): elif float(FF_HOLD_HL_MAX) > float(item.nax):
item.max = FF_SETUP_HL_MAX item.max = FF_SETUP_HL_MAX
if item.paramter == "CSb hold rising": if item.paramter == "CSb hold falling":
if float(FF_HOLD_HL_MIN) > float(item.min): if float(FF_HOLD_HL_MIN) < float(item.min):
item.max = FF_SETUP_HL_MIN item.min = FF_SETUP_HL_MIN
elif float(FF_HOLD_HL_MAX) > float(item.nax): elif float(FF_HOLD_HL_MAX) > float(item.nax):
item.max = FF_SETUP_HL_MAX item.max = FF_SETUP_HL_MAX
@ -170,8 +170,8 @@ def parse_characterizer_csv(f,pages):
new_sheet.timing.append(timing_and_current_data_item('Positive clk hold','2','3','4')) new_sheet.timing.append(timing_and_current_data_item('Positive clk hold','2','3','4'))
new_sheet.timing.append(timing_and_current_data_item('CSb setup rising',FF_SETUP_LH_MIN,FF_SETUP_LH_MAX,'ns')) new_sheet.timing.append(timing_and_current_data_item('CSb setup rising',FF_SETUP_LH_MIN,FF_SETUP_LH_MAX,'ns'))
new_sheet.timing.append(timing_and_current_data_item('CSb setup falling',FF_SETUP_HL_MIN,FF_SETUP_HL_MAX,'ns')) new_sheet.timing.append(timing_and_current_data_item('CSb setup falling',FF_SETUP_HL_MIN,FF_SETUP_HL_MAX,'ns'))
new_sheet.timing.append(timing_and_current_data_item('CSb hold rising',FF_SETUP_LH_MIN,FF_SETUP_LH_MAX,'ns')) new_sheet.timing.append(timing_and_current_data_item('CSb hold rising',FF_HOLD_LH_MIN,FF_HOLD_LH_MAX,'ns'))
new_sheet.timing.append(timing_and_current_data_item('CSb hold falling',FF_SETUP_HL_MIN,FF_SETUP_HL_MAX,'ns')) new_sheet.timing.append(timing_and_current_data_item('CSb hold falling',FF_HOLD_HL_MIN,FF_HOLD_HL_MAX,'ns'))
new_sheet.timing.append(timing_and_current_data_item('AC current','2','3','4')) new_sheet.timing.append(timing_and_current_data_item('AC current','2','3','4'))
new_sheet.timing.append(timing_and_current_data_item('Standby current','2','3','4')) new_sheet.timing.append(timing_and_current_data_item('Standby current','2','3','4'))
new_sheet.timing.append(timing_and_current_data_item('Area','2','3','4')) new_sheet.timing.append(timing_and_current_data_item('Area','2','3','4'))