Closed Nabav closed 3 years ago
So far it can do this:
input
CONSTANT ALMOST_EMPTY_OFFSET : bit_vector(12 DOWNTO 0)
:= to_bitvector(STD_ULOGIC_VECTOR(to_unsigned(C_M_AXI_BURST_LEN - 1, 13)));
CONSTANT ALMOST_FULL_OFFSET : bit_vector(12 DOWNTO 0)
:= to_bitvector(STD_ULOGIC_VECTOR(to_unsigned(C_M_AXI_BURST_LEN - 1, 13)));
output
CONSTANT ALMOST_EMPTY_OFFSET : bit_vector(12 DOWNTO 0)
:= to_bitvector(STD_ULOGIC_VECTOR(to_unsigned(C_M_AXI_BURST_LEN - 1, 13)));
CONSTANT ALMOST_FULL_OFFSET : bit_vector(12 DOWNTO 0)
:= to_bitvector(STD_ULOGIC_VECTOR(to_unsigned(C_M_AXI_BURST_LEN - 1, 13)));
this bug should be fixed now. Please check.
I would like to ask for a formatting improvement regarding breaking long lines in VHDL. It would be much nicer, if the broken lines after the first line of the statement get an extra indentation level.
Suppose this formatted example:
I think this is the preferred output:
The current formatting style gives me the sense that they are two statements in two lines, but with the extra indentation, it seems that the same statement is broken into two (or more) lines.
Of course, the implementation seems not easy to me, since trying to find the semicolon
;
as the terminating character might not work in loops.