L
laserbeak43
Guest
Hello,
I have some source code that has some inputs and registers that
are made in seperate module files and tied together, and even thought
it synthesises, i get warnings about signals not being used and they
will be tied to ground or similar. here's an example:
//------------------------------------------------------------------------------------------------------------------------------------------
"Warning:Xst:647 - Input <rst> is never used. This port will be
preserved and left unconnected if it belongs to a top-level block or
it belongs to a sub-block and the hierarchy of this sub-block is
preserved."
//-----------------------------------------------------------------------------------------------------------------------------------------
This code that the input port is used with.
module LCDInit(input rst, input clki ... );
......
;;;;
always @(negedge rst)
begin
cnt <= 0;
init <= 1;
state <= 0;
end
endmodule
Another fromt he same
Module----------------------------------------------------------------------------------------------
WARNING:Xst:647 - Input <clki> is never used. This port will be
preserved and left unconnected if it belongs to a top-level block or
it belongs to a sub-block and the hierarchy of this sub-block is
preserved.
//-----------------------------------------------------------------------------------------------------------------------------------------
always @(posedge clki)
begin
if(init)
begin
.......
//---------------------------------------------------------------------------------------------------------------------------------
and all of these modules have instances in a top-level module and the
ins and outs are directly stimulated(if i've set up the module
instances correctly):
//----------------------------------------------------------------------------------------------------------------------------------
module LCD(input reset, //start power on initialization
input clk, //default 50MHz clock
.........
......
LCDInit init(.clki(clk), .rst(reset), ...);
//--------------------------------------------------------------------------------------------------------------------------------------
So this has me thinking that i might have some bugs in my copy of ISE?
I'm using 11.1 and can't seem to update using the updater or manual
download cause it always crashes, so i don't know if this is the
problem. I've also uploaded the code
:
http://laserbeak43.webs.com/Verilog/LCD.zip
if you could help, I'd really appreciate it.
Thanks,
Malik
I have some source code that has some inputs and registers that
are made in seperate module files and tied together, and even thought
it synthesises, i get warnings about signals not being used and they
will be tied to ground or similar. here's an example:
//------------------------------------------------------------------------------------------------------------------------------------------
"Warning:Xst:647 - Input <rst> is never used. This port will be
preserved and left unconnected if it belongs to a top-level block or
it belongs to a sub-block and the hierarchy of this sub-block is
preserved."
//-----------------------------------------------------------------------------------------------------------------------------------------
This code that the input port is used with.
module LCDInit(input rst, input clki ... );
......
;;;;
always @(negedge rst)
begin
cnt <= 0;
init <= 1;
state <= 0;
end
endmodule
Another fromt he same
Module----------------------------------------------------------------------------------------------
WARNING:Xst:647 - Input <clki> is never used. This port will be
preserved and left unconnected if it belongs to a top-level block or
it belongs to a sub-block and the hierarchy of this sub-block is
preserved.
//-----------------------------------------------------------------------------------------------------------------------------------------
always @(posedge clki)
begin
if(init)
begin
.......
//---------------------------------------------------------------------------------------------------------------------------------
and all of these modules have instances in a top-level module and the
ins and outs are directly stimulated(if i've set up the module
instances correctly):
//----------------------------------------------------------------------------------------------------------------------------------
module LCD(input reset, //start power on initialization
input clk, //default 50MHz clock
.........
......
LCDInit init(.clki(clk), .rst(reset), ...);
//--------------------------------------------------------------------------------------------------------------------------------------
So this has me thinking that i might have some bugs in my copy of ISE?
I'm using 11.1 and can't seem to update using the updater or manual
download cause it always crashes, so i don't know if this is the
problem. I've also uploaded the code
:
http://laserbeak43.webs.com/Verilog/LCD.zip
if you could help, I'd really appreciate it.
Thanks,
Malik