forked from Zhu-Zhenhua/MNSIM_V1.1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.h
executable file
·26 lines (24 loc) · 1.08 KB
/
global.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include<iostream>
#ifndef GLOBAL_H
#define GLOBAL_H
extern int control;
extern double input_sig;
extern double output_neighbor;
extern double output_sig;
extern double signalsize;
extern int netcolumn;
extern int netrow,count;
extern double utilization;
extern double bandwidth;
extern double flags[4];
extern double xbar_area,techwl,ad_area,da_area,adder_area,pulse_area,decoder_area,read_area,write_area,Sub_area,area_u;
extern double xbar_latency,adda_latency,adder_latency,decoder_latency,write_latency,read_latency,latency_u;
extern double xbar_power,adder_power,adder_act,adder_leak,ad_power,da_power,decoder_power,read_power,pulse_power,write_power,Sub_power,power_u;
extern double area_l,power_l,latency_l;
extern double adders_area,neuron_area,area_p;
extern double adders_latency,neuron_latency,pulse_latency,latency_p;
extern double adders_power,neuron_power,power_p;
extern double accuracy,d1,area,area_flags,energy,latency,latency_multi,power_multi,power_flags,area_multi,power,energy,application,action_type;
extern int target;
extern double tech,pulseposition,cell_bit,lantency_multi;
#endif