• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

sst/core/techModels/libORION/SIM_port_alpha.h

00001 /*-------------------------------------------------------------------------
00002  *                             ORION 2.0 
00003  *
00004  *                                              Copyright 2009 
00005  *      Princeton University, and Regents of the University of California 
00006  *                         All Rights Reserved
00007  *
00008  *                         
00009  *  ORION 2.0 was developed by Bin Li at Princeton University and Kambiz Samadi at
00010  *  University of California, San Diego. ORION 2.0 was built on top of ORION 1.0. 
00011  *  ORION 1.0 was developed by Hangsheng Wang, Xinping Zhu and Xuning Chen at 
00012  *  Princeton University.
00013  *
00014  *  If your use of this software contributes to a published paper, we
00015  *  request that you cite our paper that appears on our website 
00016  *  http://www.princeton.edu/~peh/orion.html
00017  *
00018  *  Permission to use, copy, and modify this software and its documentation is
00019  *  granted only under the following terms and conditions.  Both the
00020  *  above copyright notice and this permission notice must appear in all copies
00021  *  of the software, derivative works or modified versions, and any portions
00022  *  thereof, and both notices must appear in supporting documentation.
00023  *
00024  *  This software may be distributed (but not offered for sale or transferred
00025  *  for compensation) to third parties, provided such third parties agree to
00026  *  abide by the terms and conditions of this notice.
00027  *
00028  *  This software is distributed in the hope that it will be useful to the
00029  *  community, but WITHOUT ANY WARRANTY; without even the implied warranty of
00030  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
00031  *
00032  *-----------------------------------------------------------------------*/
00033 
00034 /* this file lists the parameters of Alpha 21364 router */
00035 #ifndef _SIM_PORT_H
00036 #define _SIM_PORT_H
00037 
00038 #include "SIM_router.h"
00039 
00040 /*Technology node and operating freq and voltage */
00041 #define PARM_Freq             (1e9)
00042 #define PARM_Vdd              (1.0)
00043 #define PARM_TECH_POINT       (65)
00044 #define PARM_TRANSISTOR_TYPE  (NVT)   /* transistor type, HVT, NVT, or LVT */
00045 /*End Technology node and operating freq and voltage */
00046 
00047 #define PARM_POWER_STATS        1
00048 
00049 /* RF module parameters */
00050 #define PARM_read_port  1
00051 #define PARM_write_port 1
00052 #define PARM_n_regs     64
00053 #define PARM_reg_width  32
00054 
00055 #define PARM_ndwl       1
00056 #define PARM_ndbl       1
00057 #define PARM_nspd       1
00058 
00059 /* router module parameters */
00060 /* general parameters */
00061 #define PARM_in_port            4
00062 #define PARM_cache_in_port      1
00063 #define PARM_mc_in_port         2
00064 #define PARM_io_in_port         1
00065 #define PARM_out_port           4
00066 #define PARM_cache_out_port     2
00067 #define PARM_mc_out_port        0
00068 #define PARM_io_out_port        1
00069 /* 4B flit */
00070 #define PARM_flit_width         32
00071 
00072 /* virtual channel parameters */
00073 #define PARM_v_channel          3
00074 #define PARM_v_class            19
00075 #define PARM_cache_class        5
00076 #define PARM_mc_class           3
00077 #define PARM_io_class           5
00078 /* ?? */
00079 #define PARM_in_share_buf       1
00080 #define PARM_out_share_buf      1
00081 #define PARM_in_share_switch    0
00082 #define PARM_out_share_switch   1
00083 
00084 /* crossbar parameters */
00085 #define PARM_crossbar_model     MATRIX_CROSSBAR
00086 #define PARM_crsbar_degree      4
00087 #define PARM_connect_type       TRISTATE_GATE
00088 #define PARM_trans_type         NP_GATE
00089 /* measured from Alpha 21364 floorplan */
00090 #define PARM_crossbar_in_len    610
00091 #define PARM_crossbar_out_len   2440
00092 #define PARM_xb_in_seg          0
00093 #define PARM_xb_out_seg         0
00094 /* HACK HACK HACK */
00095 #define PARM_exp_xb_model       MATRIX_CROSSBAR
00096 #define PARM_exp_in_seg         2
00097 #define PARM_exp_out_seg        2
00098 
00099 
00100 /* input buffer parameters */
00101 #define PARM_in_buf             1
00102 #define PARM_in_buf_set         319
00103 #define PARM_in_buf_rport       2
00104 
00105 #define PARM_cache_in_buf       1
00106 #define PARM_cache_in_buf_set   250
00107 #define PARM_cache_in_buf_rport 1
00108 
00109 #define PARM_mc_in_buf          1
00110 #define PARM_mc_in_buf_set      127
00111 #define PARM_mc_in_buf_rport    2
00112 
00113 #define PARM_io_in_buf          1
00114 #define PARM_io_in_buf_set      190
00115 #define PARM_io_in_buf_rport    1
00116 
00117 /* output buffer parameters */
00118 #define PARM_out_buf            0
00119 #define PARM_out_buf_set        16
00120 #define PARM_out_buf_wport      1
00121 
00122 /* central buffer parameters */
00123 #define PARM_central_buf        0
00124 #define PARM_cbuf_set           1024
00125 #define PARM_cbuf_rport         2
00126 #define PARM_cbuf_wport         2
00127 #define PARM_cbuf_width         8
00128 #define PARM_pipe_depth         4
00129 
00130 /* array parameters shared by various buffers */
00131 #define PARM_wordline_model     CACHE_RW_WORDLINE
00132 #define PARM_bitline_model      RW_BITLINE
00133 #define PARM_mem_model          NORMAL_MEM
00134 #define PARM_row_dec_model      GENERIC_DEC
00135 #define PARM_row_dec_pre_model  SINGLE_OTHER
00136 #define PARM_col_dec_model      SIM_NO_MODEL
00137 #define PARM_col_dec_pre_model  SIM_NO_MODEL
00138 #define PARM_mux_model          SIM_NO_MODEL
00139 #define PARM_outdrv_model       REG_OUTDRV
00140 
00141 /* these 3 should be changed together */
00142 /* use double-ended bitline because the array is too large */
00143 #define PARM_data_end           2
00144 #define PARM_amp_model          GENERIC_AMP
00145 #define PARM_bitline_pre_model  EQU_BITLINE
00146 //#define PARM_data_end         1
00147 //#define PARM_amp_model                SIM_NO_MODEL
00148 //#define PARM_bitline_pre_model        SINGLE_OTHER
00149 
00150 /* arbiter parameters */
00151 #define PARM_in_arb_model       MATRIX_ARBITER
00152 #define PARM_in_arb_ff_model    NEG_DFF
00153 #define PARM_out_arb_model      MATRIX_ARBITER
00154 #define PARM_out_arb_ff_model   NEG_DFF
00155 
00156 #endif  /* _SIM_PORT_H */

Generated on Fri Oct 22 2010 11:02:18 for SST by  doxygen 1.7.1