Skip to content

rejunity/tt-ym2413-IKAOPLL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASIC replica of the classic YM2413 FM Synthesis audio chip in Tiny Tapeout

YM2413 Verilog core is written by Sehyeon Kim (Raki). It was reverse-engineered with only Yamaha's datasheet and die shots from Madov and Travis Goodspeed.

Originally developed as FPGA core, the code is well suitaed for ASIC and with just few minimal modifications it will be taped out on a 130 nm process using Tiny Tapeout service.

What is YM2413

The YM2413, a.k.a. OPLL, is FM synthesis sound chip manufactured by Yamaha Corporation in. It is related to Yamaha's OPL family of FM synthesis chips, and is a cost-reduced version of the YM3812 (OPL2).

image

The YM2413 uses FM synthesis based on the OPL (FM Operator Type-L) series, which is a low-cost version of other forms of FM synthesis used in other chips with 4 or more FM operators. It can generate up to 9 voices with 2 FM operators for each channel. The last three channels can be swapped out for rhythm channels, which can use any of the 5 percussion sounds using the three channels. To make the chip cheaper to manufacture, many of the internal registers were removed. The result of this is that the YM2413 can only play one user-defined instrument at a time; the other 15 instrument settings are hard-coded and cannot be altered by the user. There were other cost-cutting modifications: the number of waveforms was reduced to two, and an adder is not used to mix the channels; instead, the chip's built-in DAC plays each channel one after the other, and the output of this is usually passed through an analog filter. This is similar to what would be done on the YM2612 later on.

Technical specifications

  • Clock rate: 3.579545 MHz
  • Sound output: Mono
  • Sound channels: 9
  • Channels:
    • 9 FM channels
    • 6 FM channels + 3 rhythm channels
  • Instruments: 15 pre-defined instruments and one user-defined sound
  • FM channels: 6-9 channels (6 channels with rhythm mode, 9 channels without rhythm mode)
  • Rhythm channels: 3 channels can be used for percussion sounds
  • Percussion: 5 percussion sounds (bass drum, snare drum, tom-tom, top cymbal, hi-hat)

What is Tiny Tapeout?

Tiny Tapeout is an educational project that aims to make it easier and cheaper than ever to get your digital and analog designs manufactured on a real chip.

To learn more and get started, visit https://tinytapeout.com.

Resources

About

YM2413 core IKAOPLL on TinyTapeout

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages