MemArchitectureSpec.h (10428:0caf62b57dfd) MemArchitectureSpec.h (11555:2efa95cf8504)
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

--- 17 unchanged lines hidden (view full) ---

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 *
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

--- 17 unchanged lines hidden (view full) ---

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
34 * Authors: Karthik Chandrasekar, Sven Goossens
35 *
36 */
37
38#ifndef TOOLS_MEM_ARCHITECTURE_SPEC_H
39#define TOOLS_MEM_ARCHITECTURE_SPEC_H
40
35 *
36 */
37
38#ifndef TOOLS_MEM_ARCHITECTURE_SPEC_H
39#define TOOLS_MEM_ARCHITECTURE_SPEC_H
40
41#include <stdint.h>
42
41#include "Parametrisable.h"
42
43namespace Data {
44class MemArchitectureSpec : public virtual Parametrisable {
45 public:
46 MemArchitectureSpec();
47 void processParameters();
48
43#include "Parametrisable.h"
44
45namespace Data {
46class MemArchitectureSpec : public virtual Parametrisable {
47 public:
48 MemArchitectureSpec();
49 void processParameters();
50
49 unsigned int burstLength;
50 unsigned nbrOfBanks;
51 unsigned nbrOfRanks;
52 unsigned dataRate;
53 unsigned nbrOfColumns;
54 unsigned nbrOfRows;
55 unsigned width;
56 unsigned nbrOfBankGroups;
51 int64_t burstLength;
52 int64_t nbrOfBanks;
53 int64_t nbrOfRanks;
54 int64_t dataRate;
55 int64_t nbrOfColumns;
56 int64_t nbrOfRows;
57 int64_t width;
58 int64_t nbrOfBankGroups;
57 bool dll;
58 bool twoVoltageDomains;
59 bool termination;
60};
61}
62#endif // ifndef TOOLS_MEM_ARCHITECTURE_SPEC_H
59 bool dll;
60 bool twoVoltageDomains;
61 bool termination;
62};
63}
64#endif // ifndef TOOLS_MEM_ARCHITECTURE_SPEC_H