Team Report 4/25

Project Progress Summary

This week, we are in the final wrap-up phase. We have achieved all our primary technical milestones, and has expanded our cartridge compatibility by finalizing the support for the memory mapper. Now, we have Contra running correctly in both single-player and remote multiplyer modes.

We have implemented game state hashing, which allows us to verify the correctness of our deterministic lockstep protocol. By comparing hashes between two independent boards during extended play sessions, we confirmed that the systems remained in perfect synchronization even during network-induced stalls. Furthermore, we have completed the final project presentation last week, and are working on the final demo video, final poster, and final report.

Risks & Management

There are no more development risks.

Design Changes

There have been no changes to the system design.

Schedule

We are on schedule, and our product is ready for final demo. We will work on our remaining tasks, which are the deliverables. We will work on the final demo video, final demo poster, and final report.

Team Report 4/18

Project Progress Summary

In the past 2 weeks, we have successfully completed our primary project goal. We have finished implementing the network synchronized, cycle accurate remote multiplayer. We have achieved stable synchronization between two independent Arty Z7-20 boards. Through optimized controller input buffering, we have reduced extra latency to a negligible 2 frames, so there is no observed game stalls over a direct Ethernet connection.

On the hardware side, we finalized the UDP synchronization layer and implemented VBlank-safe input latching to prevent visual desync. We are working on the APU to tune it towards full functional correctness. We also began working on the final presentation and demo video.

Risks & Management

There is no more risks remaining in the implementation of our project. The remaining tasks are more extensive testings, and preparing for the final report and demo.

Design Changes

There are no major changes to the system design.

Schedule Update

The project remains on schedule. We have completed all core technical implementations of the project. We are focusing on the final testing and final report/demo.

Team Report 4/4

Project Progress Summary

In this week, we have successfully finished the Interim Demo. We demonstrated the SyncNES system running both Donkey Kong and Super Mario Bros in real-time on the Arty Z7-20 FPGA board. The system successfully managed single-player gameplay with full controller input and visual output. 

Technically, we have achieved stable PPU mirroring, which allowed for correct rendering of side-scrolling titles. We also completed a significant refactor of the CPU and PPU codebases to ensure long-term timing stability. On the networking front, we worked on the UDP communication implementation and tested it using a Raspberry Pi 5 to simulate various network conditions, including latency and jitter spikes.

Risk & Management

The most significant risk currently is the integration of the UDP protocol into the RTL for active frame gating. While standalone network tests were successful, ensuring the hardware stalls exactly when a network packet is delayed is a high-precision task. To mitigate this, if frame gating introduces instability in the CPU/PPU interface, we will revert to a fixed-delay buffer of 5 frames.

Design Changes

There have been no changes to the existing system design.

Schedule

The project remains on schedule. We have met our Interim Demo milestone, and we are entering the final phase of development, which is the remote multiplayer functionality.

 

Team Report 3/28

Project Progress Summary

This week, our team achieved a major milestone: we successfully deployed the integrated CPU and PPU onto the Arty Z7-20 platform and achieved real-time execution of Donkey Kong, with the game rendering correctly on the screen. To reach this, we standardized a new debugging workflow that compares log traces from software emulators against our hardware simulation to quickly resolve behavioral divergences.

On the hardware front, we finalized the NES controller interface. This involved soldering a custom DC voltage regulator to allow the FPGA to safely drive the 5V controller logic and mapping those inputs to the PPU registers. We also integrated sprite-zero hit logic, enabling accurate split-screen scrolling. Finally, the APU is now roughly 50% validated, passing half of its functional test suite.

Significant Risks & Management

The most significant risk currently is the remaining 50% of APU functional tests.  Ensuring cycle-accurate audio timing for triangle and noise channels is complex and could jeopardize the authentic experience use-case. To manage this, we are isolating APU development and using automated test cases to verify individual audio components before full system integration.

Design Changes

We have no new design changes to the system.

Schedule

Our project remains on schedule. With local single-player gameplay now functional on hardware, we are well-positioned for the interim demo. Our focus next week shifts to integrating the UDP network stack for the remote multiplayer component. 

Team Report 3/21

Project Progress Summary

This week, our team moved into the integrated testing phase. We hit a major milestone with the completion of the hardware controller interface. Now, our processing system can read real-time button states from the controller. On the rendering side, we have implemented a visual debug overlay that provides a view of palette RAM and internal PPU registers, which is very valuable for debugging the PPU’s MMIO interface. We also initiated the audio processing unit (APU) development.

We also dedicated some effort on the ethics assignment. Beyond the individual assignments, our team met together and had a discussion regarding the worst case scenario for our product. We followed this with a breakout session during the ethics lecture where we engaged in a red teamming exercise.

Significant Risks & Management

The most significant risk at this stage is network jitter and latency within our remote syncing protocol. As we begin sending controller signals via UDP, any inconsistent packet arrival could cause the local and remote game states to diverge. To mitigate this, we are implementing a frame gating logic that will stall the emulated world if required inputs from the network have not arrived. 

Design Changes

We have made no design changes in the past week.

Schedule

Our project remains on schedule. We are now transitioning to verification of full-system synchronization. Our goal for the next few weeks will be a completed one FPGA imlementation of the NES for the interim demo.

Team Report 3/14

Project Progress Summary

This week, we have transitioned to our new Arty Z7000 FPGA platform, resolving previous board-specific issues. We have achieved full verification of the 6502 CPU core, and established a high fidelity validation workflow for the PPU. Our progress has moved from individual module logic to physical output. In addition, all team members completed the individual ethics assignment, and had a team discussion on the potential ethical risks in our project concept.

Design Changes

Following our hardware testing in the last few weeks, we have officially moved from the Zedboard to the Arty Z7000 platform. While the core architecture remains the same, this change ensures better compatibility with our target peripherals and simplifies the ROM loader implementation.

Risk & Management

The primary risk is still achieving perfect synchronization between the CPU and PPU modules. We are managing this by using open source tests as golden models for cycle by cycle comparison during integration.

Schedule

The project remains on schedule. We have met our milestones for standalone CPU and PPU verification. Next week, we will begin the phase of full system integration. 

Team Report 2/21

Project Progress Summary

This week, we completed the RTL implementation of the Ricoh 2A03 CPU and integrated it into our system testbench. The full instruction set is implemented, and the CPU passes the main assembly test suite, confirming correct baseline functionality.

We also ran additional test sets and found a few edge-case issues that require further debugging. These issues are mainly related to specific instruction behaviors and corner cases. We are currently analyzing waveforms and refining the design to resolve them.

On the multiplayer side, we continued working with the updated architecture where both FPGAs run identical hardware and only synchronize controller inputs. Initial input synchronization tests show consistent behavior under controlled conditions.

We will also complete and submit the final Design Review report based on our presentation and updated implementation details.


Risk Management and Schedule

The main risk remains meeting strict cycle-accurate timing requirements. Now that the CPU RTL is complete, we will begin deeper timing analysis and optimization. Our modular design approach continues to help isolate and manage potential critical paths.

Overall, the project remains on schedule. Next week, we will focus on debugging remaining CPU test failures, continuing PPU development, and further testing the input synchronization system.

Team Status Report for 2/14

Project Progress Summary

This week, our team focused heavily on preparing for the design review presentation. We synthesized our progress into a cohesive presentation covering our design requirements, solution approach, and implementation plan. Additionally, we continued independent work on the hardware implementation of the Ricoh 2A03 and 2C02 components to ensure our cycle-accurate goals remain on track. 

Risk Management and Schedule

The most significant risk remains meeting the strict timing requirement within our Verilog design to achieve cycle-accurate recreation. As we detailed in the previous week, this can only be fully verified once the CPU design is complete and we perform a formal timing analysis. We are currently managing this risk by adhering to a modular design approach, allowing us to isolate and optimize critical paths early in the implementation phase.

We have made some changes to our design of the multiplayer sync part. Instead of only sending status packets to the second FPGA which only contains the PPU unit, we decide to have the two FPGAs synthesized with exactly the same hardware running the same game simultaneously, and only sync the inputs from the gamepad. Our project remains on schedule. We expect to begin more intensive testing of the custom network synchronization layer once the individual CPU and PPU modules reach their next implementation milestones.

Team Status Report for 2/7

The most significant risk that could jeopardize the success of this project is whether we can successfully meet the timing requirements with our Verilog design. This problem can only be verified once we complete the CPU design, then we do timing analysis on those to see whether it is possible. If that is not possible, we would try optimizing our critical path or we may switch to some other processors. However, switching another processor means we might have to switch the target of the emulation for this project. Currently, we have not planned to make any change to our project design.