mirror of https://github.com/lnis-uofu/SOFA.git
commented/corrected failing benchmarks
This commit is contained in:
parent
a4461bd152
commit
8d5036f108
|
@ -46,7 +46,7 @@
|
|||
//// from http://www.opencores.org/lgpl.shtml ////
|
||||
//// ////
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
`include "sd_defines.h"
|
||||
`include "sd_defines.v"
|
||||
|
||||
module sd_cmd_master(
|
||||
input sd_clk,
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
//// from http://www.opencores.org/lgpl.shtml ////
|
||||
//// ////
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
`include "sd_defines.h"
|
||||
`include "sd_defines.v"
|
||||
|
||||
module sd_controller_wb(
|
||||
// WISHBONE slave
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
//// from http://www.opencores.org/lgpl.shtml ////
|
||||
//// ////
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
`include "sd_defines.h"
|
||||
`include "sd_defines.v"
|
||||
|
||||
module sd_data_master (
|
||||
input sd_clk,
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
//// from http://www.opencores.org/lgpl.shtml ////
|
||||
//// ////
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
`include "sd_defines.h"
|
||||
`include "sd_defines.v"
|
||||
|
||||
module sd_data_serial_host(
|
||||
input sd_clk,
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
//// from http://www.opencores.org/lgpl.shtml ////
|
||||
//// ////
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
`include "sd_defines.h"
|
||||
`include "sd_defines.v"
|
||||
|
||||
module sd_data_xfer_trig (
|
||||
input sd_clk,
|
||||
|
|
|
@ -0,0 +1,100 @@
|
|||
//////////////////////////////////////////////////////////////////////
|
||||
//// ////
|
||||
//// WISHBONE SD Card Controller IP Core ////
|
||||
//// ////
|
||||
//// sd_defines.v ////
|
||||
//// ////
|
||||
//// This file is part of the WISHBONE SD Card ////
|
||||
//// Controller IP Core project ////
|
||||
//// http://opencores.org/project,sd_card_controller ////
|
||||
//// ////
|
||||
//// Description ////
|
||||
//// Header file with common definitions ////
|
||||
//// ////
|
||||
//// Author(s): ////
|
||||
//// - Marek Czerski, ma.czerski@gmail.com ////
|
||||
//// ////
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
//// ////
|
||||
//// Copyright (C) 2013 Authors ////
|
||||
//// ////
|
||||
//// Based on original work by ////
|
||||
//// Adam Edvardsson (adam.edvardsson@orsoc.se) ////
|
||||
//// ////
|
||||
//// Copyright (C) 2009 Authors ////
|
||||
//// ////
|
||||
//// This source file may be used and distributed without ////
|
||||
//// restriction provided that this copyright statement is not ////
|
||||
//// removed from the file and that any derivative work contains ////
|
||||
//// the original copyright notice and the associated disclaimer. ////
|
||||
//// ////
|
||||
//// This source file is free software; you can redistribute it ////
|
||||
//// and/or modify it under the terms of the GNU Lesser General ////
|
||||
//// Public License as published by the Free Software Foundation; ////
|
||||
//// either version 2.1 of the License, or (at your option) any ////
|
||||
//// later version. ////
|
||||
//// ////
|
||||
//// This source is distributed in the hope that it will be ////
|
||||
//// useful, but WITHOUT ANY WARRANTY; without even the implied ////
|
||||
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ////
|
||||
//// PURPOSE. See the GNU Lesser General Public License for more ////
|
||||
//// details. ////
|
||||
//// ////
|
||||
//// You should have received a copy of the GNU Lesser General ////
|
||||
//// Public License along with this source; if not, download it ////
|
||||
//// from http://www.opencores.org/lgpl.shtml ////
|
||||
//// ////
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
//global defines
|
||||
`define BLKSIZE_W 12
|
||||
`define BLKCNT_W 16
|
||||
|
||||
//cmd module interrupts
|
||||
`define INT_CMD_SIZE 5
|
||||
`define INT_CMD_CC 0
|
||||
`define INT_CMD_EI 1
|
||||
`define INT_CMD_CTE 2
|
||||
`define INT_CMD_CCRCE 3
|
||||
`define INT_CMD_CIE 4
|
||||
|
||||
//data module interrupts
|
||||
`define INT_DATA_SIZE 3
|
||||
`define INT_DATA_CC 0
|
||||
`define INT_DATA_CCRCE 1
|
||||
`define INT_DATA_CFE 2
|
||||
|
||||
//command register defines
|
||||
`define CMD_REG_SIZE 14
|
||||
`define CMD_RESPONSE_CHECK 1:0
|
||||
`define CMD_BUSY_CHECK 2
|
||||
`define CMD_CRC_CHECK 3
|
||||
`define CMD_IDX_CHECK 4
|
||||
`define CMD_WITH_DATA 6:5
|
||||
`define CMD_INDEX 13:8
|
||||
|
||||
//register addreses
|
||||
`define argument 8'h00
|
||||
`define command 8'h04
|
||||
`define resp0 8'h08
|
||||
`define resp1 8'h0c
|
||||
`define resp2 8'h10
|
||||
`define resp3 8'h14
|
||||
`define controller 8'h1c
|
||||
`define timeout 8'h20
|
||||
`define clock_d 8'h24
|
||||
`define reset 8'h28
|
||||
`define voltage 8'h2c
|
||||
`define capa 8'h30
|
||||
`define cmd_isr 8'h34
|
||||
`define cmd_iser 8'h38
|
||||
`define data_isr 8'h3c
|
||||
`define data_iser 8'h40
|
||||
`define blksize 8'h44
|
||||
`define blkcnt 8'h48
|
||||
`define dst_src_addr 8'h60
|
||||
|
||||
//wb module defines
|
||||
`define RESET_BLOCK_SIZE 512
|
||||
`define RESET_CLK_DIV 0
|
||||
`define SUPPLY_VOLTAGE_mV 3300
|
|
@ -54,7 +54,7 @@
|
|||
//// from http://www.opencores.org/lgpl.shtml ////
|
||||
//// ////
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
`include "sd_defines.h"
|
||||
`include "sd_defines.v"
|
||||
|
||||
module sdc_controller(
|
||||
// WISHBONE common
|
||||
|
|
|
@ -45,11 +45,11 @@ bench11=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/counter_16bit/rtl/*.v
|
|||
bench12=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/dct_mac/rtl/*.v
|
||||
bench13=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/des_perf/rtl/*.v
|
||||
bench14=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/diffeq_f_systemC/rtl/*.v
|
||||
bench15=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/i2c_master_top/rtl/*.v
|
||||
#bench15=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/i2c_master_top/rtl/*.v
|
||||
bench16=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/iir/rtl/*.v
|
||||
bench17=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/jpeg_qnr/rtl/*.v
|
||||
bench18=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/multi_enc_decx2x4/rtl/*.v
|
||||
bench19=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/sdc_controller/rtl/*.v
|
||||
#bench19=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/sdc_controller/rtl/*.v
|
||||
bench20=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/sha256/rtl/*.v
|
||||
bench21=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/unsigned_mult_80/rtl/*.v
|
||||
|
||||
|
@ -70,11 +70,11 @@ bench11_top = top
|
|||
bench12_top = dct_mac
|
||||
bench13_top = des_perf
|
||||
bench14_top = diffeq_f_systemC
|
||||
bench15_top = i2c_master_top
|
||||
#bench15_top = i2c_master_top
|
||||
bench16_top = iir
|
||||
bench17_top = jpeg_qnr
|
||||
bench18_top = multi_enc_decx2x4
|
||||
bench19_top = sdc_controller
|
||||
#bench19_top = sdc_controller
|
||||
bench20_top = sha256
|
||||
bench21_top = unsigned_mult_80
|
||||
|
||||
|
|
Loading…
Reference in New Issue