- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 FilippoLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I assume you're referring to VHDL's buffer port mode? do you read the output in the file internally?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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;- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any other work around? i prefer to not affect the vhdl code.
thanks
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page