Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

(LINT-1) Warning: In design 'counter11', cell 'C58' does not drive any nets.

Status
Not open for further replies.

windy7286

Newbie level 3
Joined
Apr 13, 2012
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,322
when i use DC, i found there was a warning in the below module.



Code Verilog - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
module counter11 ( output logic [3:0] count,
                   input logic nreset, nready, clk);
                   
always_ff @ ( posedge clk, negedge nreset)
    if (~nreset)
      count <= 0;
     else
       if (count < 11 && ~nready)
       count <= count + 1;
       else 
    if (~nready)
          count <= 0;
endmodule



dc_shell> check_design
Warning: In design 'counter11', cell 'C58' does not drive any nets. (LINT-1)
1
I cannot find the mistake in the module.
Who can get me a hand?
many thanks
 
Last edited by a moderator:

Try to change the 'if' condition as follows and see if it removes it.

Code:
if(!nreset)
[INDENT]count <= 0; [/INDENT]
else if ((nready) || (count == 10))
[INDENT]count <= 0;[/INDENT]
else 
[INDENT]count <= count + 1;[/INDENT]
 
I have changed systemverilog file as you written. But the warrning still exit. info as below.

dc_shell> read_file -format sverilog ./clockgating/counter11.sv
Loading db file '/home/esdcad/designkits/st/st12/v92/CORE9GPLL_SNPS_AVT_4.1/SNPS/bc_1.32V_0C_wc_1.08V_105C/PHS/CORE9GPLL_Worst.db'
Loading db file '/home/esdcad/designkits/st/st12/v92/CORE9GPLL_SNPS_AVT_4.1/SNPS/bc_1.32V_0C_wc_1.08V_105C/PHS/CORE9GPLL_Best.db'
Loading db file '/home/esdcad/software/synopsys/linux/galaxy_C-2009.06-SP4/libraries/syn/gtech.db'
Loading db file '/home/esdcad/software/synopsys/linux/galaxy_C-2009.06-SP4/libraries/syn/standard.sldb'
Loading link library 'CORE9GPLL'
Loading link library 'CORE9GPLL'
Loading link library 'gtech'
Loading sverilog file '/home/username/clockgating/counter11.sv'
Detecting input file type automatically (-rtl or -netlist).
Reading with Presto HDL Compiler (equivalent to -rtl option).
Running PRESTO HDLC
Compiling source file /home/pf1e11/clockgating/counter11.sv

Inferred memory devices in process
in routine counter11 line 5 in file
'/home/pf1e11/clockgating/counter11.sv'.
===============================================================================
| Register Name | Type | Width | Bus | MB | AR | AS | SR | SS | ST |
===============================================================================
| count_reg | Flip-flop | 4 | Y | N | Y | N | N | N | N |
===============================================================================
Presto compilation completed successfully.
Current design is now '/home/pf1e11/clockgating/counter11.db:counter11'
Loaded 1 design.
Current design is 'counter11'.
counter11
dc_shell> check_design
Warning: In design 'counter11', cell 'C44' does not drive any nets. (LINT-1)
1


the warrning still exits. but cell name changes.
 

Look at your gate level netlist and see if you can track what signals are driving instance 'C44'.

Usually, in counter, if count value is small(say 7 for 4 bits) , then MSB is not toggling and you may get those kinds of warning. But it is not so in your case.
 

Thanks your reply.
I still have a question. Could U tell me how to get gate level netlist and track signals?
I am a freshman.

many thanks.
 

I use Cadence RTL compiler(RC) and not so familiar with DC, but there must be a similar command like 'write_netlist' after you synthesize to output the netlist. In RC, we can view netlist schematic and there is a search for instance option, so it is really easy to track signals.
 
Something in your code makes DC think that it needs a buffer at the end. Change your code.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top