From bdc0e550448f04c7c8f030b7421209bae37e651d Mon Sep 17 00:00:00 2001 From: Dongdong Li Date: Fri, 22 Nov 2013 11:32:14 -0800 Subject: Add .svn file so other people can keep update with changes from Stanford Code Review: Issue 103001 [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17411] --- ...7cc0dc517c023ddeaf70f92c90e0ecfe343030.svn-base | 26 +++++++++++ ...8f9ec9cbd794b900c47d4fa1af919f73f844ab.svn-base | 53 ++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 src/intersim2/.svn/pristine/f4/f47cc0dc517c023ddeaf70f92c90e0ecfe343030.svn-base create mode 100644 src/intersim2/.svn/pristine/f4/f48f9ec9cbd794b900c47d4fa1af919f73f844ab.svn-base (limited to 'src/intersim2/.svn/pristine/f4') diff --git a/src/intersim2/.svn/pristine/f4/f47cc0dc517c023ddeaf70f92c90e0ecfe343030.svn-base b/src/intersim2/.svn/pristine/f4/f47cc0dc517c023ddeaf70f92c90e0ecfe343030.svn-base new file mode 100644 index 0000000..c953713 --- /dev/null +++ b/src/intersim2/.svn/pristine/f4/f47cc0dc517c023ddeaf70f92c90e0ecfe343030.svn-base @@ -0,0 +1,26 @@ +// 2007 ITRS predictions for a 32nm high-performance library +H_INVD2 = 8;//int +W_INVD2 = 3;//int +H_DFQD1 = 8;//int +W_DFQD1 = 16;//int +H_ND2D1 = 8;//int +W_ND2D1 = 3;//int +H_SRAM = 8;//int +W_SRAM = 6;//int +Vdd = 0.9;//float +R = 606.321;//float +IoffSRAM = 0.00000032;//float +// 70 C +IoffP = 0.00000102;//float +IoffN = 0.00000102;//float +Cg_pwr = 0.000000000000000534;//float +Cd_pwr = 0.000000000000000267;//float +Cgdl = 0.0000000000000001068;//float +Cg = 0.000000000000000534;//float +Cd = 0.000000000000000267;//float +LAMBDA = 0.016;//float +MetalPitch = 0.000080;//float +Rw = 0.720044;//float +Cw_gnd = 0.000000000000267339;//float +Cw_cpl = 0.000000000000267339;//float +wire_length = 2.0;//float \ No newline at end of file diff --git a/src/intersim2/.svn/pristine/f4/f48f9ec9cbd794b900c47d4fa1af919f73f844ab.svn-base b/src/intersim2/.svn/pristine/f4/f48f9ec9cbd794b900c47d4fa1af919f73f844ab.svn-base new file mode 100644 index 0000000..be47efa --- /dev/null +++ b/src/intersim2/.svn/pristine/f4/f48f9ec9cbd794b900c47d4fa1af919f73f844ab.svn-base @@ -0,0 +1,53 @@ +// $Id$ + +/* + Copyright (c) 2007-2012, Trustees of The Leland Stanford Junior University + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef _FLY_HPP_ +#define _FLY_HPP_ + +#include "network.hpp" + +class KNFly : public Network { + + int _k; + int _n; + + void _ComputeSize( const Configuration &config ); + void _BuildNet( const Configuration &config ); + + int _OutChannel( int stage, int addr, int port ) const; + int _InChannel( int stage, int addr, int port ) const; + +public: + KNFly( const Configuration &config, const string & name ); + + int GetN( ) const; + int GetK( ) const; + static void RegisterRoutingFunctions(){}; + double Capacity( ) const; +}; + +#endif -- cgit v1.3