diff --git a/_xmsgs/pn_parser.xmsgs b/_xmsgs/pn_parser.xmsgs index 23b6f08..1c75773 100644 --- a/_xmsgs/pn_parser.xmsgs +++ b/_xmsgs/pn_parser.xmsgs @@ -11,5 +11,8 @@ Parsing VHDL file "C:/Users/Gabriel/Xilinx/Aula20220603/textovhdl.vhd" into library work +"C:/Users/Gabriel/Xilinx/Aula20220603/textovhdl.vhd" Line 119. Syntax error near ":". + + diff --git a/textovhdl.vhd b/textovhdl.vhd index 4f18407..350b16d 100644 --- a/textovhdl.vhd +++ b/textovhdl.vhd @@ -32,7 +32,7 @@ signal clkcontbits, clrcontbits, contbitsigual32: std_logic; signal EOTX8: std_logic_vector (1 downto 0); signal EOTX12: std_logic_vector (2 downto 0); signal clr12bits, Q900, Q450, Q55, Q165: std_logic; -signal loadshift, clkshift, Q0, outired, clk37915: std_logic; +signal loadshift, clkshift, Q0, outir, clk37915: std_logic; signal proxTX, atualTX: std_logic_vector(3 downto 0); signal proxshift32, atualshift32: std_logic_vector (31 downto 0); signal cont37915: std_logic_vector(23 downto 0); @@ -96,6 +96,18 @@ begin end if; end process; +proxTX <= "000"&BUT(0) when atualTX="0000" else + "00"&(not BUT(0))&'1' when atualTX="0001" else + "001"&Q900 when atualTX="0011" else + "0110" when atualTX="0010" else + "011"&(not Q450) when atualTX="0110" else + + + + + + + @@ -180,6 +192,7 @@ GPIO(1) <= cs; GPIO(2) <= din; S_IR <= GPIO(4); LEDS <= num7; +GPIO(5) <= CLK37915 and OUTIR; end comportamento;