Commit Graph

157 Commits

Author SHA1 Message Date
Johannes
ee9e420365 Added string compare to instruction and data memory 2019-03-24 14:14:28 -04:00
Johannes
395a8b6f8f Revert "metadata"
This reverts commit 191ca46f2d.
2019-03-24 13:01:08 -04:00
Johannes
2af68f2731 Merge branch 'master' of https://git.williammiceli.systems/williammiceli-wmu/ece3570-lab2 2019-03-24 12:59:29 -04:00
Johannes
a57af01a47 Revert "Changed datamemory"
This reverts commit 90d9d69885.
2019-03-24 12:49:08 -04:00
Johannes
90d9d69885 Changed datamemory 2019-03-24 12:47:18 -04:00
jose.rodriguezlabra
bab680ea27 Added bank to CPU9bits 2019-03-24 12:11:12 -04:00
jose.rodriguezlabra
191ca46f2d metadata 2019-03-24 10:07:28 -04:00
WilliamMiceli
ad6765a43a BEQ Opcode fix & other stuffz 2019-03-22 19:54:06 -04:00
Johannes
c85ad153dc Tested the instructions using the instruction memory
All of the instructions seem to be working other than beq. I might just be calling it wrong
2019-03-20 12:08:24 -04:00
Johannes
0f55e62a2e Merge branch 'master' of https://git.williammiceli.systems/williammiceli-wmu/ece3570-lab2 2019-03-16 14:56:00 -04:00
Johannes
e8554a5a9a Minor changes to CPU 2019-03-16 14:55:37 -04:00
jose.rodriguezlabra
eeb9c7c318 Tested zero 2019-03-16 14:55:11 -04:00
Johannes
fa5caec5dd Added memories to the CPU 2019-03-16 14:37:46 -04:00
jose.rodriguezlabra
3c8147641f Added zeroing instr 2019-03-16 14:34:36 -04:00
Johannes
21e846ab62 Instruction & Data Memory 2019-03-16 14:16:02 -04:00
jose.rodriguezlabra
dfd8753a62 Implemented SEs 2019-03-16 14:09:53 -04:00
jose.rodriguezlabra
5cbe490aae Added link instruction 2019-03-16 14:01:32 -04:00
WilliamMiceli
934c73e899 Small formatting change 2019-03-16 13:44:44 -04:00
WilliamMiceli
b621f5a46b Added sign extension for 3 bits up to 8 bits 2019-03-16 13:23:22 -04:00
WilliamMiceli
ef8b9c92e5 Made testbench 2019-03-16 13:02:29 -04:00
WilliamMiceli
c988ddb899 Fixed 2 bit module 2019-03-16 13:02:18 -04:00
WilliamMiceli
19ac8e130c Added sign extension for 2 bits into 9 bits, just to test first 2019-03-16 12:55:57 -04:00
jose.rodriguezlabra
08e3659ba3 Better Sim 2019-03-14 14:37:58 -04:00
jose.rodriguezlabra
11a1d99e92 Computer works (kinda) 2019-03-13 12:51:44 -04:00
jose.rodriguezlabra
026eb65861 Fixed bugs, finished BEQ, Added Halt 2019-03-13 11:14:52 -04:00
jose.rodriguezlabra
911d8e31cc Merge branch 'master' of https://git.williammiceli.systems/williammiceli-wmu/ece3570-lab2
# Conflicts:
#	lab2CA.cache/wt/webtalk_pa.xml
2019-03-13 09:01:33 -04:00
jose.rodriguezlabra
f6772daf04 Worthless metadata 2019-03-13 09:00:40 -04:00
WilliamMiceli
047efb7f1f More Vivado stuff 2019-03-12 23:04:47 -04:00
WilliamMiceli
1e0e2bbf31 Jose's awesome way to test zero structurally! 2019-03-12 23:01:18 -04:00
WilliamMiceli
1efd958593 Vivado stuff 2019-03-12 22:56:03 -04:00
WilliamMiceli
dbdfc2cfc6 Updated README 2019-03-12 21:53:50 -04:00
Johannes
a9a4e81c6c Removed my behavioral slt 2019-03-12 21:33:24 -04:00
Johannes
735970454a My set less than was behavioral which is a no no
# Conflicts:
#	lab2CA.srcs/sources_1/new/ALU.v
2019-03-12 21:30:00 -04:00
WilliamMiceli
76bc5e006e Hopefully this is right. Vivado tells me it's fine, then minutes later not... 2019-03-12 21:21:52 -04:00
Johannes
cb91f6656a Many Changes
I added a comparator, I updated the control unit so that it now uses the 4 bit ALU opcode instead of the 3 bit from before. I added testbenches to the control unit and the slt and comparator modules. However, like before I unable to run the simulation on my desktop. Finally, i added the program code for the equation solver as a test bench in the CPU9bit module
2019-03-12 21:14:27 -04:00
Johannes
3f01492398 Added SLT
There is a testbench but when I try to run it on my computer it brings up some regFile simulation even though SLT is set to top. Not sure if its my pc or the code
2019-03-12 19:49:46 -04:00
WilliamMiceli
4a462752e9 Include NOT in the ALU 2019-03-12 11:23:48 -04:00
WilliamMiceli
97433c3691 Shift right arithmetic implemented into ALU 2019-03-12 11:17:03 -04:00
WilliamMiceli
fe1abc30c5 Fixed ALU testbench to 4-bit 2019-03-12 11:12:39 -04:00
WilliamMiceli
9ac8963fb0 ALU now fully has 4-bit opcode 2019-03-12 11:12:21 -04:00
WilliamMiceli
1c5e79c1ec Made 16:1 MUX for ALU's 4-bit opcode 2019-03-12 11:08:22 -04:00
WilliamMiceli
9d759edbec ALU now has 4 bits of it's own opcode 2019-03-12 11:07:50 -04:00
WilliamMiceli
9e9ff7935b Renamed shifting for incoming shift_right_arithmetic 2019-03-12 10:54:45 -04:00
WilliamMiceli
f3ea596086 Simplified bitwise OR 2019-03-12 10:48:50 -04:00
WilliamMiceli
e01d639fa0 Simplified bitwise NOT 2019-03-12 10:47:25 -04:00
WilliamMiceli
a555728a48 Simplified bitwise NOR 2019-03-12 10:46:08 -04:00
WilliamMiceli
9519460187 AND is bitwise, so simplified, removing 1-bit modules 2019-03-12 10:43:16 -04:00
Johannes
460fc3e4ed CPU
LOTS
2019-03-10 16:32:25 -04:00
jose.rodriguezlabra
7406cddb64 case for control unit 2019-03-10 14:05:21 -04:00
jose.rodriguezlabra
172238b4e0 Created CPU9bits file 2019-03-10 13:42:30 -04:00