Skip to content
GitLab
Menu
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
73c79d5a
Commit
73c79d5a
authored
Jun 06, 2017
by
Stefan Tauner
Browse files
fiji_ee: use FIU names in manual mode
Related to vecs/fiji#60
parent
00b9a4a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/FIJI/Downloader.pm
View file @
73c79d5a
...
...
@@ -345,15 +345,18 @@ sub _get_test_from_stdin {
my
(
$self
)
=
@_
;
my
$fiji_design_consts
=
$self
->
{'
fiji_settings
'}
->
{'
design
'};
my
$fius
=
$self
->
{'
fiji_settings
'}
->
{'
fius
'};
my
$test
=
{};
my
$cfg_mask
=
2
**$fiji_design_consts
->
{'
FIU_CFG_BITS
'}
-
1
;
my
$default_cfg
=
$cfg_mask
;
for
(
my
$i
=
0
;
$i
<
$fiji_design_consts
->
{'
FIU_NUM
'}
;
$i
++
)
{
my
$fiu_name
=
@
{
$fius
}[
$i
]
->
{'
FIU_NAME
'};
my
$fiu_name_str
=
(
defined
(
$fiu_name
)
and
length
(
$fiu_name
)
>
0
)
?
"
(
\"
$fiu_name
\"
)
"
:
"";
for
(
my
$t
=
1
;
$t
<=
$fiji_design_consts
->
{'
CFGS_PER_MSG
'}
;
$t
++
)
{
my
$phase
=
(
$t
<
$fiji_design_consts
->
{'
CFGS_PER_MSG
'})
?
"
in t
"
.
(
$t
+
1
)
:
"
after t
$t
";
printf
("
Enter configuration for FIU #%d %s (default: 0x%x):
",
$i
,
$phase
,
$default_cfg
);
printf
("
Enter configuration for FIU #%d %s
%s
(default: 0x%x):
",
$i
,
$fiu_name_str
,
$phase
,
$default_cfg
);
my
$cfg_str
=
<
STDIN
>
;
goto
PREMATURE_EOF
unless
defined
$cfg_str
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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