Oscar99haha
Newbie
Hi I was trying to connect my altera de2-115 board to external 5V relay. The output gpio 11 is depends on my switch 17. When switch 17 is turn up, gpio 11 will output to 5V relay. i tried it on my own but why does the GPIO not giving any output? And also my pin planner had set it to 3.3V. Attached below with my code (Verilog).
Code:
module testonly(GPIO, SW, LEDR);
input [17:0] SW;
output [11:0] GPIO;
output [17:0] LEDR;
assign LEDR[17]=SW[17];
assign GPIO[11]=SW[17];
endmodule