en202:vga_bitmap
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| en202:vga_bitmap [2023/11/05 22:24] – [memory usage (Artix 7)] Yannick Bornat | en202:vga_bitmap [2023/11/05 23:02] (Version actuelle) – [instanciation] Yannick Bornat | ||
|---|---|---|---|
| Ligne 13: | Ligne 13: | ||
| * reset is active high | * reset is active high | ||
| + | ---- | ||
| + | ====instanciation==== | ||
| + | |||
| + | The most simple version is to be instanced with the following lines. Optional I/Os are not used, and might produce warnings, you can safely ignore them. | ||
| + | |||
| + | |||
| + | display_module : entity work.vga_bitmap_640x480 | ||
| + | generic map(RAM_BPP | ||
| + | INDEXED | ||
| + | READBACK => 0) -- read from bitmap memory disabled | ||
| + | | ||
| + | port map(clk | ||
| + | | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | If data readback is required, it becomes : | ||
| + | * **warning**: | ||
| + | * data read requests can be pipelined | ||
| + | |||
| + | |||
| + | display_module : entity work.vga_bitmap_640x480 | ||
| + | generic map(RAM_BPP | ||
| + | INDEXED | ||
| + | READBACK => 1) -- read from bitmap memory enabled | ||
| + | | ||
| + | port map(clk | ||
| + | | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | The // | ||
| ---- | ---- | ||
| ==== addressing a pixel ==== | ==== addressing a pixel ==== | ||
en202/vga_bitmap.1699219490.txt.gz · Dernière modification : 2023/11/05 22:24 de Yannick Bornat
