Merge pull request #177 from riscv/debug_auth
[riscv-isa-sim.git] / riscv / gen_icache
index c581b55f26d3c1523de7d76ea6b977412b20c0e8..7ec3c694344b3ff6d19fff5eadeb843ed4afda46 100755 (executable)
@@ -1,9 +1,7 @@
 #!/bin/sh
-echo \#define ICACHE_SIZE $1
 n=$(($1-1))
-echo \#define ICACHE_SWITCH \\
 for i in `seq 0 $n`
 do
-  echo case $i: ICACHE_ACCESS\($i\)\; \\
+  echo case $i: ICACHE_ACCESS\($i\)\;
 done
 echo