- π overview
- π» Get Started
- βοΈ How project Work
- π· Demo Screenshots
- π File Structure
- β¨ Contributors
Design and implementation the following components of the SPI modules using verilog such that they match the requirements of the development testbench and match the SPI specifications:
- Master
- Slave
- Self-Checking Testbenches for the Master and Slave.
- Clone the repository
git clone https://github.com/EslamAsHhrafSerial-Peripheral-Interface
-
Main File is
Serial-Peripheral-Interface/DevelopmentTB.v
- Read Project Description to undertand project vey well
- After each CLK the Master chose The Slave Again with CS with Enable One Slave and Disable the Other.
- At Test Bench of the Master is to Send and Receive data from many Slaves at Same Time This Is Mainly Testing the ability Of the Exchange Between the Master and Many Slaves.
- At Test Bench of The Slave Is to Receive Data from Master and makes shift Operation and Resend Shifted Data.
- It wait the signal of start to begin the transmission (also the master will read "masterDataToSend" in order to send it to the slave).
- And it takes 8 periods to send all data from the master to slave and slave to master.
- We make it with 2 test cases different.
Both the Master and the slave take shifting operation which the Master writes data to the MOSI and the Slave Writes data to the MISO.
Both the Master and the Slave make sampling operation which the Master reads data From the MISO and The Slave reads data from the MOSI
the data is shown on the MOSI and MISO line. The start and end of transmission is indicated by the dotted green line, the sampling edge is indicated in orange, and the shifting edge is indicated in blue. Please note these figures are for illustration purpose only. For successful SPI communications, users must refer to the product data sheet and ensure that the timing specifications for the part are met
Serial-Peripheral-Interface
βββ Code
β βββ Master.v
β βββ Master.v.bak
β βββ Master_tb.v
β βββ Master_tb.v.bak
βββ CMP1030 Project Description.pdf
βββ DevelopmentTB.v
βββ DevelopmentTB.v.bak
βββ Introduction-to-SPI-Interface.pdf
βββ Lincense
βββ README.md
βββ Report .pdf
Adham Ali |
Abd Elrhman Fathi |
Waer |
Eslam Ashraf |