#include <stdio.h>
#include <math.h>
#include "util.h"
#include "vpr_types.h"
#include "globals.h"
#include "path_delay.h"
#include "path_delay2.h"
#include "net_delay.h"
#include "timing_place_lookup.h"
#include "timing_place.h"
Go to the source code of this file.
static float ** alloc_crit |
( |
t_chunk * |
chunk_list_ptr | ) |
|
|
static |
Definition at line 31 of file timing_place.c.
43 for (inet = 0; inet <
num_nets; inet++) {
45 (
clb_net[inet].num_sinks) *
sizeof(float), chunk_list_ptr);
46 local_crit[inet] = tmp_ptr - 1;
void * my_chunk_malloc(size_t size, t_chunk *chunk_info)
static void * my_malloc(int ibytes)
Definition at line 121 of file timing_place.c.
133 timing_inf, chan_width_dist, directs, num_directs);
static float ** alloc_crit(t_chunk *chunk_list_ptr)
float ** timing_place_crit
static t_chunk timing_place_crit_ch
static t_chunk net_delay_ch
void compute_delay_lookup_tables(struct s_router_opts router_opts, struct s_det_routing_arch det_routing_arch, t_segment_inf *segment_inf, t_timing_inf timing_inf, t_chan_width_dist chan_width_dist, INP t_direct_inf *directs, INP int num_directs)
float ** alloc_net_delay(t_chunk *chunk_list_ptr, struct s_net *nets, int n_nets)
t_slack * alloc_and_load_timing_graph(t_timing_inf timing_inf)
static void free_crit |
( |
t_chunk * |
chunk_list_ptr | ) |
|
|
static |
Definition at line 53 of file timing_place.c.
void free_chunk_memory(t_chunk *chunk_info)
void free_lookups_and_criticalities |
( |
float *** |
net_delay, |
|
|
t_slack * |
slacks |
|
) |
| |
Definition at line 141 of file timing_place.c.
float ** timing_place_crit
static float ** net_delay
static t_chunk timing_place_crit_ch
void free_place_lookup_structs(void)
static void free_crit(t_chunk *chunk_list_ptr)
static t_chunk net_delay_ch
void free_net_delay(float **net_delay, t_chunk *chunk_list_ptr)
void free_timing_graph(t_slack *slacks)
void load_criticalities |
( |
t_slack * |
slacks, |
|
|
float |
crit_exponent |
|
) |
| |
Definition at line 81 of file timing_place.c.
88 float timing_criticality, path_criticality;
91 for (inet = 0; inet <
num_nets; inet++) {
106 path_criticality = slacks->path_criticality[inet][ipin];
110 + (1 - PLACE_PATH_WEIGHT) * timing_criticality;
float ** timing_place_crit
float ** timing_criticality
#define HUGE_NEGATIVE_FLOAT
void print_sink_delays |
( |
const char * |
fname | ) |
|
Definition at line 58 of file timing_place.c.
60 int num_at_level, num_edges, inode, ilevel, i;
68 for (i = 0; i < num_at_level; i++) {
73 fprintf(fp,
"%g\n",
tnode[inode].T_arr);
struct s_ivec * tnodes_at_level
FILE * my_fopen(const char *fname, const char *flag, int prompt)
t_chunk net_delay_ch = {NULL, 0, NULL} |
|
static |
float** timing_place_crit |
t_chunk timing_place_crit_ch = {NULL, 0, NULL} |
|
static |