moved 'vsync indication' code to bram fifo output section.
(and test pattern generation)