report_arrival requires not needed
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
741bf4d561
commit
e054499e45
|
|
@ -1517,10 +1517,12 @@ protected:
|
||||||
void reportDelaysWrtClks(const Pin *pin,
|
void reportDelaysWrtClks(const Pin *pin,
|
||||||
const Scene *scene,
|
const Scene *scene,
|
||||||
int digits,
|
int digits,
|
||||||
|
bool find_required,
|
||||||
PathDelayFunc get_path_delay);
|
PathDelayFunc get_path_delay);
|
||||||
void reportDelaysWrtClks(Vertex *vertex,
|
void reportDelaysWrtClks(Vertex *vertex,
|
||||||
const Scene *scene,
|
const Scene *scene,
|
||||||
int digits,
|
int digits,
|
||||||
|
bool find_required,
|
||||||
PathDelayFunc get_path_delay);
|
PathDelayFunc get_path_delay);
|
||||||
void reportDelaysWrtClks(Vertex *vertex,
|
void reportDelaysWrtClks(Vertex *vertex,
|
||||||
const ClockEdge *clk_edge,
|
const ClockEdge *clk_edge,
|
||||||
|
|
|
||||||
|
|
@ -3270,7 +3270,8 @@ Sta::reportArrivalWrtClks(const Pin *pin,
|
||||||
const Scene *scene,
|
const Scene *scene,
|
||||||
int digits)
|
int digits)
|
||||||
{
|
{
|
||||||
reportDelaysWrtClks(pin, scene, digits,
|
searchPreamble();
|
||||||
|
reportDelaysWrtClks(pin, scene, digits, false,
|
||||||
[] (const Path *path) {
|
[] (const Path *path) {
|
||||||
return path->arrival();
|
return path->arrival();
|
||||||
});
|
});
|
||||||
|
|
@ -3281,7 +3282,7 @@ Sta::reportRequiredWrtClks(const Pin *pin,
|
||||||
const Scene *scene,
|
const Scene *scene,
|
||||||
int digits)
|
int digits)
|
||||||
{
|
{
|
||||||
reportDelaysWrtClks(pin, scene, digits,
|
reportDelaysWrtClks(pin, scene, digits, true,
|
||||||
[] (const Path *path) {
|
[] (const Path *path) {
|
||||||
return path->required();
|
return path->required();
|
||||||
});
|
});
|
||||||
|
|
@ -3292,7 +3293,7 @@ Sta::reportSlackWrtClks(const Pin *pin,
|
||||||
const Scene *scene,
|
const Scene *scene,
|
||||||
int digits)
|
int digits)
|
||||||
{
|
{
|
||||||
reportDelaysWrtClks(pin, scene, digits,
|
reportDelaysWrtClks(pin, scene, digits, true,
|
||||||
[this] (const Path *path) {
|
[this] (const Path *path) {
|
||||||
return path->slack(this);
|
return path->slack(this);
|
||||||
});
|
});
|
||||||
|
|
@ -3302,24 +3303,29 @@ void
|
||||||
Sta::reportDelaysWrtClks(const Pin *pin,
|
Sta::reportDelaysWrtClks(const Pin *pin,
|
||||||
const Scene *scene,
|
const Scene *scene,
|
||||||
int digits,
|
int digits,
|
||||||
|
bool find_required,
|
||||||
PathDelayFunc get_path_delay)
|
PathDelayFunc get_path_delay)
|
||||||
{
|
{
|
||||||
ensureGraph();
|
ensureGraph();
|
||||||
Vertex *vertex, *bidir_vertex;
|
Vertex *vertex, *bidir_vertex;
|
||||||
graph_->pinVertices(pin, vertex, bidir_vertex);
|
graph_->pinVertices(pin, vertex, bidir_vertex);
|
||||||
if (vertex)
|
if (vertex)
|
||||||
reportDelaysWrtClks(vertex, scene, digits, get_path_delay);
|
reportDelaysWrtClks(vertex, scene, digits, find_required, get_path_delay);
|
||||||
if (bidir_vertex)
|
if (bidir_vertex)
|
||||||
reportDelaysWrtClks(vertex, scene, digits, get_path_delay);
|
reportDelaysWrtClks(vertex, scene, digits, find_required, get_path_delay);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Sta::reportDelaysWrtClks(Vertex *vertex,
|
Sta::reportDelaysWrtClks(Vertex *vertex,
|
||||||
const Scene *scene,
|
const Scene *scene,
|
||||||
int digits,
|
int digits,
|
||||||
|
bool find_required,
|
||||||
PathDelayFunc get_path_delay)
|
PathDelayFunc get_path_delay)
|
||||||
{
|
{
|
||||||
findRequired(vertex);
|
if (find_required)
|
||||||
|
findRequired(vertex);
|
||||||
|
else
|
||||||
|
search_->findArrivals(vertex->level());
|
||||||
const Sdc *sdc = scene->sdc();
|
const Sdc *sdc = scene->sdc();
|
||||||
reportDelaysWrtClks(vertex, nullptr, scene, digits, get_path_delay);
|
reportDelaysWrtClks(vertex, nullptr, scene, digits, get_path_delay);
|
||||||
const ClockEdge *default_clk_edge = sdc->defaultArrivalClock()->edge(RiseFall::rise());
|
const ClockEdge *default_clk_edge = sdc->defaultArrivalClock()->edge(RiseFall::rise());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue