1 |
10 |
unneback |
//////////////////////////////////////////////////////////////////////
|
2 |
|
|
//// ////
|
3 |
|
|
//// OR1200's WISHBONE BIU ////
|
4 |
|
|
//// ////
|
5 |
|
|
//// This file is part of the OpenRISC 1200 project ////
|
6 |
|
|
//// http://www.opencores.org/cores/or1k/ ////
|
7 |
|
|
//// ////
|
8 |
|
|
//// Description ////
|
9 |
|
|
//// Implements WISHBONE interface ////
|
10 |
|
|
//// ////
|
11 |
|
|
//// To Do: ////
|
12 |
|
|
//// - if biu_cyc/stb are deasserted and wb_ack_i is asserted ////
|
13 |
|
|
//// and this happens even before aborted_r is asssrted, ////
|
14 |
|
|
//// wb_ack_i will be delivered even though transfer is ////
|
15 |
|
|
//// internally considered already aborted. However most ////
|
16 |
|
|
//// wb_ack_i are externally registered and delayed. Normally ////
|
17 |
|
|
//// this shouldn't cause any problems. ////
|
18 |
|
|
//// ////
|
19 |
|
|
//// Author(s): ////
|
20 |
|
|
//// - Damjan Lampret, lampret@opencores.org ////
|
21 |
|
|
//// ////
|
22 |
|
|
//////////////////////////////////////////////////////////////////////
|
23 |
|
|
//// ////
|
24 |
|
|
//// Copyright (C) 2000 Authors and OPENCORES.ORG ////
|
25 |
|
|
//// ////
|
26 |
|
|
//// This source file may be used and distributed without ////
|
27 |
|
|
//// restriction provided that this copyright statement is not ////
|
28 |
|
|
//// removed from the file and that any derivative work contains ////
|
29 |
|
|
//// the original copyright notice and the associated disclaimer. ////
|
30 |
|
|
//// ////
|
31 |
|
|
//// This source file is free software; you can redistribute it ////
|
32 |
|
|
//// and/or modify it under the terms of the GNU Lesser General ////
|
33 |
|
|
//// Public License as published by the Free Software Foundation; ////
|
34 |
|
|
//// either version 2.1 of the License, or (at your option) any ////
|
35 |
|
|
//// later version. ////
|
36 |
|
|
//// ////
|
37 |
|
|
//// This source is distributed in the hope that it will be ////
|
38 |
|
|
//// useful, but WITHOUT ANY WARRANTY; without even the implied ////
|
39 |
|
|
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ////
|
40 |
|
|
//// PURPOSE. See the GNU Lesser General Public License for more ////
|
41 |
|
|
//// details. ////
|
42 |
|
|
//// ////
|
43 |
|
|
//// You should have received a copy of the GNU Lesser General ////
|
44 |
|
|
//// Public License along with this source; if not, download it ////
|
45 |
|
|
//// from http://www.opencores.org/lgpl.shtml ////
|
46 |
|
|
//// ////
|
47 |
|
|
//////////////////////////////////////////////////////////////////////
|
48 |
|
|
//
|
49 |
|
|
// CVS Revision History
|
50 |
|
|
//
|
51 |
141 |
marcus.erl |
// $Log: or1200_iwb_biu.v,v $
|
52 |
|
|
// Revision 2.0 2010/06/30 11:00:00 ORSoC
|
53 |
|
|
// Major update:
|
54 |
|
|
// This module is obsolete.
|
55 |
|
|
//
|
56 |
|
|
// Revision 1.2 2004/04/05 08:29:57 lampret
|
57 |
|
|
// Merged branch_qmem into main tree.
|
58 |
|
|
//
|
59 |
10 |
unneback |
// Revision 1.1 2003/12/05 00:12:08 lampret
|
60 |
|
|
// New wb_biu for iwb interface.
|
61 |
|
|
//
|
62 |
|
|
// Revision 1.6.4.1 2003/07/08 15:36:37 lampret
|
63 |
|
|
// Added embedded memory QMEM.
|
64 |
|
|
//
|
65 |
|
|
// Revision 1.6 2003/04/07 20:57:46 lampret
|
66 |
|
|
// Fixed OR1200_CLKDIV_x_SUPPORTED defines. Fixed order of ifdefs.
|
67 |
|
|
//
|
68 |
|
|
// Revision 1.5 2002/12/08 08:57:56 lampret
|
69 |
|
|
// Added optional support for WB B3 specification (xwb_cti_o, xwb_bte_o). Made xwb_cab_o optional.
|
70 |
|
|
//
|
71 |
|
|
// Revision 1.4 2002/09/16 03:09:16 lampret
|
72 |
|
|
// Fixed a combinational loop.
|
73 |
|
|
//
|
74 |
|
|
// Revision 1.3 2002/08/12 05:31:37 lampret
|
75 |
|
|
// Added optional retry counter for wb_rty_i. Added graceful termination for aborted transfers.
|
76 |
|
|
//
|
77 |
|
|
// Revision 1.2 2002/07/14 22:17:17 lampret
|
78 |
|
|
// Added simple trace buffer [only for Xilinx Virtex target]. Fixed instruction fetch abort when new exception is recognized.
|
79 |
|
|
//
|
80 |
|
|
// Revision 1.1 2002/01/03 08:16:15 lampret
|
81 |
|
|
// New prefixes for RTL files, prefixed module names. Updated cache controllers and MMUs.
|
82 |
|
|
//
|
83 |
|
|
// Revision 1.12 2001/11/22 13:42:51 lampret
|
84 |
|
|
// Added wb_cyc_o assignment after it was removed by accident.
|
85 |
|
|
//
|
86 |
|
|
// Revision 1.11 2001/11/20 21:28:10 lampret
|
87 |
|
|
// Added optional sampling of inputs.
|
88 |
|
|
//
|
89 |
|
|
// Revision 1.10 2001/11/18 11:32:00 lampret
|
90 |
|
|
// OR1200_REGISTERED_OUTPUTS can now be enabled.
|
91 |
|
|
//
|
92 |
|
|
// Revision 1.9 2001/10/21 17:57:16 lampret
|
93 |
|
|
// Removed params from generic_XX.v. Added translate_off/on in sprs.v and id.v. Removed spr_addr from dc.v and ic.v. Fixed CR+LF.
|
94 |
|
|
//
|
95 |
|
|
// Revision 1.8 2001/10/14 13:12:10 lampret
|
96 |
|
|
// MP3 version.
|
97 |
|
|
//
|
98 |
|
|
// Revision 1.1.1.1 2001/10/06 10:18:35 igorm
|
99 |
|
|
// no message
|
100 |
|
|
//
|
101 |
|
|
// Revision 1.3 2001/08/09 13:39:33 lampret
|
102 |
|
|
// Major clean-up.
|
103 |
|
|
//
|
104 |
|
|
// Revision 1.2 2001/07/22 03:31:54 lampret
|
105 |
|
|
// Fixed RAM's oen bug. Cache bypass under development.
|
106 |
|
|
//
|
107 |
|
|
// Revision 1.1 2001/07/20 00:46:23 lampret
|
108 |
|
|
// Development version of RTL. Libraries are missing.
|
109 |
|
|
//
|
110 |
|
|
//
|
111 |
|
|
|
112 |
|
|
// synopsys translate_off
|
113 |
|
|
`include "timescale.v"
|
114 |
|
|
// synopsys translate_on
|
115 |
|
|
`include "or1200_defines.v"
|
116 |
|
|
|
117 |
141 |
marcus.erl |
module or1200_iwb_biu();
|
118 |
10 |
unneback |
|
119 |
141 |
marcus.erl |
// THIS MODULE IS OBSOLETE !!!
|
120 |
|
|
// COMPLETELY REWRITTEN or1200_wb_biu.v IS USED INSTEAD !!!
|
121 |
10 |
unneback |
|
122 |
|
|
|
123 |
|
|
endmodule
|