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. 

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.

Bert’s Status Report for 2/14

This week, a significant portion of my time was dedicated to the design review presentation. I wrote about our design requirements and the solution approach for the hardware recreation. Regarding hardware implementation, I made progress on the 6502 instruction set logic. Building on last week’s work with bytecode conversion, I have begun writing the RTL for the core execution unit. I have also started setting up the Implementation and Testing plans to verify that our timing remains deterministic as we integrate the CPU with the memory mapping unit.

My progress is currently on schedule. While the Design Review required significant documentation effort, I have maintained the pace for the CPU implementation phase. For the upcoming week, I aim to finalize the initial RTL for the Ricoh 2A03 core instruction set, and run the full suite of assembly tests through the VCS test bench to ensure functional correctness. 

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.

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.

Bert’s Status Report for 2/7

For this week, I did some research and study on the 6502 processor and instruction set. I found other open-source projects that have demos on simulation of the processor and attempted to test them on VCS and Icarus Verilog. The main issue that I found and made progress through is how to convert assembly 6502 assembly code to bytecode and provide them to the CPU test bench. I have also studied through the structure of the 6502 processor to understand how the code works.

The progress is on schedule, we plan to complete the main CPU and run tests on those during the first few weeks, what I did is some progress on this step. For the next week, the goal is to run all the tests for the CPU, pass them and try to synthesize through Vivado, and do some timing analysis.

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.