mirror of
https://github.com/openhwgroup/cva5.git
synced 2025-04-23 05:27:23 -04:00
updated vendor selection config
This commit is contained in:
parent
d8c587f90d
commit
17fcfa2a7b
2 changed files with 6 additions and 2 deletions
|
@ -49,7 +49,7 @@ module byte_en_BRAM
|
|||
);
|
||||
|
||||
generate
|
||||
if(FPGA_VENDOR == "xilinx")
|
||||
if(FPGA_VENDOR == XILINX)
|
||||
xilinx_byte_enable_ram #(LINES, preload_file, USE_PRELOAD_FILE) ram_block (.*);
|
||||
else
|
||||
intel_byte_enable_ram #(LINES, preload_file, USE_PRELOAD_FILE) ram_block (.*);
|
||||
|
|
|
@ -24,7 +24,11 @@ package taiga_config;
|
|||
|
||||
////////////////////////////////////////////////////
|
||||
//Vendor Selection
|
||||
localparam FPGA_VENDOR = "xilinx"; //xilinx or intel
|
||||
typedef enum {
|
||||
XILINX = 0,
|
||||
INTEL = 1
|
||||
} vendor_config_t;
|
||||
localparam vendor_config_t FPGA_VENDOR = XILINX;
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
//CSR Options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue