2022-12-28 15:32:35 +00:00
|
|
|
#!/bin/bash
|
2023-02-04 12:29:27 +00:00
|
|
|
# Alessandro Maiuolo 2022
|
|
|
|
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
|
2022-12-28 15:32:35 +00:00
|
|
|
|
|
|
|
configFile=config/shared/wally-shared.vh
|
|
|
|
|
|
|
|
searchRadix="define RADIX 32'"..
|
|
|
|
searchCopies="define DIVCOPIES 32'"..
|
|
|
|
|
|
|
|
currRadix="define RADIX 32'h2"
|
|
|
|
currCopies="define DIVCOPIES 32'h1"
|
|
|
|
sed -i "s/$searchRadix/$currRadix/" $configFile
|
|
|
|
sed -i "s/$searchCopies/$currCopies/" $configFile
|
|
|
|
echo regression on Radix :$currRadix: and Copies :$currCopies:
|
2023-02-03 16:36:03 +00:00
|
|
|
./sim/regression-wally
|
2022-12-28 15:32:35 +00:00
|
|
|
|
|
|
|
currRadix="define RADIX 32'h2"
|
|
|
|
currCopies="define DIVCOPIES 32'h2"
|
|
|
|
sed -i "s/$searchRadix/$currRadix/" $configFile
|
|
|
|
sed -i "s/$searchCopies/$currCopies/" $configFile
|
|
|
|
echo regression on Radix :$currRadix: and Copies :$currCopies:
|
2023-02-03 16:36:03 +00:00
|
|
|
./sim/regression-wally
|
2022-12-28 15:32:35 +00:00
|
|
|
|
|
|
|
currRadix="define RADIX 32'h2"
|
|
|
|
currCopies="define DIVCOPIES 32'h4"
|
|
|
|
sed -i "s/$searchRadix/$currRadix/" $configFile
|
|
|
|
sed -i "s/$searchCopies/$currCopies/" $configFile
|
|
|
|
echo regression on Radix :$currRadix: and Copies :$currCopies:
|
2023-02-03 16:36:03 +00:00
|
|
|
./sim/regression-wally
|
2022-12-28 15:32:35 +00:00
|
|
|
|
|
|
|
currRadix="define RADIX 32'h4"
|
|
|
|
currCopies="define DIVCOPIES 32'h1"
|
|
|
|
sed -i "s/$searchRadix/$currRadix/" $configFile
|
|
|
|
sed -i "s/$searchCopies/$currCopies/" $configFile
|
|
|
|
echo regression on Radix :$currRadix: and Copies :$currCopies:
|
2023-02-03 16:36:03 +00:00
|
|
|
./sim/regression-wally
|
2022-12-28 15:32:35 +00:00
|
|
|
|
|
|
|
currRadix="define RADIX 32'h4"
|
|
|
|
currCopies="define DIVCOPIES 32'h2"
|
|
|
|
sed -i "s/$searchRadix/$currRadix/" $configFile
|
|
|
|
sed -i "s/$searchCopies/$currCopies/" $configFile
|
|
|
|
echo regression on Radix :$currRadix: and Copies :$currCopies:
|
2023-02-03 16:36:03 +00:00
|
|
|
./sim/regression-wally
|
2022-12-28 15:32:35 +00:00
|
|
|
|
|
|
|
currRadix="define RADIX 32'h4"
|
|
|
|
currCopies="define DIVCOPIES 32'h4"
|
|
|
|
sed -i "s/$searchRadix/$currRadix/" $configFile
|
|
|
|
sed -i "s/$searchCopies/$currCopies/" $configFile
|
|
|
|
echo regression on Radix :$currRadix: and Copies :$currCopies:
|
2023-02-03 16:36:03 +00:00
|
|
|
./sim/regression-wally
|