SPI_Test/tb/chip_top/chip_define.v

24 lines
542 B
Coq
Raw Permalink Normal View History

2024-06-25 16:41:01 +08:00
//Defining Memory Types
//`define BEHAVIOR_SIM
//`define XINLINX_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