S
silverdr
Guest
Hello everyone, I've encountered a problem with pin assignments in VHDL when using ispLEVER. Lattice has an answer to the generic question here:
http://www.latticesemi.com/en/Support/AnswerDatabase/1/8/4/1844
with link to a more thorough document in there. Both the answer and the document explain how to assign pins to given signals. They even give dummy examples there, like:
attribute LOC : string;
attribute LOC of out0: signal is "PA3";
The problem is that while this seems to work well with signals defined as e.. g. 'std_logic', when I try to use this for signals defined as 'std_logic_vector' and assign pins to f. e. address bus lines:
attribute LOC of A(1): signal is "P3";
things break and I get:
"design.vhd":19:20:19:20|Expecting : before class of object(s)" error. Workaround to this is to drop the vector definition and define each and every address line as a separate signal, but I would very much prefer to keep the vectors where they are. Does anyone know a way to assign pins to "vectored" signals?
http://www.latticesemi.com/en/Support/AnswerDatabase/1/8/4/1844
with link to a more thorough document in there. Both the answer and the document explain how to assign pins to given signals. They even give dummy examples there, like:
attribute LOC : string;
attribute LOC of out0: signal is "PA3";
The problem is that while this seems to work well with signals defined as e.. g. 'std_logic', when I try to use this for signals defined as 'std_logic_vector' and assign pins to f. e. address bus lines:
attribute LOC of A(1): signal is "P3";
things break and I get:
"design.vhd":19:20:19:20|Expecting : before class of object(s)" error. Workaround to this is to drop the vector definition and define each and every address line as a separate signal, but I would very much prefer to keep the vectors where they are. Does anyone know a way to assign pins to "vectored" signals?