+--------------------------------------------------------------------------------
+-- vga_counter - pixel counter and sync generator for VGA interfaces
+--------------------------------------------------------------------------------
+
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
+--------------------------------------------------------------------------------
+-- vga_tiler - tile-based graphics controller for VGA interfaces
+--------------------------------------------------------------------------------
+-- 0x0000 - 0x2000: Screen buffer
+-- Each byte is an index into tile memory
+-- Byte 0 is the top-left tile
+-- 0x2000 - 0x27ff: Tile data
+-- Each tile is 8x8 pixels and consists of 8 bytes
+-- The first byte of a tile is the top row, one pixel per bit
+-- At startup, a subset of the Commodore64 font is loaded into
+-- tile memory, mapped to appropriate ASCII characters
+--------------------------------------------------------------------------------
+-- WISHBONE DATASHEET
+--
+-- Wishbone specification used: Rev B.3
+-- Interface type: device
+-- Port size: 8-bit
+-- Operand sizes: 8-bit
+-- Endianness: undefined (port size same as granularity)
+-- Data transfer sequence: undefined
+-- Clock constraints: 50 MHz expected
+-- Signals:
+-- * rst_i
+-- * clk_i
+-- * cyc_i
+-- * stb_i
+-- * we_i
+-- * ack_o
+-- * adr_i (14-bit)
+-- * dat_i (8-bit)
+-- * dat_o (8-bit)
+--------------------------------------------------------------------------------
+
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_misc.all;