A
alessandro basili
Guest
Hi everyone,
I use to add the pin assignment directly in the code (it happened to
many times that I forgot to export the assignment file from the fitter
and all the job was gone!!). Synplify allows you to insert the pinout
simly adding the lines:
attribute alspin : string;
attribute alspin of clk : signal is "123";
and everything is fine. What I cannot manage to do is to assign the
pinout value to a signal that is actually an array. If address (3 downto
0) would be instead of the previous clk, how do I assign the correct
value to each bit? I tried this:
attribute alspin of address (0): signal is "123";
attribute alspin of address (1): signal is "124";
attribute alspin of address (2): signal is "125";
attribute alspin of address (3): signal is "126";
and this
attribute alspin of address : signal is ("123", "124", "125", "126");
but without success!
Can anyone help me?
Thanks a lot
Alessandro Basili
I use to add the pin assignment directly in the code (it happened to
many times that I forgot to export the assignment file from the fitter
and all the job was gone!!). Synplify allows you to insert the pinout
simly adding the lines:
attribute alspin : string;
attribute alspin of clk : signal is "123";
and everything is fine. What I cannot manage to do is to assign the
pinout value to a signal that is actually an array. If address (3 downto
0) would be instead of the previous clk, how do I assign the correct
value to each bit? I tried this:
attribute alspin of address (0): signal is "123";
attribute alspin of address (1): signal is "124";
attribute alspin of address (2): signal is "125";
attribute alspin of address (3): signal is "126";
and this
attribute alspin of address : signal is ("123", "124", "125", "126");
but without success!
Can anyone help me?
Thanks a lot
Alessandro Basili