File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
plugins/netlist_preprocessing/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -624,13 +624,13 @@ namespace hal
624
624
const GateType* type;
625
625
std::map<GatePin*, Net*> ordered_fan_in = {};
626
626
std::set<Net*> unordered_fan_in = {};
627
- u8 trust_table_hw = 0 ;
627
+ u8 truth_table_hw = 0 ;
628
628
629
629
bool operator <(const GateFingerprint& other) const
630
630
{
631
631
return (other.type < type) || (other.type == type && other.ordered_fan_in < ordered_fan_in)
632
632
|| (other.type == type && other.ordered_fan_in == ordered_fan_in && other.unordered_fan_in < unordered_fan_in)
633
- || (other.type == type && other.ordered_fan_in == ordered_fan_in && other.unordered_fan_in == unordered_fan_in && other.trust_table_hw < trust_table_hw );
633
+ || (other.type == type && other.ordered_fan_in == ordered_fan_in && other.unordered_fan_in == unordered_fan_in && other.truth_table_hw < truth_table_hw );
634
634
}
635
635
};
636
636
@@ -681,9 +681,9 @@ namespace hal
681
681
u8 tmp = std::toupper (c) - 0x30 ;
682
682
if (tmp > 9 )
683
683
{
684
- tmp -= 0x11 ;
684
+ tmp -= 0x7 ;
685
685
}
686
- fingerprint.trust_table_hw += hw_map.at (tmp);
686
+ fingerprint.truth_table_hw += hw_map.at (tmp);
687
687
}
688
688
}
689
689
}
You can’t perform that action at this time.
0 commit comments