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.
15311 Discussions

Warning: Design contains 1 input pin(s) that do not drive logic

Hphd
Beginner
346 Views

Hi guys, 

I am designing a PUF . I am getting these warnings. IN technology map viewer one of the input Chal[0] is not getting connected, even though it shows a connection in rtl. I have attached a snippet of my code too. Any help will be really appreciated. Its urgent,please


module arbiter_puf
(
input clk,
input trig_signal,
input [15:0] Chal,
//output respbit,
output outQ
);
reg trig_reg ;

reg [15:0]Chal1=1'b1 ;

always @ (posedge clk)
begin
if (trig_signal)
begin
Chal1 <= Chal ;
trig_reg <= 1'b1;

end
else
begin
trig_reg <= 1'b0;
end
end

arb a1 (trig_reg,trig_reg,Chal1,outQ);

endmodule

Warning: Design contains 1 input pin(s) that do not drive logic
Warning (15610): No output dependent on input pin "Chal[0]"

 

Hphd_0-1612636719312.png

Technology map viewer, which shows  Chal[0] is unconnected.

Hphd_1-1612636791574.png

Rtl viewer

 

 

 

 

0 Kudos
1 Solution
sstrell
Honored Contributor III
313 Views

Without seeing the code of arb, this is difficult to follow.  But perhaps your instantiation is incorrect.  You're using positional port mapping, which makes it very easy to make a mistake in the connections, and you have trig_reg repeated.

You should instantiate like:

 

arb a1 (.<signal in module>(trig_reg), ...);

 

View solution in original post

3 Replies
sstrell
Honored Contributor III
335 Views

Without testing this myself, you're initializing a 16-bit register with a 1 bit value.  Perhaps you meant to say:

 

reg [15:0] Chal1=16'hffff;

 

or initialize it in the always block:

 

always @ (posedge clk)
begin
Chal1 <= 16'hffff;
if (trig_signal)
.
.
.

 

 

Hphd
Beginner
325 Views

Thank you sstrell,

Even this is not making any difference in technology map viewer. Its shows the same warning.

 Actually, my logic goes in this way,

1.As posedge of  clock pulse, once trig_signal is enabled , i need to make arb module to function .

2. The first loop will have the input as trig_reg and Chal(o). [ Note: I used Chal1 just to verify whether the technology map viewer considers Chal[0] inside the loop]

3. The output of the first loop will be given to sec ond loop along with Chal[1].

The problem which I am facing is LOOP (0) is not getting the Chal(0) signal inside the block so the whole loop will not functiom.Actually , this code is a part of my module.

So, now I need to connect my Chal(0) inside my block. Thank you in advance.

 

sstrell
Honored Contributor III
314 Views

Without seeing the code of arb, this is difficult to follow.  But perhaps your instantiation is incorrect.  You're using positional port mapping, which makes it very easy to make a mistake in the connections, and you have trig_reg repeated.

You should instantiate like:

 

arb a1 (.<signal in module>(trig_reg), ...);

 

Reply