I have tried to put lots of inverters to stress test my Spartan 6 power supply as recommended here. Here is the basic module:
module inverter(
input wire clk
);
reg [7:0] inverted;
always @(posedge clk) begin
inverted <= ~inverted;
end
endmodule
I was told that because this module only has inputs, it will be optimised away, and indeed ISE is telling me:
WARNING:HDLCompiler:1499 - Empty module <inverter> remains a black box.
How can I prevent ISE from optimising away my inverters?