Altera_Forum
Honored Contributor
10 years agoassigned a pin to ground
Hi everyone,
I have a max10 FPGA and I want to assigned a pin to the gnd Because my circuit is like this: output pin(3.3V ) LED power supplied(3.3V) so If I want to light up my LED, I should have an output pin=0V. I've try some VHDL code, it seems it doesn't work library ieee; use ieee.std_logic_1164.all; ENTITY et IS PORT( s : out std_logic ); END et ; ARCHITECTURE data_flow OF et IS BEGIN s<= '0'; END data_flow; I've also tried null instead of 0. But it still doesn't work. is it because I don't have IN std_logic thank you in advance