]> Joshua Wise's Git repositories - fpgaboy.git/commitdiff
Semi-working, but prone to anus, keyboard driver
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Fri, 9 May 2008 12:32:33 +0000 (08:32 -0400)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Fri, 9 May 2008 12:32:33 +0000 (08:32 -0400)
CoreTop.ucf
PS2Button.v

index 194c75f352c7c148f61764b06a868c68700970cf..55b46529613be37c8d61fe04b0e9d4da6d3d504a 100644 (file)
@@ -103,5 +103,5 @@ NET "cr_A<20>" LOC="K3" | SLEW="fast";
 NET "cr_A<21>" LOC="D1" | SLEW="fast";
 NET "cr_A<22>" LOC="K6" | SLEW="fast";
 
-NET "ps2c" LOC="R12";
+NET "ps2c" LOC="R12" | CLOCK_DEDICATED_ROUTE = FALSE;
 NET "ps2d" LOC="P11";
\ No newline at end of file
index 571af435a1b2adcf864d02fa2898dbd0422458b6..169346c73335883fede324d1afb2bd4404833e84 100644 (file)
@@ -14,7 +14,7 @@ module PS2Button(
        always @ (negedge inclk) begin
                if(bitcount == 10) begin
                        bitcount <= 0;
-                       if(parity == (^ key)) begin
+                       if(parity != (^ key)) begin
                                if(keyarrow) begin
                                        keyarrow <= 0;
                                        case(key)
This page took 0.029587 seconds and 4 git commands to generate.