Line 48... |
Line 48... |
module ogfx_gpu (
|
module ogfx_gpu (
|
|
|
// OUTPUTs
|
// OUTPUTs
|
gpu_cmd_done_evt_o, // GPU command done event
|
gpu_cmd_done_evt_o, // GPU command done event
|
gpu_cmd_error_evt_o, // GPU command error event
|
gpu_cmd_error_evt_o, // GPU command error event
|
|
gpu_dma_busy_o, // GPU DMA execution on going
|
gpu_get_data_o, // GPU get next data
|
gpu_get_data_o, // GPU get next data
|
|
|
vid_ram_addr_o, // Video-RAM address
|
vid_ram_addr_o, // Video-RAM address
|
vid_ram_din_o, // Video-RAM data
|
vid_ram_din_o, // Video-RAM data
|
vid_ram_wen_o, // Video-RAM write strobe (active low)
|
vid_ram_wen_o, // Video-RAM write strobe (active low)
|
Line 75... |
Line 76... |
|
|
// OUTPUTs
|
// OUTPUTs
|
//=========
|
//=========
|
output gpu_cmd_done_evt_o; // GPU command done event
|
output gpu_cmd_done_evt_o; // GPU command done event
|
output gpu_cmd_error_evt_o; // GPU command error event
|
output gpu_cmd_error_evt_o; // GPU command error event
|
|
output gpu_dma_busy_o; // GPU DMA execution on going
|
output gpu_get_data_o; // GPU get next data
|
output gpu_get_data_o; // GPU get next data
|
|
|
output [`VRAM_MSB:0] vid_ram_addr_o; // Video-RAM address
|
output [`VRAM_MSB:0] vid_ram_addr_o; // Video-RAM address
|
output [15:0] vid_ram_din_o; // Video-RAM data
|
output [15:0] vid_ram_din_o; // Video-RAM data
|
output vid_ram_wen_o; // Video-RAM write strobe (active low)
|
output vid_ram_wen_o; // Video-RAM write strobe (active low)
|
Line 176... |
Line 178... |
|
|
ogfx_gpu_dma ogfx_gpu_dma_inst (
|
ogfx_gpu_dma ogfx_gpu_dma_inst (
|
|
|
// OUTPUTs
|
// OUTPUTs
|
.gpu_exec_done_o (gpu_exec_done ), // GPU execution done
|
.gpu_exec_done_o (gpu_exec_done ), // GPU execution done
|
|
.gpu_dma_busy_o (gpu_dma_busy_o ), // GPU DMA execution on going
|
|
|
.vid_ram_addr_o (vid_ram_addr_o ), // Video-RAM address
|
.vid_ram_addr_o (vid_ram_addr_o ), // Video-RAM address
|
.vid_ram_din_o (vid_ram_din_o ), // Video-RAM data
|
.vid_ram_din_o (vid_ram_din_o ), // Video-RAM data
|
.vid_ram_wen_o (vid_ram_wen_o ), // Video-RAM write strobe (active low)
|
.vid_ram_wen_o (vid_ram_wen_o ), // Video-RAM write strobe (active low)
|
.vid_ram_cen_o (vid_ram_cen_o ), // Video-RAM chip enable (active low)
|
.vid_ram_cen_o (vid_ram_cen_o ), // Video-RAM chip enable (active low)
|