]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - System.v
Add mock up LCDC
[fpgaboy.git] / System.v
index 5b0fb3cc45f05c81f58e96f7263b386e4eaf1619..712dd752a0de532bd88c273ddfd64f800fa9c593 100644 (file)
--- a/System.v
+++ b/System.v
@@ -76,7 +76,7 @@ module CoreTop(
        wire [7:0] data;
        wire wr, rd;
        
-       wire irq, tmrirq;
+       wire irq, tmrirq, lcdcirq;
        wire [7:0] jaddr;
        wire [1:0] state;
        
@@ -97,6 +97,14 @@ module CoreTop(
                .wr(wr),
                .rd(rd));
        
+       LCDC lcdc(
+               .addr(addr),
+               .data(data),
+               .clk(clk),
+               .wr(wr),
+               .rd(rd),
+               .irq(lcdcirq));
+       
        AddrMon amon(
                .addr(addr), 
                .clk(clk), 
@@ -152,7 +160,7 @@ module CoreTop(
                .addr(addr),
                .data(data),
                .vblank(0),
-               .lcdc(0),
+               .lcdc(lcdcirq),
                .tovf(tmrirq),
                .serial(0),
                .buttons(0),
This page took 0.026273 seconds and 4 git commands to generate.