aboutsummaryrefslogtreecommitdiff
path: root/src/pixeldata.vhd
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-12-16 13:59:41 +0100
committerlonkaars <loek@pipeframe.xyz>2022-12-16 13:59:41 +0100
commit7608345e2b9ca7541baa0135b2915747bf613d7d (patch)
treeb126769a9a01832b80ad50d6d5640b30bf3cae17 /src/pixeldata.vhd
parent9477c08903edddca78dda952d79847cdcd4d22d3 (diff)
add comments
Diffstat (limited to 'src/pixeldata.vhd')
-rw-r--r--src/pixeldata.vhd2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pixeldata.vhd b/src/pixeldata.vhd
index 722d2d6..0fa229f 100644
--- a/src/pixeldata.vhd
+++ b/src/pixeldata.vhd
@@ -28,10 +28,12 @@ begin
begin
if rising_edge(pixel_clk) then
if (x >= sx) and (x < sx + 10) and (y >= sy) and (y < sy + 10) then
+ -- draw 10x10 pixel box in white
red <= '1';
green <= '1';
blue <= '1';
else
+ -- blue background
red <= '0';
green <= '0';
blue <= '1';