dram simulator fix

This commit is contained in:
Blaise Tine
2021-12-07 22:44:06 -05:00
parent a9ec1c08a7
commit 5825b7c15a
30 changed files with 702 additions and 499 deletions

View File

@@ -1,10 +1,16 @@
#pragma once
#include "types.h"
#ifndef RAM_PAGE_SIZE
#define RAM_PAGE_SIZE 4096
#endif
#define DRAM_CHANNELS 2
#ifndef MEM_CYCLE_RATIO
#define MEM_CYCLE_RATIO -1
#endif
#ifndef MEMORY_BANKS
#define MEMORY_BANKS 2
#endif
namespace vortex {