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

Subversion Repositories theia_gpu

[/] [theia_gpu/] [tags/] [latest_stable/] [rtl/] [GPU/] [CORES/] [IO/] [Unit_IO.v] - Diff between revs 31 and 76

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 31 Rev 76
Line 64... Line 64...
output wire          STB_O,
output wire          STB_O,
input wire           STB_I,
input wire           STB_I,
output wire          CYC_O,
output wire          CYC_O,
input wire           CYC_I,
input wire           CYC_I,
input wire  [1:0]    TGA_I,
input wire  [1:0]    TGA_I,
output wire     [1:0]    TGC_O
output wire     [1:0]    TGC_O,
 
input wire           GNT_I
);
);
 
 
 
 
wire [`WIDTH-1:0]          wMEMToWBM2__ReadDataElement;
wire [`WIDTH-1:0]          wMEMToWBM2__ReadDataElement;
wire [`WIDTH-1:0]          wMEMToWBM2__ReadDataElement2;
wire [`WIDTH-1:0]          wMEMToWBM2__ReadDataElement2;
Line 185... Line 186...
wire                 w2MEMToWBM__Trigger;
wire                 w2MEMToWBM__Trigger;
wire                 wWBM2_MEMToWBM_DataWriteDone;
wire                 wWBM2_MEMToWBM_DataWriteDone;
 
 
 
 
wire w2WBM_iEnable;
wire w2WBM_iEnable;
//wire wWBMEnable_tempWire;
 
//assign wWBMEnable_tempWire = (iAdr_O_Type == `ADR_IMM) ? wWBMToMEM_2_WBM_Enable;
 
//assign w2WBM_iEnable = (iBusCyc_Type == `WB_SIMPLE_WRITE_CYCLE) ? wMEMToWBM_2__Enable : wWBMToMEM_2_WBM_Enable;
 
assign w2WBM_iEnable = (iBusCyc_Type == `WB_SIMPLE_WRITE_CYCLE) ? wMEMToWBM_2__Enable : iEnable;
assign w2WBM_iEnable = (iBusCyc_Type == `WB_SIMPLE_WRITE_CYCLE) ? wMEMToWBM_2__Enable : iEnable;
//assign w2WBM_iEnable = iEnable;// & wWBMToMEM_2_WBM_Enable;
 
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
wire wSTB_O;
wire wSTB_O;
 
 
//If the address is a pointer, we need 1 cycle to read the data back from MEM
//If the address is a pointer, we need 1 cycle to read the data back from MEM
//before we can the set the value into WBM
//before we can the set the value into WBM
Line 224... Line 223...
                .ADR_O(         ADR_O ),
                .ADR_O(         ADR_O ),
                .WE_O(  WE_O ),
                .WE_O(  WE_O ),
                .STB_O( wSTB_O ),
                .STB_O( wSTB_O ),
                .CYC_O( CYC_O   ),
                .CYC_O( CYC_O   ),
                .TGC_O( TGC_O   ),
                .TGC_O( TGC_O   ),
 
                .GNT_I(  GNT_I ),
 
 
                .iEnable(                       w2WBM_iEnable            ),
                .iEnable(                       w2WBM_iEnable            ),
                .iBusCyc_Type(    iBusCyc_Type                     ),
                .iBusCyc_Type(    iBusCyc_Type                     ),
                .iAddress_Set(  wWBM_iAddress_Set  ),//ERROR!!!!!!!!!! we should have:  wWBMToMEM2__Done  
                .iAddress_Set(  wWBM_iAddress_Set  ),
                .iAddress(            wADR_O_InitialAddress            ),
                .iAddress(            wADR_O_InitialAddress            ),
                .oDataReady(            wWBM_2_WBMToMEM_DataAvailable    ),
                .oDataReady(            wWBM_2_WBMToMEM_DataAvailable    ),
                .iData(           wMEMToWBM2__ReadDataElement      ),
                .iData(           wMEMToWBM2__ReadDataElement      ),
                .oData(                                 wWBM_2_WBMToMEM_Data                       )
                .oData(                                 wWBM_2_WBMToMEM_Data                       )
        );
        );

powered by: WebSVN 2.1.0

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