OpenCores
URL https://opencores.org/ocsvn/rtf8088/rtf8088/trunk

Subversion Repositories rtf8088

[/] [rtf8088/] [trunk/] [rtl/] [verilog/] [FETCH_DISP8.v] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 robfinch
// ============================================================================
2
//  FETCH_DISP8
3
//  - fetch 8 bit displacement
4
//
5
//
6
//  2009-2012  Robert Finch
7
//  robfinch<remove>@opencores.org
8
//  Stratford
9
//
10
//
11
// This source file is free software: you can redistribute it and/or modify 
12
// it under the terms of the GNU Lesser General Public License as published 
13
// by the Free Software Foundation, either version 3 of the License, or     
14
// (at your option) any later version.                                      
15
//                                                                          
16
// This source file is distributed in the hope that it will be useful,      
17
// but WITHOUT ANY WARRANTY; without even the implied warranty of           
18
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            
19
// GNU General Public License for more details.                             
20
//                                                                          
21
// You should have received a copy of the GNU General Public License        
22
// along with this program.  If not, see <http://www.gnu.org/licenses/>.    
23
//
24
//
25
//  Verilog 
26
//
27
//  - fetch 8 bit displacement
28
// ============================================================================
29
//
30
FETCH_DISP8:
31
        if (!cyc_o) begin
32
                `INITIATE_CODE_READ
33
        end
34
        else if (ack_i) begin
35
                `TERMINATE_CODE_READ
36
                state <= DECODE;
37
                disp16 <= {{8{dat_i[7]}},dat_i};
38
                hasFetchedDisp8 <= 1'b1;
39
        end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.