code cleanup and font fix
This commit is contained in:
parent
044d846313
commit
e679a3ce68
10 changed files with 443 additions and 102 deletions
15
gpu.sv
Normal file
15
gpu.sv
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
module gpu (
|
||||
input wire [31:0] vram [0:2047]
|
||||
);
|
||||
|
||||
import "DPI-C" function void init_screen();
|
||||
import "DPI-C" function void draw_screen(logic [31:0] vram [0:2047]);
|
||||
|
||||
initial begin
|
||||
init_screen();
|
||||
end
|
||||
|
||||
always_comb begin
|
||||
draw_screen(vram);
|
||||
end
|
||||
endmodule
|
||||
Loading…
Add table
Add a link
Reference in a new issue