Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I NEED FSM AND DATAPATH . CAN YOU DRAW ON PAPER Can you do this using Quartus? Thank you In this assignment you will design
I NEED FSM AND DATAPATH . CAN YOU DRAW ON PAPER
Can you do this using Quartus? Thank you In this assignment you will design cypher detector to be used for security. It will detect a particular number sequence incoming from an input. Use Quartus and Verilog HDL. Implement Control Unit and Datapath. Control Unit will be designed as 3 always blocks similar to we did in last lecture. Your design will get a 16-bit number showing the cypher. For instance if the cypher is 1-2-3-4 then the 16-bit input will be 010000110010 001. The second input is 4-bit from where you will read numbers sequentially. Third input will be the read input, which will be made 1 when the 4 -bit input is ready. If read input is you will not read the 4-bit number as it is not ready. Read each 4-bit number only at the positive edge of the read input. The last inputs are reset and clock signals. The first output of your design will be 1-bit signal, which becomes 1 only after the right cypher numbers are collected. The second output will be 8-bits and will show the sum of all numbers until the right cypher is detected. (See the example at the end) 1. Design your FSM on paper. 2. Design your datapath on paper. 3. Design your datapath on Verilog 4. Design your control unit on Verilog. 5. Write down the Verilog testbench. 6. Simulate and verify your design. An Example Case: Cypher: 001001100000001 (Cypher is 2-6-0-1) 4-bit inputs: 0000-0001-0011-0000-0011-0100-0001-0000-0010-0001-0001000001100010 The first output will become 1 after the last four numbers are observed. The second output will be 24, i.e. 00011000
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started