1 / 9

SMASHER

SMASHER. Jian Liu Chaoying Kang Tong Zhang Instructor: Prof. Edwards Columbia University in the city of New York. Overview. Block Diagram. interrupt. Rotary Switch. Two rotary switch to control four board FSM to detect the input from switch Send one interrupt when switch happened

vienna
Télécharger la présentation

SMASHER

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SMASHER Jian Liu Chaoying Kang Tong Zhang Instructor: Prof. Edwards Columbia University in the city of New York

  2. Overview • Block Diagram interrupt

  3. Rotary Switch • Two rotary switch to control four board • FSM to detect the input from switch • Send one interrupt when switch happened • Send add/sub signal during Interrupt

  4. Audio Module • Storage of sounds First attempt to store program in the SDRAM  Store audio memory in SRAM  Stored together as alt_u16 array with 30K bytes • Four kinds of sounds • Audio module send interrupt continuously • CPU send 64bytes data to buffer in audio module for every interrupt

  5. Audio Module • Parameter of sounds Sampling Frequency : 11 KHz(44KHz originally) Interrupt Frequency : 1.34 KHz Actual Frequency : 43 KHz • Challenges in Audio Hard to store Interrupt Frequency Limitation Actual Frequency : 43 KHz

  6. VGA Module • Storage of Colors Storage data on on-chip memory  Using 16 colors indexed image • Two kinds of image display • Sprite • Tile (for the bugs) • VGA module send interrupt to update the data • Serveralanimination

  7. C control • Each brick is treated as eight parts with different reflection behavior • Cloud board has six parts with different reflection direction and speed • Ball is located by five spots • If ball out of visual area, life is decreased and ball is re-positioned.

  8. C control • If win or lose, it will print “WIN” or “LOSE” consist of bricks. The pattern will print one after another brick and flash multi-times. • If multi-hits happens in a short time. Collision may happens. In this case, stop the current sound immediately, and start the new one.

  9. Thank You! Q&A

More Related