Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17255 Discussions

Q14 Web edition replace top level out port with buffer

Altera_Forum
Honored Contributor II
1,587 Views

Hi 

 

I've done a top layer entity with (of course) some out port. I also made a testbench in order to verify the design. The problem is that Quartus sometimes generate a post-fitting simulation same as the entity I declare but with a buffer port instead the out port. In this way I can't run the post-fitting simulation. I have to recreate the project, that is quite annoying. Any work around? 

 

Thanks in advice 

 

Filippo
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
911 Views

I assume you're referring to VHDL's buffer port mode? do you read the output in the file internally?

0 Kudos
Altera_Forum
Honored Contributor II
911 Views

Yes, most of them, but using an internal signal and not in the top level.. something like 

 

entity x is 

port( 

... 

... 

... 

output : out std_logic 

); 

 

architecture b of x is 

 

signal output_signal : std_logic; 

 

begin 

 

-- some logic that read also output_signal 

 

output <= output_signal; 

 

end b;
0 Kudos
Altera_Forum
Honored Contributor II
911 Views

I can only guess that the synth optimisations have removed your internal signal, and so then reading the output port is required - meaning it needs to be a buffer rather than output (in 1993 at least - this restriction is removed in 2008). 

 

try using a syn_keep attribute on the output_signal
0 Kudos
Altera_Forum
Honored Contributor II
911 Views

Any other work around? i prefer to not affect the vhdl code. 

 

thanks
0 Kudos
Reply