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.

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.

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.

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. 

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.

Michael’s Status Report for 3/14

This week, I have done work on both technical development and the individual ethics assignment. For the ethics assignment, I read all the source materials, answered the questions, and analyzed the trade offs between public health, safety, and welfare for our NES project.

On the hardware side, I have mainly on the VGA-to PPU coordinate mapping. I can display a static test pattern from the pattern table on a physical monitor. Additionally, I worked on the implementation of the XY scrolling logic.

I am currently on schedule, and I will begin drafting the RTL for the visual debug overlay, which will give us debugging toos in the palette data and PPU register states during execution.

Michael’s Status Report for 3/7

This week, my efforts focused on moving from internal logic to visual output for the 2C02 PPU. I worked on the sprite rendering pipeline, which now successfully integrates the OAM priority logic with the pattern table fetching mechanism I developed previously. This allows the hardware to correctly handle the transparency and palette selection for up to eight sprites per scanline.

For the upcoming week, I aim to work on the VGA-to-PPU coordinate mapping and demonstrate a static pattern table display on a monitor.

Michael’s Status Report for 2/21

This week, I focused on validating the 2C02 PPU register interface and initiating the next phase of the pixel pipeline. Following our design review presentation on Monday, I worked on the dedicated PPU testbench. I verified that the read/write timing for the internal registers matches the original Ricoh technical specifications, ensuring that the CPU and PPU can communicate without data hazards or missed cycles during the VBlank interval.

On the hardware implementation side, I began writing the system verilog code for the sprite evaluation logic. This involved designing the finite state machine that scans the object attribute memory to identify which of the 64 available sprites should be rendered on a given scanline. I specifically focused on the priority evaluation logic, which ensures that the hardware correctly handles overlapping sprites.

I am currently on schedule. For the upcoming week, I aim to do the following:  keep working on the sprite rendering pipeline, including the logic for fetching pattern table data for sprites and applying palettes. Begin the implementation of the VGA display output module, mapping the internal PPU pixel coordinates to standard VGA timing signals. Incorporate faculty and peer feedback from the design review into the design review report due next Friday.

Michael’s Status Report for 2/14

This week, my primary focus was split between final documentation for our design review presentation and advancing the 2C02 PPU hardware implementation. For the group presentation, I was responsible for drafting the implementation plan and the testing plan, specifically detailing how we will validate cycle accuracy across the CPU PPU interface.

On the technical side, I successfully finalized the Verilog implementation for the background rendering and pattern table fetching logic. This involved mapping the internal VRAM addresses to the pattern table data fetched from the emulated cartridge memory. Additionally, I began developing a dedicated testbench to verify PPU register read/write timing.

I am currently on schedule. Having finalized the background rendering logic this week, I am exactly where I planned to be in our internal timeline. For the upcoming week, I hope to complete finalizing the PPU testbench and verify that register access timing matches the original hardware specifications. In addition, I will begin the RTL implementation for sprite rendering logic, including the priority evaluation for overlapping sprites.

Michael’s Status Report for 2/7

For this week, I mainly contributed to the proposal presentation slides and prepared for the presentation. On Monday, I presented our proposal to the class. Later this week, I researched on open source information about the implementation of some of the hardware in the NES, such as the 2A03 CPU and the 2C02 PPU. I researched more into the open source implementation of the 2C02 PPU, and worked on extracting and modifying its I/O interface. I focused on extracting the core rendering logic and modifying the top-level interface to support our specific ZYNQ-7000 FPGA pin constraints

I am currently on schedule. According to our planed timeline, I will need to finish the PPU’s pattern table. I have already obtained some data in this regard, and I will finish this in time.

For next week, I I aim to complete the following tasks. I will finalize the implementation of the background rendering and pattern table fetching logic. I will then start on generating a testbench to verify PPU register read/write timing against the 2C02 technical specifications.