Commit 24f78389 authored by Stefan Tauner's avatar Stefan Tauner
Browse files

FIJISettingsCanvas: update LFSR vector only if LFSR_WIDTH seems (somewhat) legal

parent 471b7069
...@@ -457,7 +457,7 @@ sub update { ...@@ -457,7 +457,7 @@ sub update {
# FIUS # FIUS
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
$self->itemconfigure($fiu_elements->{'0'}->{'lfsrtxt'}, -text => "LFSR [" . ($design_ref->{'LFSR_WIDTH'} - 1) . ":0]"); $self->itemconfigure($fiu_elements->{'0'}->{'lfsrtxt'}, -text => "LFSR [" . ($design_ref->{'LFSR_WIDTH'} - 1) . ":0]") if ($design_ref->{'LFSR_WIDTH'} =~ /^[1-9][0-9]*$/);
# Make all FIU-related elements invisible # Make all FIU-related elements invisible
for my $i (keys(%{$fiu_elements})) { for my $i (keys(%{$fiu_elements})) {
......
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