-
Assuming you have GCC and Make installed,
cdto the project directory and runmake debug: Build with debug info printed to consolemake release: Build without debug info printed to the console -
You should now have the executable named
ece585_memory_controllerin the top directory. -
Run it as follows:
$ ./ece585_memory_controller <input_trace_file> <output_dram_commands_file> -
For example, if my input memory request trace is
ip_trace.txtand I want output in the file namedoutput.txt, I will run:$ ./ece585_memory_controller ip_trace.txt output.txt
- Bank parallelism:
- To enable, make sure the line
#define BANK_PARALLELISMininclude/commondefs.his uncommented. - To disable, make sure the line is commented.
- Note: You need to
make cleanand recompile the project for the effect to take place.
- To enable, make sure the line