Commit 21288465 authored by Christian Fibich's avatar Christian Fibich Committed by Stefan Tauner
Browse files

minor fixes

parent 0aa46e6c
......@@ -57,69 +57,69 @@ use constant OPTIMIZATION_SETTINGS => \@optimization_settings;
# Our LFSR uses bit numbers are mirrored compared to the document above.
#
use constant LFSR_POLY_CHOICES => {
2 => ["0x3"],
3 => ["0x3"],
4 => ["0x3"],
5 => ["0x5", "0xF"],
6 => ["0x3", "0x1B"],
7 => ["0x3", "0xF"],
8 => ["0x1D"],
9 => ["0x11", "0x1B"],
10 => ["0x9", "0x1B"],
11 => ["0x5", "0x17"],
12 => ["0x53"],
13 => ["0x1B"],
14 => ["0x2B"],
15 => ["0x3", "0x17"],
16 => ["0x2D"],
17 => ["0x9", "0xF"],
18 => ["0x81", "0x27"],
19 => ["0x27"],
20 => ["0x9", "0x53"],
21 => ["0x5", "0x27"],
22 => ["0x3", "0x39"],
23 => ["0x21", "0x2B"],
24 => ["0x1B"],
25 => ["0x9", "0xF"],
26 => ["0x47"],
27 => ["0x27"],
28 => ["0x9", "0x53"],
29 => ["0x5", "0x17"],
30 => ["0x53"],
31 => ["0x9", "0xF"],
32 => ["0xC5"],
33 => ["0x2001", "0x53"],
34 => ["0x119"],
35 => ["0x5", "0x183"],
36 => ["0x801", "0x183"],
37 => ["0x53"],
38 => ["0x63"],
39 => ["0x11", "0x93"],
40 => ["0x39"],
41 => ["0x9", "0xF"],
42 => ["0xA5"],
43 => ["0x63"],
44 => ["0x65"],
45 => ["0x1B"],
46 => ["0x1C1"],
47 => ["0x21", "0x33"],
48 => ["0x291"],
49 => ["0x201", "0x71"],
50 => ["0x1D"],
51 => ["0x4B"],
52 => ["0x9", "0x4B"],
53 => ["0x47"],
54 => ["0x149"],
55 => ["0x1000001", "0x47"],
56 => ["0x95"],
57 => ["0x81", "0x2D"],
58 => ["0x80001", "0x63"],
59 => ["0x95"],
60 => ["0x3", "0x35"],
61 => ["0x27"],
62 => ["0x69"],
63 => ["0x3", "0x33"],
64 => ["0x1B"],
2 => ['0x3'],
3 => ['0x3'],
4 => ['0x3'],
5 => ['0x5', '0xF'],
6 => ['0x3', '0x1B'],
7 => ['0x3', '0xF'],
8 => ['0x1D'],
9 => ['0x11', '0x1B'],
10 => ['0x9', '0x1B'],
11 => ['0x5', '0x17'],
12 => ['0x53'],
13 => ['0x1B'],
14 => ['0x2B'],
15 => ['0x3', '0x17'],
16 => ['0x2D'],
17 => ['0x9', '0xF'],
18 => ['0x81', '0x27'],
19 => ['0x27'],
20 => ['0x9', '0x53'],
21 => ['0x5', '0x27'],
22 => ['0x3', '0x39'],
23 => ['0x21', '0x2B'],
24 => ['0x1B'],
25 => ['0x9', '0xF'],
26 => ['0x47'],
27 => ['0x27'],
28 => ['0x9', '0x53'],
29 => ['0x5', '0x17'],
30 => ['0x53'],
31 => ['0x9', '0xF'],
32 => ['0xC5'],
33 => ['0x2001', '0x53'],
34 => ['0x119'],
35 => ['0x5', '0x183'],
36 => ['0x801', '0x183'],
37 => ['0x53'],
38 => ['0x63'],
39 => ['0x11', '0x93'],
40 => ['0x39'],
41 => ['0x9', '0xF'],
42 => ['0xA5'],
43 => ['0x63'],
44 => ['0x65'],
45 => ['0x1B'],
46 => ['0x1C1'],
47 => ['0x21', '0x33'],
48 => ['0x291'],
49 => ['0x201', '0x71'],
50 => ['0x1D'],
51 => ['0x4B'],
52 => ['0x9', '0x4B'],
53 => ['0x47'],
54 => ['0x149'],
55 => ['0x1000001', '0x47'],
56 => ['0x95'],
57 => ['0x81', '0x2D'],
58 => ['0x80001', '0x63'],
59 => ['0x95'],
60 => ['0x3', '0x35'],
61 => ['0x27'],
62 => ['0x69'],
63 => ['0x3', '0x33'],
64 => ['0x1B'],
};
#** @var public %designmap Hash containing all FIJI::Settings
......
......@@ -389,7 +389,6 @@ sub validate_value {
# }
if ($map_ref->{$k}->{'type'} eq 'net') {
# @TODO: check syntax? there is nothing more to do in here unless we supply allowed nets...
# which is actually possible because the input netlist is stored in the settings as well
} elsif ($map_ref->{$k}->{'type'} eq 'hexadecimal' || $map_ref->{$k}->{'type'} eq 'lfsrpoly') {
......
......@@ -38,7 +38,7 @@ use Tk::FIJIModalDialog;
use constant RESOURCES_REGS_LOWER => 0.1;
use constant RESOURCES_LUTS_LOWER => 0.1;
use constant RESOURCES_TEXT => "Resource factors are relative to the FIJI default configuration.\n" . "The default configuration can be obtained by starting FIJI Setup is without a .cfg file";
use constant RESOURCES_TEXT => "Resource factors are relative to the FIJI default configuration.\n" . "The default configuration can be obtained by starting FIJI Setup without a .cfg file";
# Test::Deep::NoTest exports Test::Deep which exports
# an undocumented blessed() which clashes with Scalar::Util's blessed().
......@@ -303,7 +303,7 @@ sub update {
} elsif ($type eq 'net') {
$autocomplete_choices = $net_choices;
} elsif ($type eq 'lfsrpoly') {
$orig_ref = $val;
$orig_ref = \$val;
}
}
......
......@@ -3,7 +3,7 @@
* 1. use e.g. socat -d -d pty,raw,echo=0 pty,raw,echo=0 to emulate a pair
* of terminals
* 2. let fiji_download.pl or fiji_download_gui.pl run on the one terminal
* 3. start dummy -f /path/to/other/term
* 3. start dummy -d /path/to/other/term
*
* optionally, set a clock period using -c <period in us>
*
......
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