MemTimingSpec.h revision 12266
1/* 2 * Copyright (c) 2012-2014, TU Delft 3 * Copyright (c) 2012-2014, TU Eindhoven 4 * Copyright (c) 2012-2014, TU Kaiserslautern 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are 9 * met: 10 * 11 * 1. Redistributions of source code must retain the above copyright 12 * notice, this list of conditions and the following disclaimer. 13 * 14 * 2. Redistributions in binary form must reproduce the above copyright 15 * notice, this list of conditions and the following disclaimer in the 16 * documentation and/or other materials provided with the distribution. 17 * 18 * 3. Neither the name of the copyright holder nor the names of its 19 * contributors may be used to endorse or promote products derived from 20 * this software without specific prior written permission. 21 * 22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 23 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 24 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 25 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 26 * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 27 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 28 * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 29 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 30 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 31 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 * 34 * Authors: Karthik Chandrasekar, Sven Goossens 35 * 36 */ 37 38#include <stdint.h> 39 40#include "Parametrisable.h" 41 42namespace Data { 43class MemTimingSpec : public virtual Parametrisable { 44 public: 45 MemTimingSpec(); 46 void processParameters(); 47 48 double clkMhz; 49 int64_t RC; 50 int64_t RCD; 51 int64_t CCD; 52 int64_t CCD_S; 53 int64_t CCD_L; 54 int64_t RRD; 55 int64_t RRD_S; 56 int64_t RRD_L; 57 int64_t FAW; 58 int64_t TAW; 59 int64_t WTR; 60 int64_t WTR_S; 61 int64_t WTR_L; 62 int64_t REFI; 63 int64_t RL; 64 int64_t RP; 65 int64_t RFC; 66 int64_t REFB; 67 int64_t RAS; 68 int64_t WL; 69 int64_t AL; 70 int64_t DQSCK; 71 int64_t RTP; 72 int64_t WR; 73 int64_t XP; 74 int64_t XPDLL; 75 int64_t XS; 76 int64_t XSDLL; 77 int64_t CKE; 78 int64_t CKESR; 79 double clkPeriod; 80}; 81} 82