aboutsummaryrefslogtreecommitdiffstats
path: root/tests/or1200
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-05-17 15:32:30 +0200
committerClifford Wolf <clifford@clifford.at>2013-05-17 15:32:30 +0200
commitfbadb54b9bf4f5c1920bc35381d40ef988ea1f76 (patch)
tree9344d72fe2050f103420599e19fa15d47b234278 /tests/or1200
parent3ecc31423811c87e3511c62db4f86760e4a634b0 (diff)
downloadyosys-fbadb54b9bf4f5c1920bc35381d40ef988ea1f76.tar.gz
yosys-fbadb54b9bf4f5c1920bc35381d40ef988ea1f76.tar.bz2
yosys-fbadb54b9bf4f5c1920bc35381d40ef988ea1f76.zip
Removed test cases that have been moved to yosys-test.
https://github.com/cliffordwolf/yosys-tests/
Diffstat (limited to 'tests/or1200')
-rw-r--r--tests/or1200/config.patch46
-rw-r--r--tests/or1200/run-checkout.sh4
-rw-r--r--tests/or1200/run-fm-mods.sh24
-rw-r--r--tests/or1200/run-fm.do53
-rw-r--r--tests/or1200/run-fm.sh5
-rw-r--r--tests/or1200/run-synth.sh2
-rw-r--r--tests/or1200/run-synth.ys11
-rw-r--r--tests/or1200/run-vg.sh4
8 files changed, 0 insertions, 149 deletions
diff --git a/tests/or1200/config.patch b/tests/or1200/config.patch
deleted file mode 100644
index 7826edeb6..000000000
--- a/tests/or1200/config.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Index: or1200_defines.v
-===================================================================
---- or1200_defines.v (revision 812)
-+++ or1200_defines.v (working copy)
-@@ -56,7 +56,7 @@
- //
- //`define OR1200_VERBOSE
-
--// `define OR1200_ASIC
-+`define OR1200_ASIC
- ////////////////////////////////////////////////////////
- //
- // Typical configuration for an ASIC
-@@ -69,7 +69,7 @@
- //`define OR1200_ARTISAN_SSP
- //`define OR1200_ARTISAN_SDP
- //`define OR1200_ARTISAN_STP
--`define OR1200_VIRTUALSILICON_SSP
-+//`define OR1200_VIRTUALSILICON_SSP
- //`define OR1200_VIRTUALSILICON_STP_T1
- //`define OR1200_VIRTUALSILICON_STP_T2
-
-@@ -96,17 +96,17 @@
- //
- // Select between ASIC optimized and generic multiplier
- //
--//`define OR1200_ASIC_MULTP2_32X32
--`define OR1200_GENERIC_MULTP2_32X32
-+`define OR1200_ASIC_MULTP2_32X32
-+//`define OR1200_GENERIC_MULTP2_32X32
-
- //
- // Size/type of insn/data cache if implemented
- //
--// `define OR1200_IC_1W_512B
-+`define OR1200_IC_1W_512B
- // `define OR1200_IC_1W_4KB
--`define OR1200_IC_1W_8KB
--// `define OR1200_DC_1W_4KB
--`define OR1200_DC_1W_8KB
-+// `define OR1200_IC_1W_8KB
-+`define OR1200_DC_1W_4KB
-+// `define OR1200_DC_1W_8KB
-
- `else
-
diff --git a/tests/or1200/run-checkout.sh b/tests/or1200/run-checkout.sh
deleted file mode 100644
index c9d4a1024..000000000
--- a/tests/or1200/run-checkout.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-rm -rf rtl
-svn co http://opencores.org/ocsvn/openrisc/openrisc/trunk/or1200/rtl/verilog rtl
-( cd rtl; patch -p0 < ../config.patch; )
diff --git a/tests/or1200/run-fm-mods.sh b/tests/or1200/run-fm-mods.sh
deleted file mode 100644
index 6b8487730..000000000
--- a/tests/or1200/run-fm-mods.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-if [ -n "$REMOTE_YOSYS_ROOT" ]; then
- rsync --exclude=".svn" --exclude="*.log" -rv -e "${REMOTE_YOSYS_SSH:-ssh} -C" "$REMOTE_YOSYS_ROOT"/tests/or1200/. .
-fi
-for mod in $( grep '^module or1200_' synth.v | awk -F '[ (]' '{ print $2; }'; )
-do
- {
- grep '^set ' run-fm.do
- grep '^read_verilog -container r ' run-fm.do
- echo "set_top r:/WORK/$mod"
- grep '^read_verilog -container i ' run-fm.do
- echo "set_top i:/WORK/$mod"
- echo "verify"
- echo "exit"
- } > run-fm-${mod}.do
- fm_shell -64 -file run-fm-${mod}.do 2>&1 | tee run-fm-${mod}.log
- rsync -v -e "${REMOTE_YOSYS_SSH:-ssh}" run-fm-${mod}.log "$REMOTE_YOSYS_ROOT"/tests/or1200/
-done
-
-echo; echo
-for x in run-fm-*.log; do
- echo -e "${x%/*}\\t$( egrep '^Verification (SUCCEEDED|FAILED)' $x; )"
-done | expand -t20
-echo; echo
diff --git a/tests/or1200/run-fm.do b/tests/or1200/run-fm.do
deleted file mode 100644
index ed5c72282..000000000
--- a/tests/or1200/run-fm.do
+++ /dev/null
@@ -1,53 +0,0 @@
-
-set hdlin_ignore_full_case false
-set hdlin_warn_on_mismatch_message "FMR_ELAB-115 FMR_VLOG-079 FMR_VLOG-091"
-
-read_verilog -container r -libname WORK -01 rtl/or1200_alu.v
-read_verilog -container r -libname WORK -01 rtl/or1200_amultp2_32x32.v
-read_verilog -container r -libname WORK -01 rtl/or1200_cfgr.v
-read_verilog -container r -libname WORK -01 rtl/or1200_cpu.v
-read_verilog -container r -libname WORK -01 rtl/or1200_ctrl.v
-read_verilog -container r -libname WORK -01 rtl/or1200_dc_fsm.v
-read_verilog -container r -libname WORK -01 rtl/or1200_dc_ram.v
-read_verilog -container r -libname WORK -01 rtl/or1200_dc_tag.v
-read_verilog -container r -libname WORK -01 rtl/or1200_dc_top.v
-read_verilog -container r -libname WORK -01 rtl/or1200_dmmu_tlb.v
-read_verilog -container r -libname WORK -01 rtl/or1200_dmmu_top.v
-read_verilog -container r -libname WORK -01 rtl/or1200_dpram.v
-read_verilog -container r -libname WORK -01 rtl/or1200_du.v
-read_verilog -container r -libname WORK -01 rtl/or1200_except.v
-read_verilog -container r -libname WORK -01 rtl/or1200_fpu.v
-read_verilog -container r -libname WORK -01 rtl/or1200_freeze.v
-read_verilog -container r -libname WORK -01 rtl/or1200_genpc.v
-read_verilog -container r -libname WORK -01 rtl/or1200_ic_fsm.v
-read_verilog -container r -libname WORK -01 rtl/or1200_ic_ram.v
-read_verilog -container r -libname WORK -01 rtl/or1200_ic_tag.v
-read_verilog -container r -libname WORK -01 rtl/or1200_ic_top.v
-read_verilog -container r -libname WORK -01 rtl/or1200_if.v
-read_verilog -container r -libname WORK -01 rtl/or1200_immu_tlb.v
-read_verilog -container r -libname WORK -01 rtl/or1200_immu_top.v
-read_verilog -container r -libname WORK -01 rtl/or1200_lsu.v
-read_verilog -container r -libname WORK -01 rtl/or1200_mem2reg.v
-read_verilog -container r -libname WORK -01 rtl/or1200_mult_mac.v
-read_verilog -container r -libname WORK -01 rtl/or1200_operandmuxes.v
-read_verilog -container r -libname WORK -01 rtl/or1200_pic.v
-read_verilog -container r -libname WORK -01 rtl/or1200_pm.v
-read_verilog -container r -libname WORK -01 rtl/or1200_qmem_top.v
-read_verilog -container r -libname WORK -01 rtl/or1200_reg2mem.v
-read_verilog -container r -libname WORK -01 rtl/or1200_rf.v
-read_verilog -container r -libname WORK -01 rtl/or1200_sb.v
-read_verilog -container r -libname WORK -01 rtl/or1200_spram_32_bw.v
-read_verilog -container r -libname WORK -01 rtl/or1200_spram.v
-read_verilog -container r -libname WORK -01 rtl/or1200_sprs.v
-read_verilog -container r -libname WORK -01 rtl/or1200_top.v
-read_verilog -container r -libname WORK -01 rtl/or1200_tt.v
-read_verilog -container r -libname WORK -01 rtl/or1200_wb_biu.v
-read_verilog -container r -libname WORK -01 rtl/or1200_wbmux.v
-set_top r:/WORK/or1200_top
-
-read_verilog -container i -libname WORK -01 synth.v
-read_verilog -container i -technology_library -libname TECH_WORK -01 ../../techlibs/stdcells_sim.v
-set_top i:/WORK/or1200_top
-
-if ![verify] start_gui exit
-
diff --git a/tests/or1200/run-fm.sh b/tests/or1200/run-fm.sh
deleted file mode 100644
index 3023809c9..000000000
--- a/tests/or1200/run-fm.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-if [ -n "$REMOTE_YOSYS_ROOT" ]; then
- rsync --exclude=".svn" --exclude="*.log" -rv -e "${REMOTE_YOSYS_SSH:-ssh} -C" "$REMOTE_YOSYS_ROOT"/tests/or1200/. .
-fi
-fm_shell -64 -file run-fm.do 2>&1 | tee run-fm.log
diff --git a/tests/or1200/run-synth.sh b/tests/or1200/run-synth.sh
deleted file mode 100644
index 9f7e43fd6..000000000
--- a/tests/or1200/run-synth.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-time ../../yosys -b "verilog -noexpr" -o synth.v -tl synth.log -s run-synth.ys rtl/or1200_*.v 2>&1 | egrep '^\[[0-9.]+\] (ERROR|--|[0-9]+\.)'
diff --git a/tests/or1200/run-synth.ys b/tests/or1200/run-synth.ys
deleted file mode 100644
index 1f0d8a82b..000000000
--- a/tests/or1200/run-synth.ys
+++ /dev/null
@@ -1,11 +0,0 @@
-hierarchy -check -top or1200_top
-proc
-opt
-memory
-opt
-# fsm -norecode
-# opt
-techmap
-opt
-abc
-opt
diff --git a/tests/or1200/run-vg.sh b/tests/or1200/run-vg.sh
deleted file mode 100644
index 54147cf5f..000000000
--- a/tests/or1200/run-vg.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-time valgrind --leak-check=full --show-reachable=yes --log-file=valgrind.log \
- ../../yosys -o synth.v -tl synth.log -p "hierarchy -check -top or1200_top" \
- -p opt_const -p proc -p memory -p opt -p techmap -p opt -p abc -p opt rtl/or1200_*.v