Ternary Electronic Logic Systems Automation: A Novel Study Based on VHDL Language – First Part: Ternary Logic Gates