summaryrefslogtreecommitdiff
path: root/inc/pipe_spec.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/pipe_spec.h')
-rw-r--r--inc/pipe_spec.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/inc/pipe_spec.h b/inc/pipe_spec.h
index d211b72..0433f23 100644
--- a/inc/pipe_spec.h
+++ b/inc/pipe_spec.h
@@ -1,3 +1,20 @@
+// Simulator for the RISC-V[ECTOR] mini-ISA
+// Copyright (C) 2025 Siddarth Suresh
+// Copyright (C) 2025 bdunahu
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
#ifndef PIPE_SPEC_H
#define PIPE_SPEC_H
#include "logger.h"
@@ -49,6 +66,16 @@
#define MAX_INT 2147483647
/**
+ * The delay on DRAM objects.
+ */
+#define DRAM_DELAY 10
+
+/**
+ * The (base) on cache objects.
+ */
+#define CACHE_DELAY 1
+
+/**
* Return the N least-significant bits from integer K using a bit mask
* @param the integer to be parsed
* @param the number of bits to be parsed