demo main memory has been created as 'memory.txt' file, value of registers are given there.
Name - Virat Gupta
CA PROJECT CODE...
Instruction to be run are available in "instructions.txt" file.
[Note] Don't give extra line break space at the end in "instructions.txt" file otherwise it will give "index out of range error".
Steps to run the Code.
- Run the file named "generateBin.py" (It will create a Binary file of instructions)
- Now run the file "createTestBench.py" (It will run the instructions and show output in terminal)
Thank You.....