Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15336 Discussions

Quartus show only dumber's incomplete view

Altera_Forum
Honored Contributor II
1,101 Views

Hi, 

 

It feels like being treated as a dumb by Quartus. For example, we have a very simple add one counter, 

 

 

`timescale 1ns / 1ns 

module test_grammar (count, clk, reset); 

output [1:0] count; 

input clk, reset; 

 

reg [1:0] count; 

 

initial 

begin 

count=0; 

end 

 

always @ (negedge clk or posedge reset) 

 

count<=count+1; 

 

endmodule 

 

 

 

 

And the clk and reset edges drives the FLIP-FLOPS. In Cadence encounter, we get a full down to flip-flop view; but here as in attached image, clk/reset is not shown connected to anything, and it always use thick bus lines to hide group of signals without allowing you to expand it. To show how arrogant Quartus is I put both RTL and tech mapping view screenshot here. 

 

https://alteraforum.com/forum/attachment.php?attachmentid=15064&stc=1  

Could you advise me how to 

 

  1. Show full connection, i.e., give me clk and reset’s connection to registers. 

  2. To break those obscuring thick buses, give each single wire connection 

  3. The primitive shown in the tech-map view, is akin to the final LUT in CPLD, which is understandable since it eases further fitting. Does Quartus allow changing the primitive to most-basic FLIP-FLOPS? 

 

 

 

greg
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
94 Views

You code does not describe a register, hence why there are no registers in the RTL views, just inferred latches. You have it as if using both reset and clock as clocks. You need to change the code to: 

 

module test_grammar (count, clk, reset); output count; input clk, reset; reg count; initial begin count=0; end always @ (negedge clk or posedge reset) begin if reset begin count <= 0; end else begin count<=count+1; end end endmodule
Altera_Forum
Honored Contributor II
94 Views

The problem would be clear if you don't ignore the synthesis warnings given by Quartus: 

 

--- Quote Start ---  

Critical Warning (10237): Verilog HDL warning at test_grammar.v(14): can't infer register for assignment in edge-triggered always construct because the clock isn't obvious. Generated combinational logic instead 

--- Quote End ---  

Altera_Forum
Honored Contributor II
94 Views

Thansk. 

Is there a way to have Quartus always expand the thick bus lines to thin individual lines, like by default showing "connectivity details"?
Altera_Forum
Honored Contributor II
94 Views

What exactly do you want to see? It always shows the bus names.

Altera_Forum
Honored Contributor II
94 Views

In most CAD tools, say Cadence, they allow representing multiple related wires bus, which is convenient; but they also allow showing individual wires without bus, and it is a matter of choice in drawing the design. For Quartus, I would like to know if there is setting/preference or command line option to make it by default disable individual wires instead of thick bus.

Altera_Forum
Honored Contributor II
94 Views

 

--- Quote Start ---  

In most CAD tools, say Cadence, they allow representing multiple related wires bus, which is convenient; but they also allow showing individual wires without bus, and it is a matter of choice in drawing the design. For Quartus, I would like to know if there is setting/preference or command line option to make it by default disable individual wires instead of thick bus. 

--- Quote End ---  

 

 

 

The Netlist viewers are not CAD tools - you cannot change the design on these viewers.  

Why not explain why you want to see these things, and maybe we can help/explain a better way to do it?
Altera_Forum
Honored Contributor II
94 Views

i see, thanks.

Reply