updated vendor selection config

This commit is contained in:
Eric Matthews 2021-11-15 14:08:04 -08:00
parent d8c587f90d
commit 17fcfa2a7b
2 changed files with 6 additions and 2 deletions

View file

@ -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 (.*);

View file

@ -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