00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043 double area_all_datasubarrays;
00044 double area_all_tagsubarrays;
00045 double area_all_dataramcells;
00046 double area_all_tagramcells;
00047 double faarea_all_subarrays ;
00048
00049 double aspect_ratio_data;
00050 double aspect_ratio_tag;
00051 double aspect_ratio_subbank;
00052 double aspect_ratio_total;
00053
00054 #define Widthptondiff 4.0
00055 #define Widthtrack 3.2
00056 #define Widthcontact 1.6
00057 #define Wpoly 0.8
00058 #define ptocontact 0.4
00059 #define stitch_ramv 6.0
00060 #define BitHeight16x2 33.6
00061 #define stitch_ramh 12.0
00062 #define BitWidth16x2 192.8
00063 #define WidthNOR1 11.6
00064 #define WidthNOR2 13.6
00065 #define WidthNOR3 20.8
00066 #define WidthNOR4 28.8
00067 #define WidthNOR5 34.4
00068 #define WidthNOR6 41.6
00069 #define Predec_height1 140.8
00070 #define Predec_width1 270.4
00071 #define Predec_height2 140.8
00072 #define Predec_width2 539.2
00073 #define Predec_height3 281.6
00074 #define Predec_width3 584.0
00075 #define Predec_height4 281.6
00076 #define Predec_width4 628.8
00077 #define Predec_height5 422.4
00078 #define Predec_width5 673.6
00079 #define Predec_height6 422.4
00080 #define Predec_width6 718.4
00081 #define Wwrite 1.2
00082 #define SenseampHeight 152.0
00083 #define OutdriveHeight 200.0
00084 #define FAOutdriveHeight 229.2
00085 #define FArowWidth 382.8
00086 #define CAM2x2Height_1p 48.8
00087 #define CAM2x2Width_1p 44.8
00088 #define CAM2x2Height_2p 80.8
00089 #define CAM2x2Width_2p 76.8
00090 #define DatainvHeight 25.6
00091 #define Wbitdropv 30.0
00092 #define decNandWidth 34.4
00093 #define FArowNANDWidth 71.2
00094 #define FArowNOR_INVWidth 28.0
00095
00096 #define FAHeightIncrPer_first_rw_or_w_port 16.0
00097 #define FAHeightIncrPer_later_rw_or_w_port 16.0
00098 #define FAHeightIncrPer_first_r_port 12.0
00099 #define FAHeightIncrPer_later_r_port 12.0
00100 #define FAWidthIncrPer_first_rw_or_w_port 16.0
00101 #define FAWidthIncrPer_later_rw_or_w_port 9.6
00102 #define FAWidthIncrPer_first_r_port 12.0
00103 #define FAWidthIncrPer_later_r_port 9.6
00104
00105 #define tracks_precharge_p 12
00106 #define tracks_precharge_nx2 5
00107 #define tracks_outdrvselinv_p 3
00108 #define tracks_outdrvfanand_p 6
00109
00110 typedef struct {
00111 double height;
00112 double width;
00113 } fu_area_t;
00114
00115 typedef struct {
00116 fu_area_t dataarray_area,datapredecode_area;
00117 fu_area_t datacolmuxpredecode_area,datacolmuxpostdecode_area;
00118 fu_area_t datawritesig_area;
00119 fu_area_t tagarray_area,tagpredecode_area;
00120 fu_area_t tagcolmuxpredecode_area,tagcolmuxpostdecode_area;
00121 fu_area_t tagoutdrvdecode_area;
00122 fu_area_t tagoutdrvsig_area;
00123 double totalarea;
00124 double total_dataarea;
00125 double total_tagarea;
00126 double max_efficiency, efficiency;
00127 double max_aspect_ratio_total, aspect_ratio_total;
00128 } fu_memory_aif_t;
00129
00130 int organizational_parameters_valid(int B, int A, int C, int Ndwl, int Ndbl, int Nspd, int Ntwl,int Ntbl,int Ntspd, char assoc);
00131
00132 void area_subbanked(int baddr,int b0,int RWP,int ERP,int EWP,int Ndbl,int Ndwl,int Nspd,int Ntbl,int Ntwl,int Ntspd,int NSubbanks,fu_memory_param_t *parameters,fu_area_t *result_subbanked,fu_memory_aif_t *result);
00133
00134 double estimate_area(fu_area_t module_area, double techscaling_factor);
00135