diff options
author | Siddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com> | 2025-04-18 04:27:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-18 04:27:04 -0400 |
commit | 3072eead6fa128398a3cbc0d874473385aef6878 (patch) | |
tree | 6aaa187b02b3ca6f6523963d89c736ffd91e33fa /inc/dram.h | |
parent | a2381acb5489a735576a43f25053a7a5551a7667 (diff) | |
parent | 644b9ef0c380a7fc0ec3496de1c3a54793ca1fbf (diff) |
Merge pull request #4 from bdunahu/bdunahu
Wrap all addresses immediately
Diffstat (limited to 'inc/dram.h')
-rw-r--r-- | inc/dram.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -5,15 +5,6 @@ #include <functional> #include <ostream> -// clang-format off -/** - * Ensures address is within the current memory size using a clean wrap. - * @param an address - */ -#define WRAP_ADDRESS(a) \ - ((a < 0) ? ((a % MEM_WORDS) + MEM_WORDS) % MEM_WORDS : a % MEM_WORDS) -// clang-format on - class Dram : public Storage { public: |