Commit 126fc36f authored by Stefan Tauner's avatar Stefan Tauner
Browse files

fiji_scripts: fix indentation in FIJI.pm

parent cd5fe234
......@@ -21,52 +21,52 @@ use warnings;
# default = (optional) default value if not given in file and not determinable otherwise
my %designmap;
BEGIN {
%designmap = (
ID => {
ini_name => "ID",
type => 'numeric',
not_supplied => 1,
},
FIU_NUM => {
ini_name => "FIU_NUM",
type => 'numeric',
not_supplied => 1, # auto-generated
},
BAUDRATE => {
ini_name => "BAUDRATE",
default => 115200,
type => 'numeric',
unit => 'bps',
},
FREQUENCY => {
ini_name => "FREQUENCY",
default => 50e8,
type => 'numeric',
unit => 'Hz',
},
FIU_CFG_BITS => {
ini_name => "FIU_CFG_BITS",
default => 3,
type => 'numeric',
not_supplied => 1, # currently not user-configurable
},
TIMER_WIDTH => {
ini_name => "TIMER_WIDTH",
default => 32,
type => 'numeric',
unit => 'bits',
},
ARM_DURATION_WIDTH => {
ini_name => "ARM_DUR_WIDTH",
type => 'numeric',
not_supplied => 1, # derived from TIMER_WIDTH if need be
},
INJECT_DURATION_WIDTH => {
ini_name => "INJECT_DUR_WIDTH",
type => 'numeric',
not_supplied => 1, # derived from TIMER_WIDTH if need be
},
);
%designmap = (
ID => {
ini_name => "ID",
type => 'numeric',
not_supplied => 1,
},
FIU_NUM => {
ini_name => "FIU_NUM",
type => 'numeric',
not_supplied => 1, # auto-generated
},
BAUDRATE => {
ini_name => "BAUDRATE",
default => 115200,
type => 'numeric',
unit => 'bps',
},
FREQUENCY => {
ini_name => "FREQUENCY",
default => 50e8,
type => 'numeric',
unit => 'Hz',
},
FIU_CFG_BITS => {
ini_name => "FIU_CFG_BITS",
default => 3,
type => 'numeric',
not_supplied => 1, # currently not user-configurable
},
TIMER_WIDTH => {
ini_name => "TIMER_WIDTH",
default => 32,
type => 'numeric',
unit => 'bits',
},
ARM_DURATION_WIDTH => {
ini_name => "ARM_DUR_WIDTH",
type => 'numeric',
not_supplied => 1, # derived from TIMER_WIDTH if need be
},
INJECT_DURATION_WIDTH => {
ini_name => "INJECT_DUR_WIDTH",
type => 'numeric',
not_supplied => 1, # derived from TIMER_WIDTH if need be
},
);
}
use constant \%designmap;
......@@ -74,31 +74,31 @@ use constant DESIGNMAP => \%designmap;
my %fiumap;
BEGIN {
%fiumap = (
FIU_NET_NAME => {
ini_name => "NET_NAME",
},
FIU_MODEL => {
ini_name => "FAULT_MODEL",
default => "RUNTIME",
values => [qw(RUNTIME PASS_THRU STUCK_AT_0 STUCK_AT_1 STUCK_OPEN DELAY SEU)],
},
FIU_LFSR_EN => {
ini_name => "ENABLED_BY_LFSR",
default => 0,
type => 'boolean',
},
FIU_LFSR_MASK => {
ini_name => "LFSR_MASK",
default => 0,
type => 'numeric',
},
FIU_LFSR_STUCK_OPEN_BIT => {
ini_name => "LFSR_BIT_FOR_STUCK_OPEN",
default => 0,
type => 'numeric',
},
);
%fiumap = (
FIU_NET_NAME => {
ini_name => "NET_NAME",
},
FIU_MODEL => {
ini_name => "FAULT_MODEL",
default => "RUNTIME",
values => [qw(RUNTIME PASS_THRU STUCK_AT_0 STUCK_AT_1 STUCK_OPEN DELAY SEU)],
},
FIU_LFSR_EN => {
ini_name => "ENABLED_BY_LFSR",
default => 0,
type => 'boolean',
},
FIU_LFSR_MASK => {
ini_name => "LFSR_MASK",
default => 0,
type => 'numeric',
},
FIU_LFSR_STUCK_OPEN_BIT => {
ini_name => "LFSR_BIT_FOR_STUCK_OPEN",
default => 0,
type => 'numeric',
},
);
}
use constant \%fiumap;
......
Supports Markdown
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