Merge branch 'master' of https://github.com/chipsalliance/Cores-SweRV
This commit is contained in:
commit
2108e722c8
|
@ -91,7 +91,7 @@ This script documents, and generates the {`#} define/include files for verilog/a
|
||||||
|
|
||||||
User options:
|
User options:
|
||||||
|
|
||||||
-target = { default, magellan }
|
-target = { default, generic }
|
||||||
use default settings for one of the targets
|
use default settings for one of the targets
|
||||||
|
|
||||||
-set=var=value
|
-set=var=value
|
||||||
|
@ -246,8 +246,8 @@ my $perlfile = "$build_path/perl_configs.pl";
|
||||||
|
|
||||||
my $no_secondary_alu=0;
|
my $no_secondary_alu=0;
|
||||||
|
|
||||||
if ($target eq "magellan") {
|
if ($target eq "generic") {
|
||||||
print "$self: Using target \"magellan\"\n";
|
print "$self: Using target \"generic\"\n";
|
||||||
if (!defined($ret_stack_size)) { $ret_stack_size=4; }
|
if (!defined($ret_stack_size)) { $ret_stack_size=4; }
|
||||||
if (!defined($btb_size)) { $btb_size=32; }
|
if (!defined($btb_size)) { $btb_size=32; }
|
||||||
if (!defined($bht_size)) { $bht_size=128; }
|
if (!defined($bht_size)) { $bht_size=128; }
|
||||||
|
@ -297,7 +297,7 @@ elsif ($target eq "default") {
|
||||||
# default is AXI bus
|
# default is AXI bus
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
die "$self: ERROR! Unsupported target \"$target\". Supported targets are: \"default,magellan\"!\n";
|
die "$self: ERROR! Unsupported target \"$target\". Supported targets are: \"default,generic\"!\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
# general stuff - can't set from command line other than -set
|
# general stuff - can't set from command line other than -set
|
||||||
|
@ -1254,11 +1254,11 @@ for ($rgn = 15;$rgn >= 0; $rgn--) {
|
||||||
}
|
}
|
||||||
$config{memmap}{debug_sb_mem} = sprintf("0x%08x", $config{memmap}{debug_sb_mem});
|
$config{memmap}{debug_sb_mem} = sprintf("0x%08x", $config{memmap}{debug_sb_mem});
|
||||||
|
|
||||||
# Boot magellan from ICCM
|
# Boot generic from ICCM
|
||||||
if ($target eq "magellan") {
|
if ($target eq "generic") {
|
||||||
$config{reset_vec} = $config{iccm}{iccm_sadr};
|
$config{reset_vec} = $config{iccm}{iccm_sadr};
|
||||||
$config{testbench}{magellan} = 1;
|
$config{testbench}{generic} = 1;
|
||||||
print "$self: Setting reset_vec = ICCM start address for Magellan\n";
|
print "$self: Setting reset_vec = ICCM start address for Generic\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue