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.

Michael’s Status Report for 4/25

For the past week, I have finalized the development of the network synchronized pixel pipeline. The network updates now do not cause any mid frame visual tearing or logic desync between the local and remote boards. I have also shifted my focus from the product to our project deliverables. Over the last weekend, I worked on the final presentation slides. And over the week I also worked on the final demo poster.

I am currently on schedule. I will finish the final demo poster next week, and prepare for the final demo day.

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.

Michael’s Status Report for 4/18

Over the past two weeks, my work has focused on transitioning from standalone rendering to a fully network-synchronized pixel pipeline. I collaborated with Jacob to integrate the UDP synchronization layer. I finalized the PPU frame-gating logic. This module allows the rendering pipeline to stall gracefully if the delay buffer is empty, preserving state determinism until the next input packet arrives. To support this, I refined the sprite-zero hit detection to remain stable during these momentary network-induced stalls, preventing the status bar jitter we observed in early integration tests.

This week, I conducted some correctness and stress testing to verify our CPU and PPU implementation. I also began drafting the final presentation slides, specifically focusing on the PPU rendering validation.

I am currently on schedule. For the next week, we will complete the final project presentation slides and work on the final demo video. We will also start to draft the poster and final report.

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.

 

Michael’s Status Report for 4/4

The primary focus of this week was the successful execution of our Interim Demo. We have successfully demonstrated both Donkey Kong and Super Mario Bros running on the FPGA hardware in single-player.

I have finalized the PPU scrolling logic to handle both horizontal and vertical mirroring. It allows the hardware to correctly manage nametable transitions. In addition, I conducted stability testing on the Visual Debug Overlay.  By running timing simulations in Vivado, I verified that the overlay logic does not introduce any setup or hold time violations that would interfere with the core NTSC rendering timing.

I am currently on schedule, and we have reached a significant milestone in our project. In the next week, I will collaborate with Jacob to begin testing the UDP synchronization layer by mapping remote controller inputs to the local PPU register interface.

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. 

Michael’s Status Report for 3/28

This week, I focused on hardware integration and synchronizing the rendering pipeline with the CPU core. I worked on integrating the PPU’s sprite-zero hit logic with Bert’s 6502 CPU core. This is a critical timing feature that allows the software to detect when the first sprite, which is typically part of the status bar, is rendered, enabling the split-screen scrolling effects seen in games like Super Mario Bros. 

On the physical hardware side, I soldered a DC voltage regulator  to our NES controller interface. This modification allows the Arty Z7-20 to safely and directly drive the controller’s 5V logic levels from the FPGA’s 3.3V I/O pins. Following this, I collaborated with Jacob to map the controller input states to the specific OAM and PPU registers in the Programmable Logic via the AXI-Lite interface. 

I am currently on schedule, and for the following week, I will finalize the PPU scrolling logic to handle mirroring, which is required for different game cartridges. I will also conduct stability testing on the visual debug overlay to ensure it does not interfere with the main rendering timing during the interim demo. 

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.

Michael’s Status Report for 3/21

This week, I focused on the ethics assignment and discussion, and also the development of the visual debug overlay. After we finished our individual ethics assignments, our team gathered together and discussed the ethics questions regarding the worst case scenario of our project. And on Wednesday, I went to the ethics lecture and further discussed the potential ethics problems related to our project.

On the technical side, I drafted and implemented the RTL for the visual debug overlay. The PPU now has a secondary rendering layer that can be toggled to display the current 32-byte palette RAM and key register states. This will be used to verify the XY scrolling logic. I also began assisting with the initial integration of the controller interface to the FPGA.

I am currently on schedule, and for next week, I will focus on integrating the PPU’s sprite-zero hit logic with Bert’s CPU core. I will also solder a DC voltage regulator to the controller to allow the FPGA to directly drive the controller. I will then help Jacob to map the controller to the PPU’s OAM and registers.