I managed to remap a few things, but how are we supposed to port OSD functions?
- I suppose the video_ and VGA_ will go into "emu"?
- Also does the SPI needs changing into something else?
Code: Select all
// include the on screen display
osd #(16,0,4) osd (
.pclk ( clk32 ),
// spi for OSD
.sdi ( SPI_DI ),
.sck ( SPI_SCK ),
.ss ( SPI_SS3 ),
.red_in ( video_r ),
.green_in ( video_g ),
.blue_in ( video_b ),
.hs_in ( video_hs ),
.vs_in ( video_vs ),
.red_out ( VGA_R ),
.green_out( VGA_G ),
.blue_out ( VGA_B ),
.hs_out ( VGA_HS ),
.vs_out ( VGA_VS )
);
I'm also a bit lost with the DAC; the implementation of the core is very different to the module inside /sys/.
I suppose AUDIO_L and _R goes into "emu" as well, but what aobut ldatasum and rdatasum?
Code: Select all
sigma_delta_dac dac (
.CLK ( clk32 ),
.ldatasum ( audio_left[15:1] ),
.rdatasum ( audio_right[15:1] ),
.left ( AUDIO_L ),
.right ( AUDIO_R )
);
Sorry if some of it is obvious, I'm just trying to rewire things hoping it might work...