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

Subversion Repositories theia_gpu

[/] [theia_gpu/] [branches/] [icarus_version/] [rtl/] [aDefinitions.v] - Diff between revs 180 and 188

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

Rev 180 Rev 188
Line 28... Line 28...
        for simulation perfomance reasons mainly.
        for simulation perfomance reasons mainly.
*******************************************************************************/
*******************************************************************************/
//`define VERILATOR 1
//`define VERILATOR 1
`define MAX_CORES 4             //The number of cores, make sure you update MAX_CORE_BITS!
`define MAX_CORES 4             //The number of cores, make sure you update MAX_CORE_BITS!
`define MAX_CORE_BITS 2                 // 2 ^ MAX_CORE_BITS = MAX_CORES
`define MAX_CORE_BITS 2                 // 2 ^ MAX_CORE_BITS = MAX_CORES
`define MAX_TMEM_BANKS 8                //The number of memory banks for TMEM
`define MAX_TMEM_BANKS 4                //The number of memory banks for TMEM
`define MAX_TMEM_BITS  3       //2 ^ MAX_TMEM_BANKS = MAX_TMEM_BITS
`define MAX_TMEM_BITS 2                 //2 ^ MAX_TMEM_BANKS = MAX_TMEM_BITS
`define SELECT_ALL_CORES `MAX_CORES'b1111               //XXX: Change for more cores
`define SELECT_ALL_CORES `MAX_CORES'b1111               //XXX: Change for more cores
//---------------------------------------------------------------------------------
//---------------------------------------------------------------------------------
//Verilog provides a `default_nettype none compiler directive.  When
//Verilog provides a `default_nettype none compiler directive.  When
//this directive is set, implicit data types are disabled, which will make any
//this directive is set, implicit data types are disabled, which will make any
//undeclared signal name a syntax error.This is very usefull to avoid annoying
//undeclared signal name a syntax error.This is very usefull to avoid annoying
Line 93... Line 93...
//Please keep this syntax ENTRYPOINT_ADDR_* because the perl script that
//Please keep this syntax ENTRYPOINT_ADDR_* because the perl script that
//parses the user code expects this pattern in order to read in the tokens
//parses the user code expects this pattern in order to read in the tokens
 
 
//Internal Entry points (default ROM Address)
//Internal Entry points (default ROM Address)
`define ENTRYPOINT_ADRR_INITIAL                 `ROM_ADDRESS_WIDTH'd0   //0 - This should always be zero
`define ENTRYPOINT_ADRR_INITIAL                 `ROM_ADDRESS_WIDTH'd0   //0 - This should always be zero
`define ENTRYPOINT_ADRR_CPPU                    `ROM_ADDRESS_WIDTH'd70
`define ENTRYPOINT_ADRR_CPPU                    `ROM_ADDRESS_WIDTH'd69
`define ENTRYPOINT_ADRR_RGU                     `ROM_ADDRESS_WIDTH'd74
`define ENTRYPOINT_ADRR_RGU                     `ROM_ADDRESS_WIDTH'd73
`define ENTRYPOINT_ADRR_AABBIU                  `ROM_ADDRESS_WIDTH'd98
`define ENTRYPOINT_ADRR_AABBIU                  `ROM_ADDRESS_WIDTH'd97
`define ENTRYPOINT_ADRR_BIU                     `ROM_ADDRESS_WIDTH'd186
`define ENTRYPOINT_ADRR_BIU                     `ROM_ADDRESS_WIDTH'd185
`define ENTRYPOINT_ADRR_PSU                     `ROM_ADDRESS_WIDTH'd265
`define ENTRYPOINT_ADRR_PSU                     `ROM_ADDRESS_WIDTH'd268
`define ENTRYPOINT_ADRR_PSU2                    `ROM_ADDRESS_WIDTH'd281
`define ENTRYPOINT_ADRR_PSU2                    `ROM_ADDRESS_WIDTH'd284
`define ENTRYPOINT_ADRR_TCC                     `ROM_ADDRESS_WIDTH'd223
`define ENTRYPOINT_ADRR_TCC                     `ROM_ADDRESS_WIDTH'd226
`define ENTRYPOINT_ADRR_NPG                     `ROM_ADDRESS_WIDTH'd82
`define ENTRYPOINT_ADRR_NPG                     `ROM_ADDRESS_WIDTH'd81
//User Entry points (default ROM Address)
//User Entry points (default ROM Address)
`define ENTRYPOINT_ADRR_USERCONSTANTS           `ROM_ADDRESS_WIDTH'd309
`define ENTRYPOINT_ADRR_USERCONSTANTS           `ROM_ADDRESS_WIDTH'd312
`define ENTRYPOINT_ADRR_PIXELSHADER             `ROM_ADDRESS_WIDTH'd311
`define ENTRYPOINT_ADRR_PIXELSHADER             `ROM_ADDRESS_WIDTH'd314
`define ENTRYPOINT_ADRR_MAIN                    `ROM_ADDRESS_WIDTH'd37
`define ENTRYPOINT_ADRR_MAIN                    `ROM_ADDRESS_WIDTH'd37
 
 
//Please keep this syntax ENTRYPOINT_INDEX_* because the perl script that
//Please keep this syntax ENTRYPOINT_INDEX_* because the perl script that
//parses the user code expects this pattern in order to read in the tokens
//parses the user code expects this pattern in order to read in the tokens
//Internal subroutines
//Internal subroutines

powered by: WebSVN 2.1.0

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