Lines Matching refs:noc_params

57     if (noc_params.type) {
65 router = new Router(noc_params.flit_size,
66 noc_params.virtual_channel_per_port *
67 noc_params.input_buffer_entries_per_vc,
68 noc_params.virtual_channel_per_port,
70 noc_params.input_ports, noc_params.output_ports,
71 noc_params.M_traffic_pattern);
75 noc_params.total_nodes);
86 if (noc_params.type) {
92 interface_ip.throughput = noc_params.link_throughput /
93 noc_params.clockRate;
94 interface_ip.latency = noc_params.link_latency / noc_params.clockRate;
96 link_len /= (noc_params.horizontal_nodes + noc_params.vertical_nodes) / 2;
98 if (noc_params.total_nodes > 1) {
103 noc_params.link_base_width,
104 noc_params.link_base_height,
105 noc_params.flit_size, link_len, &interface_ip,
106 noc_params.link_start_wiring_level,
107 noc_params.clockRate, true/*pipelinable*/,
108 noc_params.route_over_perc);
127 set_pppm(pppm_t, noc_params.total_nodes,
128 noc_params.total_nodes,
129 noc_params.total_nodes,
130 noc_params.total_nodes);
133 if (noc_params.type) {
134 link_bus->int_params.active_ports = noc_params.min_ports - 1;
136 link_bus->int_params.active_ports = noc_params.min_ports;
139 noc_params.M_traffic_pattern * noc_stats.duty_cycle;
143 set_pppm(pppm_t, noc_params.total_nodes,
144 noc_params.total_nodes,
145 noc_params.total_nodes,
146 noc_params.total_nodes);
178 memset(&noc_params, 0, sizeof(OnChipNetworkParameters));
191 ASSIGN_INT_IF("type", noc_params.type);
192 ASSIGN_FP_IF("clockrate", noc_params.clockRate);
193 ASSIGN_INT_IF("flit_bits", noc_params.flit_size);
195 ASSIGN_FP_IF("link_throughput", noc_params.link_throughput);
196 ASSIGN_FP_IF("link_latency", noc_params.link_latency);
197 ASSIGN_INT_IF("input_ports", noc_params.input_ports);
198 ASSIGN_INT_IF("output_ports", noc_params.output_ports);
199 ASSIGN_INT_IF("global_linked_ports", noc_params.global_linked_ports);
200 ASSIGN_INT_IF("horizontal_nodes", noc_params.horizontal_nodes);
201 ASSIGN_INT_IF("vertical_nodes", noc_params.vertical_nodes);
202 ASSIGN_FP_IF("chip_coverage", noc_params.chip_coverage);
204 noc_params.route_over_perc);
205 ASSIGN_INT_IF("has_global_link", noc_params.has_global_link);
207 noc_params.virtual_channel_per_port);
209 noc_params.input_buffer_entries_per_vc);
210 ASSIGN_FP_IF("M_traffic_pattern", noc_params.M_traffic_pattern);
211 ASSIGN_FP_IF("link_base_width", noc_params.link_base_width);
212 ASSIGN_FP_IF("link_base_height", noc_params.link_base_height);
214 noc_params.link_start_wiring_level);
224 noc_params.clockRate *= 1e6;
246 clockRate = noc_params.clockRate;
247 noc_params.min_ports =
248 min(noc_params.input_ports, noc_params.output_ports);
249 if (noc_params.type) {
250 noc_params.global_linked_ports = (noc_params.input_ports - 1) +
251 (noc_params.output_ports - 1);
253 noc_params.total_nodes =
254 noc_params.horizontal_nodes * noc_params.vertical_nodes;
256 assert(noc_params.chip_coverage <= 1);
257 assert(noc_params.route_over_perc <= 1);