«
Previous
|
Next
»
Revision 1558
Added by markw 5 days ago
| atari_chips/pokeyv2/build.sh | ||
|---|---|---|
|
},
|
||
|
"10M16SCU169C8G" =>
|
||
|
{
|
||
|
"full_quad_xel" =>
|
||
|
{
|
||
|
"enable_audout2" => 0,
|
||
|
"audout2_on_audout3" => 1,
|
||
|
"pokeys" => 4,
|
||
|
"enable_auto_stereo" => 1,
|
||
|
"enable_sid" => 1,
|
||
|
"enable_psg" => 1,
|
||
|
"enable_covox" => 1,
|
||
|
"enable_sample" => 1,
|
||
|
"enable_flash" => 1,
|
||
|
"enable_spdif" => 1,
|
||
|
"enable_ps2" => 1,
|
||
|
"enable_routing" => 1,
|
||
|
"flash_addr_bits" => 17,
|
||
|
#"sample_ram_size" => 65536, Not enough room with FIR
|
||
|
"sid_wave_base" => 79872, #"to_integer(unsigned(x\"13800\"))",
|
||
|
"a4_bit" => 1,
|
||
|
"a5_bit" => 2,
|
||
|
"a6_bit" => 3,
|
||
|
"a7_bit" => 4,
|
||
|
"cs1_bit" => 20,
|
||
|
"ps2clk_bit" => 5,
|
||
|
"ps2dat_bit" => 6,
|
||
|
"gtia_audio_bit" => 7,
|
||
|
"fancy_switch_bit" => 8,
|
||
|
"spdif_bit" => 10,
|
||
|
"ext_bits"=> 10,
|
||
|
"paddle_lvds"=>1,
|
||
|
"paddle_comp"=>0,
|
||
|
"enable_iox"=>0,
|
||
|
"enable_adc"=>1,
|
||
|
"adc_audio_detect"=>1,
|
||
|
"adc_fir_filter_v4"=>1,
|
||
|
"adc_volume"=>3,
|
||
|
"sio_data_volume"=>2,
|
||
|
"pll_v2" => 0,
|
||
|
"optimisearea" => 1,
|
||
|
},
|
||
|
"full_quad" =>
|
||
|
{
|
||
|
"enable_audout2" => 0,
|
||
| atari_chips/pokeyv2/pokeymax.vhd | ||
|---|---|---|
|
enable_sample : integer := 0;
|
||
|
enable_flash : integer := 0;
|
||
|
enable_audout2: integer := 1;
|
||
|
audout2_on_audout3 : integer := 0;
|
||
|
enable_spdif: integer := 0;
|
||
|
enable_ps2: integer := 0;
|
||
|
enable_adc: integer := 0;
|
||
| ... | ... | |
|
signal POKEY_AUDIO_SIGNED : SIGNED_AUDIO_TYPE(3 downto 0);
|
||
|
|
||
|
signal AUDIO_MIXED_SIGNED : SIGNED_AUDIO_TYPE(3 downto 0);
|
||
|
signal AUDIO_MIXED_UNSIGNED2 : unsigned(15 downto 0);
|
||
|
|
||
|
signal AUDIO_0_SIGMADELTA : std_logic;
|
||
|
signal AUDIO_1_SIGMADELTA : std_logic;
|
||
| ... | ... | |
|
AUDIO_1_SIGMADELTA <= '0';
|
||
|
end generate audout2_off;
|
||
|
|
||
|
AUDIO_MIXED_UNSIGNED2 <= signed_to_unsigned(AUDIO_MIXED_SIGNED(2-audout2_on_audout3));
|
||
|
|
||
|
dac_2 : entity work.filtered_sigmadelta
|
||
|
GENERIC MAP
|
||
|
(
|
||
| ... | ... | |
|
clk2 => CLK116,
|
||
|
ENABLE_179 => ENABLE_CYCLE,
|
||
|
DITHER_IN => SIGMADELTA_DITHER3,
|
||
|
audin => signed_to_unsigned(AUDIO_MIXED_SIGNED(2)),
|
||
|
audin => AUDIO_MIXED_UNSIGNED2,
|
||
|
AUDOUT => AUDIO_2_SIGMADELTA
|
||
|
);
|
||
|
|
||
Add v4 xel build: CS1 forced high. Left external pin carries right internal audio instead.