riley pushed to main at TroubleElectrical/FPGA_Uni 2026-11-05 16:15:17 +11:00
fe53955748 Fixed bug in test code where there was a hazzard, despite testing assuming no hazzard. Updated testbench to reflect this (Ln57-62).
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-11-05 15:46:14 +11:00
de1f346f64 Updated assignment3 instruction counter code to be more consistent with other modules
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-11-05 14:27:17 +11:00
74a15cf038 Made ROM binary file configurable via a parameter. Updated assignment2 and assignment3 to reflect this. Added bit slicing in assignment2 for ram/rom addresses.
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-11-05 14:10:54 +11:00
38fa35fccd Fixed initialisation bug and compilation error in gatereg module. Added mips_pipelined to test suite. Fixed several bugs in assignment3 MIPS module
cc98bfbf02 Fixed compile error caused by trailing comma
Compare 2 commits »
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-11-04 17:28:45 +11:00
f8ea90e41d Created assignment 3 MIPS module that uses pipelining
704286f0e6 Renamed MIPS test to be a single cycle test
ef6bd3aec9 Added test assemblies for assignment 3 / pipelining
8f9ec010ac Updated gate register module to support arbitary delays to prevent littering uper-level code with gatereg->gatereg logic values.
Compare 4 commits »
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-29 15:42:22 +11:00
b046ad7db0 Created register for gating pipeline stage results
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-20 16:22:02 +11:00
973b9260b6 Fixed (maybe bug) in demo program where program branches back to prior instruction.
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-20 16:19:03 +11:00
5eb78e92e9 Fixed bugs in sign extender
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-20 16:03:11 +11:00
b52f01c3be Added some delay to better test final branch/halt.
9648db6e77 Switched to used boolean && rather than bitwise & in sign extender
a647305bd9 Fixed bug where ram datawidth was not 2^N.
Compare 3 commits »
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-16 12:51:34 +11:00
2f652705cc Fixed timing in testbench for branch iteration.
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-16 12:33:22 +11:00
59f7f372f6 Fixed bug where ASU intermediate was being treated as the overflow flag rather than an intermediate.
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-16 12:11:28 +11:00
e7fff9f3dc Added explicit rst input to RAM and PC as well as the MIPS processor.
c717bf189c Added comment to document the zero-flag
Compare 2 commits »
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-16 11:50:13 +11:00
5ae9125e06 Fixed a couple bugs introduced from merge-conflict resolution
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-16 11:44:32 +11:00
8a682347f0 Merge branch 'main' of ssh://git.rileyk.au:19482/TroubleElectrical/FPGA_Uni
559ff01d69 Fixed printing annoyance. Added variable dumping to a wavefile. Updated delay to 2 units (as there is 1 unit of clk being high and 1 unit low).
92a0cb17da Updated assignment 2 to reflect prior changes. Fixed instruction ordering for register file module (again). Fixed typo that limited the space the ALU could write its flags out to. Swapped ordering to be correct when determining if we are storing the result from ALU or MEM.
65be2c2d61 Made sign extension explicit to remove bit indexing (which iverilog doesn't like) and a tad more readable.
878f949e5f Made addrwidth sizing consistent with the 2^N used everywhere
Compare 8 commits »
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-16 03:56:39 +11:00
8ed06d38e1 Merge branch 'main' of ssh://git.rileyk.au:19482/TroubleElectrical/FPGA_Uni
103aa769fd Added testbench for MIPS processor
Compare 2 commits »
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-16 03:53:28 +11:00
19e5843d55 Added testbench for MIPS processor
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-15 15:54:45 +11:00
a63d46bc77 Merge branch 'main' of ssh://git.rileyk.au:19482/TroubleElectrical/FPGA_Uni
04d1d3e2fe Added control unit. TODO: Test
Compare 2 commits »
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-15 15:28:41 +11:00
5fc24f7859 Temp change to make RAM word-aligned
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-15 15:18:16 +11:00
2e042fbd93 Merge branch 'main' of ssh://git.rileyk.au:19482/TroubleElectrical/FPGA_Uni
a336df9d80 Reworked CPU to use control unit
Compare 2 commits »
riley pushed to main at TroubleElectrical/FPGA_Uni 2026-10-15 14:48:18 +11:00
1c93c082ae Merge branch 'main' of ssh://git.rileyk.au:19482/TroubleElectrical/FPGA_Uni
d9f44f93df Halfway added imm,branch and mem ops
Compare 2 commits »