Closed alexsh3 closed 11 months ago
Morning @alexsh3,
I was able to duplicate the behavior you are seeing. I will move this issue to In Progress.
Thanks,
--Jeremy
Morning @alexsh3,
I have pushed an update for this issue to the issue-928
branch. When you get a chance, could you check it out and let me know if it fixes the issue on your side?
Thanks,
--Jeremy
Hi @jeremiah-c-leary,
Branch issue-928
has fixed this.
Thanks
Alex
Morning @alexsh3 ,
I will merge this to master.
Thanks,
--Jeremy
we still have the same problem:
`library ieee; use ieee.std_logic_1164.all;
package interfaces_pkg is subtype T_AXI_RANGE is natural range 7 downto 0;
type t_axi_stream_m2s is record
st_valid : std_logic_vector(0 downto 0);
st_data : std_logic_vector;
st_strb : std_logic_vector;
st_keep : std_logic_vector;
st_last : std_logic_vector;
end record;
subtype t_data_axi_stream_m2s is t_axi_stream_m2s(
st_data(7 downto 0),
st_strb(0 downto 0),
st_keep(T_AXI_RANGE),
st_last(0 downto 0)
);
end package;`
Error: Unexpected token detected while parsing subtype_declaration @ Line 19, Column 36 in file None Expecting : ; Found : ,
Morning @mattdominik ,
I pushed an update to the issue_928a
branch. When you get a chance could you verify it on your end?
Thanks,
--Jeremy
now it works - thanks
Awesome, I will merge this to master.
--Jeremy
Environment Version: 3.14.0+zip.file OS: Linux 4.18.0-372.26.1.el8_6.x86_64
Describe the bug A signal declaration of a vector with a range defined by an integer subtype throws the following error:
To Reproduce Run
vsg -f ./range_failure.vhd
whererange_failure.vhd
contains the following:Expected behavior The code should parse correctly.