Commit a3cd32be authored by Stefan Tauner's avatar Stefan Tauner
Browse files

Hide warnings when we try to recalculate resources with illegal inputs

parent 06119c58
...@@ -867,6 +867,10 @@ sub _log2 { ...@@ -867,6 +867,10 @@ sub _log2 {
# @returns ($registers, $lutsum) # @returns ($registers, $lutsum)
sub _est_resources { sub _est_resources {
# We recalculate resources even if parameters are bogus. Disabling
# warnings at least hides this stupidity from the user.
no warnings 'numeric';
my $logger = get_logger(""); my $logger = get_logger("");
my ($FREQUENCY, $BAUD, $TIMER_WIDTH, $RST_CYCLES, $LFSR_WIDTH, $FIU_NUM) = @_; my ($FREQUENCY, $BAUD, $TIMER_WIDTH, $RST_CYCLES, $LFSR_WIDTH, $FIU_NUM) = @_;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment