我做了你问的但得到了
[Synth 8-561]范围表达式无法解析为常量...
这是代码
row_int 以下为原文
hello @muzaffer,
I did what you asked but getting
- [Synth 8-561] range expression could not be resolved to a constant ...
row_int <= to_integer(unsigned(row_in(15 downto 0)));
variable row: integer range 0 to row_int;
Why can't I do this?