SPI_Test/rtl/define/chip_define.v

24 lines
541 B
Verilog

//Defining Memory Types
//`define BEHAVIOR_SIM
//`define XILINX_FPGA
`define TSMC_IC
//Is the chip a 4-channel one?
//`define CHANNEL_IS_FOUR 1
//Whether to instantiate the XY-channel
`define CHANNEL_XY_ON 1
//Whether to instantiate the Z-channel
`define CHANNEL_Z_ON 1
//Setting the Number of SPI Slave Devices
`define SLVNUM 26
//Whether SPI Bus Commands Are Buffered
`define SPIBUS_CMD_REG 1
//Whether SPI Bus Readout Are Buffered
`define SPIBUS_OUT_REG 0
//Whether Mod mux dout Are Buffered
//`define MODDOUT_MUX_REG