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 #ifndef _SIM_MISC_MODEL_H 00035 #define _SIM_MISC_MODEL_H 00036 00037 typedef enum { 00038 RESULT_BUS = 1, 00039 GENERIC_BUS, 00040 BUS_MAX_MODEL 00041 } SIM_power_bus_model_t; 00042 00043 typedef enum { 00044 GENERIC_SEL = 1, 00045 SEL_MAX_MODEL 00046 } SIM_power_sel_model_t; 00047 00048 typedef enum { 00049 NEG_DFF = 1, /* negative egde-triggered D flip-flop */ 00050 FF_MAX_MODEL 00051 } SIM_power_ff_model_t; 00052 00053 typedef enum { 00054 IDENT_ENC = 1, /* identity encoding */ 00055 TRANS_ENC, /* transition encoding */ 00056 BUSINV_ENC, /* bus inversion encoding */ 00057 BUS_MAX_ENC 00058 } SIM_power_bus_enc_t; 00059 00060 00061 #endif /* _SIM_MISC_MODEL_H */