Open Brandon-Valley opened 3 years ago
The log shows the following:
a
b
it consumes an indentation of 8 space characters (because it reports 8 (8)
) - for tabs the numbers would differ :) → OKin the state where the parser currently is, it expects either a semicolon or :=
to assign a default value to a port. This means, the parser lost the information, it already consumed a ;
before the linebreak and/or the indentation. That's why it asks again as if it would still stand in the line of a
.
Please try this:
entity demo is
port (
a : in std_logic; -- dummy
b : out std_logic_vector( 15 downto 0 ); -- dummy
c : out std_logic
);
end entity demo;
I added a first set of test cases for port lists in a087e043.
The second test shows a Last token is not connected to the current token.
error when checking the linked data structures.
The test case could pass with:
port1 : bit;port2 : boolean
but fails with
port1 : bit; port2 : boolean
note the space after ;
between two ports.
Greetings,
Python I am using:
When run on this .vhd file, everything works fine:
But when I uncomment the line with the std_logic_vector as shown below, I receive the following error.
Am I doing something wrong? Any recomendations on how I should proceed? Any and all assistance is greatly appreciated! :)