M
Mike Young
Guest
First question, is GHDL a viable tool? Subsequent questions are moot if not.
The reason I'm asking is ghdl errors out everywhere that I use 'alias'.
For example:
subtype word_t is std_logic_vector(v_in'high downto v_in'low);
type vword_t is array (DEPTH-1 downto 0) of word_t;
signal words : vword_t := (others => (others => '0'));
alias top_word is words(DEPTH-1); -- line 64.
and DEPTH is given by:
Generic ( DEPTH : natural := 6);
The ghdl error message is:
$ ghdl -a --std=93c --ieee=standard s*.vhd
shift_buffer.vhd:64:29: 'begin' is expected instead of '('
/usr/lib/ghdl/bin/ghdl: compilation error
This is from a project that XST likes well enough to synthesize.
The reason I'm asking is ghdl errors out everywhere that I use 'alias'.
For example:
subtype word_t is std_logic_vector(v_in'high downto v_in'low);
type vword_t is array (DEPTH-1 downto 0) of word_t;
signal words : vword_t := (others => (others => '0'));
alias top_word is words(DEPTH-1); -- line 64.
and DEPTH is given by:
Generic ( DEPTH : natural := 6);
The ghdl error message is:
$ ghdl -a --std=93c --ieee=standard s*.vhd
shift_buffer.vhd:64:29: 'begin' is expected instead of '('
/usr/lib/ghdl/bin/ghdl: compilation error
This is from a project that XST likes well enough to synthesize.