Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vecs
FIJI Public
Commits
24f78389
Commit
24f78389
authored
Dec 04, 2017
by
Stefan Tauner
Browse files
FIJISettingsCanvas: update LFSR vector only if LFSR_WIDTH seems (somewhat) legal
parent
471b7069
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/Tk/FIJISettingsCanvas.pm
View file @
24f78389
...
...
@@ -457,7 +457,7 @@ sub update {
# 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
for
my
$i
(
keys
(
%
{
$fiu_elements
}))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment