[Oberon] FPGA - Oberon - Sound
Magnus Karlsson
magnus at saanlima.com
Mon Oct 29 22:07:25 CET 2018
At the top level you need to add two output signals called AUDIO_L and
AUDIO_R.
You need to instantiate two dac units, one for left and one for right
and hook them up like this:
dac left_dac(
.DACout(AUDIO_L),
.DACin(analog_left),
.clock(clk)
);
dac right_dac(
.DACout(AUDIO_R),
.DACin(analog_right),
.clock(clk)
);
where analog_left and analog_right are the 12-bit analog values to convert.
Magnus
On 10/29/2018 1:48 PM, Tomas Kral wrote:
> On Mon, 29 Oct 2018 21:20:05 +0100
> Tomas Kral <thomas.kral at email.cz> wrote:
>
>> How do I connect `DACout' to
>>
>> # audio
>> NET "AUDIO_L" LOC = "K15";
>> NET "AUDIO_R" LOC = "K16";
>>
>> in `Pepino_UCF'?
> like this ????
> assign AUDIO_L = DACout;
> just left channel
>
More information about the Oberon
mailing list