| 1 | 11 | dinesha | //////////////////////////////////////////////////////////////////////
 | 
      
         | 2 |  |  | ////                                                              ////
 | 
      
         | 3 |  |  | ////  yifive Wishbone define for syntacore                        ////
 | 
      
         | 4 |  |  | ////                                                              ////
 | 
      
         | 5 |  |  | ////  This file is part of the yifive cores project               ////
 | 
      
         | 6 |  |  | ////  http://www.opencores.org/cores/yifive/                      ////
 | 
      
         | 7 |  |  | ////                                                              ////
 | 
      
         | 8 |  |  | ////  Description:                                                ////
 | 
      
         | 9 |  |  | ////     integrated wishbone i/f to Syntacore,scr1 core          ////
 | 
      
         | 10 |  |  | ////                                                              ////
 | 
      
         | 11 |  |  | ////  To Do:                                                      ////
 | 
      
         | 12 |  |  | ////    nothing                                                   ////
 | 
      
         | 13 |  |  | ////                                                              ////
 | 
      
         | 14 |  |  | ////  Author(s):                                                  ////
 | 
      
         | 15 |  |  | ////      - Dinesh Annayya, dinesha@opencores.org                 ////
 | 
      
         | 16 |  |  | ////                                                              ////
 | 
      
         | 17 |  |  | ////  Revision :                                                  ////
 | 
      
         | 18 |  |  | ////     v0:    June 7, 2021, Dinesh A                            ////
 | 
      
         | 19 |  |  | ////             wishbone define added                            ////
 | 
      
         | 20 |  |  | ////                                                              ////
 | 
      
         | 21 |  |  | //////////////////////////////////////////////////////////////////////
 | 
      
         | 22 |  |  | ////                                                              ////
 | 
      
         | 23 |  |  | //// Copyright (C) 2000 Authors and OPENCORES.ORG                 ////
 | 
      
         | 24 |  |  | ////                                                              ////
 | 
      
         | 25 |  |  | //// This source file may be used and distributed without         ////
 | 
      
         | 26 |  |  | //// restriction provided that this copyright statement is not    ////
 | 
      
         | 27 |  |  | //// removed from the file and that any derivative work contains  ////
 | 
      
         | 28 |  |  | //// the original copyright notice and the associated disclaimer. ////
 | 
      
         | 29 |  |  | ////                                                              ////
 | 
      
         | 30 |  |  | //// This source file is free software; you can redistribute it   ////
 | 
      
         | 31 |  |  | //// and/or modify it under the terms of the GNU Lesser General   ////
 | 
      
         | 32 |  |  | //// Public License as published by the Free Software Foundation; ////
 | 
      
         | 33 |  |  | //// either version 2.1 of the License, or (at your option) any   ////
 | 
      
         | 34 |  |  | //// later version.                                               ////
 | 
      
         | 35 |  |  | ////                                                              ////
 | 
      
         | 36 |  |  | //// This source is distributed in the hope that it will be       ////
 | 
      
         | 37 |  |  | //// useful, but WITHOUT ANY WARRANTY; without even the implied   ////
 | 
      
         | 38 |  |  | //// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      ////
 | 
      
         | 39 |  |  | //// PURPOSE.  See the GNU Lesser General Public License for more ////
 | 
      
         | 40 |  |  | //// details.                                                     ////
 | 
      
         | 41 |  |  | ////                                                              ////
 | 
      
         | 42 |  |  | //// You should have received a copy of the GNU Lesser General    ////
 | 
      
         | 43 |  |  | //// Public License along with this source; if not, download it   ////
 | 
      
         | 44 |  |  | //// from http://www.opencores.org/lgpl.shtml                     ////
 | 
      
         | 45 |  |  | ////                                                              ////
 | 
      
         | 46 |  |  | //////////////////////////////////////////////////////////////////////
 | 
      
         | 47 |  |  | //     Orginal owner Details                                      ////
 | 
      
         | 48 |  |  | //////////////////////////////////////////////////////////////////////
 | 
      
         | 49 |  |  | /// Copyright by Syntacore LLC © 2016-2021. See LICENSE for details///
 | 
      
         | 50 |  |  | /// @file                                            ///
 | 
      
         | 51 |  |  | /// @brief      WB header file                                     ///
 | 
      
         | 52 |  |  | /////////////////////////////////////////////////////////////////////
 | 
      
         | 53 |  |  |  
 | 
      
         | 54 |  |  | `ifndef SCR1_WB_SVH
 | 
      
         | 55 |  |  | `define SCR1_WB_SVH
 | 
      
         | 56 |  |  |  
 | 
      
         | 57 |  |  | `include "scr1_arch_description.svh"
 | 
      
         | 58 |  |  |  
 | 
      
         | 59 |  |  | parameter SCR1_WB_WIDTH  = 32;
 | 
      
         | 60 |  |  |  
 | 
      
         | 61 |  |  | // Encoding for DATA SIZE
 | 
      
         | 62 |  |  | parameter logic [2:0] SCR1_DSIZE_8B    = 3'b000;
 | 
      
         | 63 |  |  | parameter logic [2:0] SCR1_DSIZE_16B   = 3'b001;
 | 
      
         | 64 |  |  | parameter logic [2:0] SCR1_DSIZE_32B   = 3'b010;
 | 
      
         | 65 |  |  |  
 | 
      
         | 66 |  |  | `endif // SCR1_WB_SVH
 |