-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
446 additions
and
469 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,24 @@ | ||
# jt12 | ||
FM sound source written in Verilog, fully compatible with YM2612 | ||
|
||
FM sound source written in Verilog, fully compatible with YM2612 and YM2203. | ||
|
||
The implementation tries to be as close to original hardware as possible. Low usage of FPGA resources has also been a design goal. Except in the operator section (jt12_op) where an exact replica of the original circuit is done. This could be done in less space with a different style but because this piece of the circuit was reversed engineered by Sauraen, I decided to use that knowledge. | ||
|
||
Directories: | ||
|
||
hdl -> all relevant RTL files, written in verilog | ||
ver -> test benches | ||
ver/verilator -> test bench that can play vgm files | ||
|
||
Usage: | ||
|
||
YM2612: top level file "jt12.v". Use jt12.qip to automatically get all relevant files in Quartus. | ||
YM2612 should have parameters set like: | ||
use_lfo = 1 | ||
use_psg = 0 | ||
|
||
YM2203: top level file "jt12.v". Use jt03.qip to automatically get all relevant files in Quartus. | ||
YM2203 should have parameters set like: | ||
use_lfo = 0 | ||
use_psg = 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) jt12.vhd ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_acc.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_eg.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_eg_cnt.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_eg_comb.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_eg_step.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_eg_pure.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_eg_final.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_eg_ctrl.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_exprom.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_kon.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_lfo.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_limitamp.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_mmr.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_mod.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_op.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_opram.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_pg.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_pg_inc.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_pg_dt.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_pg_sum.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_pg_comb.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_pm.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_phrom.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_reg.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_sh.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_sh_rst.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_sh24.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_sumch.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) jt12_timers.v ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) ../jt49/hdl/jt49.h ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) ../jt49/hdl/jt49_div.h ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) ../jt49/hdl/jt49_eg.h ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) ../jt49/hdl/jt49_exp.h ] | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) ../jt49/hdl/jt49_noise.h ] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.