aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-06-07 08:05:19 -0700
committerClifford Wolf <clifford@clifford.at>2017-06-13 13:22:25 +0200
commitc9de8001fe8ca4d4af260b3aef378805759e3583 (patch)
treeb02ba13dd1e79082ad048e6591136df3d4220ff0 /scripts
parent45b80f985a6c8765b014c907fb1e59fa1b4d63f4 (diff)
downloadpicorv32-c9de8001fe8ca4d4af260b3aef378805759e3583.tar.gz
picorv32-c9de8001fe8ca4d4af260b3aef378805759e3583.zip
Remove some trailing whitespace
Diffstat (limited to 'scripts')
-rw-r--r--scripts/csmith/syscalls.c2
-rw-r--r--scripts/cxxdemo/syscalls.c2
-rw-r--r--scripts/quartus/tabtest.sh4
-rw-r--r--scripts/smtbmc/opcode.v2
-rw-r--r--scripts/tomthumbtg/run.sh2
-rw-r--r--scripts/yosys-cmp/lse.sh2
6 files changed, 7 insertions, 7 deletions
diff --git a/scripts/csmith/syscalls.c b/scripts/csmith/syscalls.c
index cdf872f..b23f605 100644
--- a/scripts/csmith/syscalls.c
+++ b/scripts/csmith/syscalls.c
@@ -62,7 +62,7 @@ ssize_t write(int file, const void *ptr, size_t len)
return len;
}
-int close(int file)
+int close(int file)
{
// close is called before _exit()
return 0;
diff --git a/scripts/cxxdemo/syscalls.c b/scripts/cxxdemo/syscalls.c
index cdf872f..b23f605 100644
--- a/scripts/cxxdemo/syscalls.c
+++ b/scripts/cxxdemo/syscalls.c
@@ -62,7 +62,7 @@ ssize_t write(int file, const void *ptr, size_t len)
return len;
}
-int close(int file)
+int close(int file)
{
// close is called before _exit()
return 0;
diff --git a/scripts/quartus/tabtest.sh b/scripts/quartus/tabtest.sh
index d731f76..2fd1b40 100644
--- a/scripts/quartus/tabtest.sh
+++ b/scripts/quartus/tabtest.sh
@@ -37,7 +37,7 @@ set_global_assignment -name SDC_FILE test_${1}.sdc
EOT
echo "Running tab_${ip}_${dev}_${grade}/test_${1}.."
-
+
if ! $QUARTUS_BIN/quartus_map test_${1}; then
exit 1
fi
@@ -47,7 +47,7 @@ set_global_assignment -name SDC_FILE test_${1}.sdc
if ! $QUARTUS_BIN/quartus_sta test_${1} -c test_${1}; then
exit 1
fi
-
+
cp output_files/test_${1}.sta.summary test_${1}.txt
}
diff --git a/scripts/smtbmc/opcode.v b/scripts/smtbmc/opcode.v
index 4c3792d..7a13bd2 100644
--- a/scripts/smtbmc/opcode.v
+++ b/scripts/smtbmc/opcode.v
@@ -86,7 +86,7 @@ function opcode_sys;
if (opcode[31:20] == 12'hC81 && opcode[19:12] == 3'b010 && opcode[6:0] == 7'b1110011) opcode_sys = 1; // RDTIMEH
if (opcode[31:20] == 12'hC82 && opcode[19:12] == 3'b010 && opcode[6:0] == 7'b1110011) opcode_sys = 1; // RDINSTRETH
end
-
+
endfunction
function opcode_valid;
diff --git a/scripts/tomthumbtg/run.sh b/scripts/tomthumbtg/run.sh
index dcce6bd..63a6935 100644
--- a/scripts/tomthumbtg/run.sh
+++ b/scripts/tomthumbtg/run.sh
@@ -9,7 +9,7 @@ if [ ! -f testgen.tgz ]; then
fi
rm -rf tests testgen/
-tar xvzf testgen.tgz
+tar xvzf testgen.tgz
iverilog -o testbench_a -s testbench testbench.v ../../picorv32.v -DTWO_STAGE_SHIFT=0 -DBARREL_SHIFTER=0 -DTWO_CYCLE_COMPARE=0 -DTWO_CYCLE_ALU=0
iverilog -o testbench_b -s testbench testbench.v ../../picorv32.v -DTWO_STAGE_SHIFT=1 -DBARREL_SHIFTER=0 -DTWO_CYCLE_COMPARE=0 -DTWO_CYCLE_ALU=0
diff --git a/scripts/yosys-cmp/lse.sh b/scripts/yosys-cmp/lse.sh
index cfbb04c..a802c67 100644
--- a/scripts/yosys-cmp/lse.sh
+++ b/scripts/yosys-cmp/lse.sh
@@ -29,7 +29,7 @@ cat > lse.prj << EOT
-fsm_encoding_style Auto
-use_io_insertion 1
-use_io_reg auto
--ifd
+-ifd
-resolve_mixed_drivers 0
-RWCheckOnRam 0
-fix_gated_clocks 1