Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Hi everyone!
entity MyEntity is
port
(
(...)
);
end entity;
architecture rtl of MyEntity is
(...)
signal MySignal : std_logic;
attribute altera_attribute: string;
attribute altera_attribute of MySignal : signal is "-name SDC_STATEMENT set_multicycle_path -from {*SourceEntity:SourceEntity_Inst|*} -to {*TargetEntity:TargetEntity_Inst|*} -setup -end 2";
begin
(...)
end rtl; Sören --- Quote End --- This is what I got working. entity clbase is
generic(
...
);
port(
...
PowerDown_n : out std_logic
);
end entity;
architecture arch of clbase is
attribute altera_attribute : string;
attribute altera_attribute of arch : architecture is "-name SDC_STATEMENT ""set_false_path -to PowerDown_n""" ;
...
I don't have a multicycle_path handy, but I guess (almost sure) that tying the 'attribute' to the 'architecture' and the double quotes to embed the sdc command into the attribute string is what makes it work.