文件名称:mspi
介绍说明--下载内容均来自于网络,请自行研究使用
通过SPI接口给一段位宽16位长度为8的配置寄存器进行赋值。这些配置寄存器均要求可读可写。并编写激励进行测试,先写后读,验证功能正确性。SPI接口电路的具体要求如下:
(1)输入信号为全局复位信号reset,片选信号cs,串行输入时钟信号sclk,串行数据输入信号sdi和串行数据输出信号sdo。
(2)每个传输周期进行一次16位的数据传输。每个传输周期内共传输24比特的数据,其中最开始的两个比特为10时表示读操作,最开始的两个比特为11时表示写操作,接着6个比特表示地址信息,再接下来的16个比特表示数据信息
-Through the SPI interface to a period of 16 length is 8-bit wide configuration register assignment. These configuration registers are readable and writable. And to prepare excitation test, read-after-write, verify functional correctness. Specific requirements SPI interface circuit as follows:
(1) the input signal is a global reset signal reset, chip signal cs, serial input clock signal sclk, serial data input signal and a serial data output signal sdi sdo.
(2) Each transmission cycle time 16-bit data transfer. A total of 24 bits of data transmission in each transmission cycle, wherein the top two bits 10:00 indicates a read operation, the top two bits 11:00 represented a write operation, then six bits represent address information, and then the next the 16 bits of data representing information
(1)输入信号为全局复位信号reset,片选信号cs,串行输入时钟信号sclk,串行数据输入信号sdi和串行数据输出信号sdo。
(2)每个传输周期进行一次16位的数据传输。每个传输周期内共传输24比特的数据,其中最开始的两个比特为10时表示读操作,最开始的两个比特为11时表示写操作,接着6个比特表示地址信息,再接下来的16个比特表示数据信息
-Through the SPI interface to a period of 16 length is 8-bit wide configuration register assignment. These configuration registers are readable and writable. And to prepare excitation test, read-after-write, verify functional correctness. Specific requirements SPI interface circuit as follows:
(1) the input signal is a global reset signal reset, chip signal cs, serial input clock signal sclk, serial data input signal and a serial data output signal sdi sdo.
(2) Each transmission cycle time 16-bit data transfer. A total of 24 bits of data transmission in each transmission cycle, wherein the top two bits 10:00 indicates a read operation, the top two bits 11:00 represented a write operation, then six bits represent address information, and then the next the 16 bits of data representing information
(系统自动生成,下载前可以参看下载内容)
下载文件列表
mspi
....\mspi.v
....\mspi_tb.v