aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorm8pple <dt10@imperial.ac.uk>2014-10-23 14:21:51 +0100
committerm8pple <dt10@imperial.ac.uk>2014-10-23 14:21:51 +0100
commita00b570c94d89fd7be29172cfe21a7767ae67daa (patch)
tree14f9d0b666d946b70260bb2d9e210a125eb8ab4d
parent1091f567e7765289a8b2b48a300bd8a4799d3a1f (diff)
downloadMipsCPU-a00b570c94d89fd7be29172cfe21a7767ae67daa.tar.gz
MipsCPU-a00b570c94d89fd7be29172cfe21a7767ae67daa.zip
Fixing formatting
Realised I've been accidentally putting latex quotes everywhere, looks a bit odd.
-rw-r--r--README.md22
1 files changed, 11 insertions, 11 deletions
diff --git a/README.md b/README.md
index 0315b07..7d3af20 100644
--- a/README.md
+++ b/README.md
@@ -44,31 +44,31 @@ you are that way inclined), containing the original directory
structure and files, as well as the files that you have contributed.
The two key things you will be adding are:
- - src/[your_login]/mips_cpu.c or mips_cpu.cpp
+ - `src/[your_login]/mips_cpu.c` or `mips_cpu.cpp`
- - src/[your_login]/test_mips.c or test_mips.cpp
+ - `src/[your_login]/test_mips.c` or `test_mips.cpp`
The first part is the implementation of a mips simulator, and
is essentially a library that implements the api found in
include/mips_cpu.h. You can use C or C++, either is fine.
If you want to split into multiple files, then feel free to do
-so - anything which matches the pattern src/[your_login]/mips_cpu_*.c
-or src/[your_login]/mips_cpu_*.cpp will also get compiled into
+so - anything which matches the pattern `src/[your_login]/mips_cpu_*.c`
+or `src/[your_login]/mips_cpu_*.cpp` will also get compiled into
your library.
The second part is the test suite which will drive your
simulator and make it do things. This is a C or C++ program
(so it will have a main function), and should be either
-src/[your_login]/test_mips.c or src/[your_login]/test_mips.cpp.
+`src/[your_login]/test_mips.c` or `src/[your_login]/test_mips.cpp`.
Again, if you want to split into multiple files, anything
-that matches the pattern src/[your_login]/test_mips_*.c or
-src/[your_login]/test_mips_*.cpp will get compiled into
+that matches the pattern `src/[your_login]/test_mips_*.c` or
+`src/[your_login]/test_mips_*.cpp` will get compiled into
your program.
You can also add your own private header files (generally
a good idea), which should be part of the submitted zip file,
but they don't need to follow any specific pattern. However,
-they should be completely located within the src/[your_login]
+they should be completely located within the `src/[your_login]`
directory or a sub-directory of it. Note that your simulator
and your test suite are two different components, so do not
rely on the specific behaviour of _your_ simulator, it should
@@ -207,14 +207,14 @@ Visual Studio 13. The target platform is any of Windows 7,
Windows Vista, Cygwin 32, Cygwin 64, or Ubuntu 14.04.1.
During compilation, the include directories will be set up
-to have both the ``include'' directory (containing ``mips.h'')
-and the ``src/[your_login]'' directory on the include path.
+to have both the `include` directory (containing `mips.h`)
+and the `src/[your_login]` directory on the include path.
The directory structure during compilation
will be the same as that required during submission, so the
relative location of things will stay the same.
When running your test suite, the executable will be launched
-with its working directory as src/[your_login], so if you
+with its working directory as `src/[your_login]`, so if you
wish to read files you can place them there (or in sub-directories).
When your CPU simulator is executing, you can make no assumptions