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

Subversion Repositories theia_gpu

[/] [theia_gpu/] [tags/] [latest_stable/] [rtl/] [GPU/] [CORES/] [TOP/] [Theia_Core.v] - Diff between revs 143 and 146

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

Rev 143 Rev 146
Line 103... Line 103...
 
 
 
 
);
);
 
 
//When we flip the SMEM, this means we are ready to receive more data
//When we flip the SMEM, this means we are ready to receive more data
assign HDL_O = wCU2_FlipMem;
 
 
 
//Alias this signals
//Alias this signals
wire Clock,Reset;
wire Clock,Reset;
assign Clock = CLK_I;
assign Clock = CLK_I;
assign Reset = RST_I;
assign Reset = RST_I;
Line 183... Line 183...
 
 
wire [`DATA_ROW_WIDTH-1:0] wEXE_2__IO_TMEMAddress;
wire [`DATA_ROW_WIDTH-1:0] wEXE_2__IO_TMEMAddress;
wire [`DATA_ROW_WIDTH-1:0] wIO_2_EXE__TMEMData;
wire [`DATA_ROW_WIDTH-1:0] wIO_2_EXE__TMEMData;
wire wIO_2_EXE__DataAvailable;
wire wIO_2_EXE__DataAvailable;
wire wEXE_2_IO__DataRequest;
wire wEXE_2_IO__DataRequest;
 
wire wCU2_FlipMem;
wire wCU2_FlipMemEnabled;
wire wCU2_FlipMemEnabled;
wire w2MEM_FlipMemory;
wire w2MEM_FlipMemory;
 
wire wGEO2__RequestingTextures;
 
wire w2IO_WriteBack_Set;
 
wire[`DATA_ADDRESS_WIDTH-1:0] wIO_2_MEM__DataReadAddress1;
 
 
`ifdef DEBUG
`ifdef DEBUG
        wire [`ROM_ADDRESS_WIDTH-1:0] wDEBUG_IDU2_EXE_InstructionPointer;
        wire [`ROM_ADDRESS_WIDTH-1:0] wDEBUG_IDU2_EXE_InstructionPointer;
`endif
`endif
//--------------------------------------------------------
//--------------------------------------------------------
 
 
 
assign HDL_O = wCU2_FlipMem;
 
 
assign wCR2_TextureMappingEnabled = wCR2_ControlRegister[ `CR_EN_TEXTURE ];
assign wCR2_TextureMappingEnabled = wCR2_ControlRegister[ `CR_EN_TEXTURE ];
wire wCU2_FlipMem;
 
//--------------------------------------------------------
//--------------------------------------------------------
//Control Unit Instance
//Control Unit Instance
        ControlUnit CU
        ControlUnit CU
        (
        (
           .Clock(Clock),
           .Clock(Clock),
Line 326... Line 330...
.oDone(             wCU2__MicrocodeExecutionDone )
.oDone(             wCU2__MicrocodeExecutionDone )
 
 
);
);
 
 
////--------------------------------------------------------
////--------------------------------------------------------
wire wGEO2__RequestingTextures;
 
wire w2IO_WriteBack_Set;
 
 
 
assign TGA_O = (wGEO2__RequestingTextures) ? 2'b1: 2'b0;
assign TGA_O = (wGEO2__RequestingTextures) ? 2'b1: 2'b0;
//---------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------
wire[`DATA_ADDRESS_WIDTH-1:0] wIO_2_MEM__DataReadAddress1;
 
assign wEXE_2__MEM_DataReadAddress1 = (wCU2_IO__WritePixel == 0) ?  wUCODE_RAMReadAddress1 : wIO_2_MEM__DataReadAddress1;
//assign wEXE_2__MEM_DataReadAddress1 = (wCU2_IO__WritePixel == 0) ?  wUCODE_RAMReadAddress1 : wIO_2_MEM__DataReadAddress1;
assign w2IO__EnableWBMaster = (wCU2_IO__WritePixel == 0 ) ? wGEO2_IO__EnableWBMaster : wCU2_IO__WritePixel;
assign w2IO__EnableWBMaster = (wCU2_IO__WritePixel == 0 ) ? wGEO2_IO__EnableWBMaster : wCU2_IO__WritePixel;
assign w2IO__AddrIsImm       = 0;//(wCU2_IO__WritePixel == 0 ) ? wGEO2_IO__AddrIsImm       : 1'b0;
assign w2IO__AddrIsImm       = 0;//(wCU2_IO__WritePixel == 0 ) ? wGEO2_IO__AddrIsImm       : 1'b0;
assign w2IO__AddressOffset   = 0;//(wCU2_IO__WritePixel == 0 ) ? wGEO2_IO__AddressOffset   : 32'b0;
assign w2IO__AddressOffset   = 0;//(wCU2_IO__WritePixel == 0 ) ? wGEO2_IO__AddressOffset   : 32'b0;
assign w2IO__Adr_O_Pointer      = (wCU2_IO__WritePixel == 0 ) ? wGEO2_IO__Adr_O_Pointer : `OREG_ADDR_O;
assign w2IO__Adr_O_Pointer      = (wCU2_IO__WritePixel == 0 ) ? wGEO2_IO__Adr_O_Pointer : `OREG_ADDR_O;
//assign w2IO__Adr_O_Pointer      = (wCU2_IO__WritePixel == 0 ) ? wGEO2_IO__Adr_O_Pointer : `CREG_PIXEL_2D_INITIAL_POSITION; 
//assign w2IO__Adr_O_Pointer      = (wCU2_IO__WritePixel == 0 ) ? wGEO2_IO__Adr_O_Pointer : `CREG_PIXEL_2D_INITIAL_POSITION; 

powered by: WebSVN 2.1.0

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