// CPEN 230L lab 9 part 2 // JK flip flop's wrapper for testing the flip flop on DE2-115 board // File: JK_FlipFlop_top.v module JK_FlipFlop_top ( input [2:0] KEY, // Clk, nPr, nClr input [1:0] SW, // J, K output [1:0] LEDG ); // Q, Qn // complete the instantiation of JK_FlipFlop JK_FlipFlop JK_inst ( .Clk (), .nPr (), .nClr (), // Clear has priority over Preset .J (), .K (), .Q (), .Qn (); endmodule // NOTE: The KEY buttons on the DE2-115 board are "normally" high. // This means that to force a logic 0 you need to push them down.