#9 Incorrectly flagging pow operator (**) as error

Closed
opened 1 year ago by josefschneider · 2 comments

The following valid line of VHDL code:

constant MY_CONSTANT : integer := 2 ** 16;

Appears as an error in vhdl-tool:

message: 'No matches for binary operator "**" with left argument type "Universal integer" and right argument type "Universal integer"'

The following valid line of VHDL code: ```constant MY_CONSTANT : integer := 2 ** 16;``` Appears as an error in vhdl-tool: ```message: 'No matches for binary operator "**" with left argument type "Universal integer" and right argument type "Universal integer"'```
josefschneider commented 1 year ago
Poster

Similarly, I also get an error for this line:

empty <= not pipe_valid(FIFO_DEPTH);

Resulting in:

message: 'Expected signal assignment: empty'

Similarly, I also get an error for this line: ```empty <= not pipe_valid(FIFO_DEPTH);``` Resulting in: ```message: 'Expected signal assignment: empty'```
vhdl-tool commented 1 year ago
Owner

Fixed in master. Will be in the next release.

Fixed in master. Will be in the next release.
Sign in to join this conversation.
No Label
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.