liberty unused constants
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
4a7dd26e7b
commit
d17a232575
|
|
@ -136,12 +136,6 @@ enum class TableAxisVariable {
|
||||||
enum class PathType { clk, data, clk_and_data };
|
enum class PathType { clk, data, clk_and_data };
|
||||||
const int path_type_count = 2;
|
const int path_type_count = 2;
|
||||||
|
|
||||||
// Rise/fall to rise/fall.
|
|
||||||
const int timing_arc_index_bit_count = 2;
|
|
||||||
const int timing_arc_index_max = (1<<timing_arc_index_bit_count)-1;
|
|
||||||
const int timing_arc_set_index_bit_count = 18;
|
|
||||||
const int timing_arc_set_index_max=(1<<timing_arc_set_index_bit_count)-1;
|
|
||||||
|
|
||||||
class LibertyPortNameLess
|
class LibertyPortNameLess
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
||||||
|
|
@ -1211,8 +1211,6 @@ unsigned
|
||||||
LibertyCell::addTimingArcSet(TimingArcSet *arc_set)
|
LibertyCell::addTimingArcSet(TimingArcSet *arc_set)
|
||||||
{
|
{
|
||||||
int set_index = timing_arc_sets_.size();
|
int set_index = timing_arc_sets_.size();
|
||||||
if (set_index > timing_arc_set_index_max)
|
|
||||||
criticalError(235, "timing arc set max index exceeded");
|
|
||||||
timing_arc_sets_.push_back(arc_set);
|
timing_arc_sets_.push_back(arc_set);
|
||||||
|
|
||||||
LibertyPort *from = arc_set->from();
|
LibertyPort *from = arc_set->from();
|
||||||
|
|
|
||||||
|
|
@ -239,7 +239,8 @@ TimingArcIndex
|
||||||
TimingArcSet::addTimingArc(TimingArc *arc)
|
TimingArcSet::addTimingArc(TimingArc *arc)
|
||||||
{
|
{
|
||||||
TimingArcIndex arc_index = arcs_.size();
|
TimingArcIndex arc_index = arcs_.size();
|
||||||
if (arc_index > timing_arc_index_max)
|
// Rise/fall to rise/fall.
|
||||||
|
if (arc_index > RiseFall::index_count * RiseFall::index_count)
|
||||||
criticalError(243, "timing arc max index exceeded\n");
|
criticalError(243, "timing arc max index exceeded\n");
|
||||||
arcs_.push_back(arc);
|
arcs_.push_back(arc);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ Tag::asString(bool report_index,
|
||||||
string result;
|
string result;
|
||||||
|
|
||||||
if (report_index)
|
if (report_index)
|
||||||
result += std::to_string(index_);
|
result += std::to_string(index_) + " ";
|
||||||
|
|
||||||
if (report_rf_min_max) {
|
if (report_rf_min_max) {
|
||||||
const RiseFall *rf = transition();
|
const RiseFall *rf = transition();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue