arfaengg
Newbie level 4
- Joined
- Mar 16, 2015
- Messages
- 6
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 60
Plz tell how to do parts a, b, c.
Design algorithmic state machine comprising of controller and data path implemented in RTL based model, which can
find how many times a 4-bit feedable virus pattern occurs in a data file (data file is attached).
a) Draw structural block diagram of controller and data path along with signals.
b) Draw ASMD chart of the state machine.
c) Give RTL level Verilog description of controller (FSM) and data path.
Example for pattern matching: In pattern matching, a sequence is scanned bit by bit and once a required pattern is
found, the scan restarts from the next bit. For example, we have 11011101011 in the data file and pattern to be fed is
1011, the scanning process start form the left, we have 11 at that start (first and second bit) that is different from the
virus pattern (1011), since it’s a mismatch, the scan starts form the second bit. Upon restarting the scan from second
bit, we have found that the virus pattern exists in the next four bits, so the counter is incremented to one and the scan
restarts form sixth bit and this process continues until the end of file.
Input phase: Data files that contains large strings of binary sequence; is downloaded, either in the flash or in FPGA
memory. Use slide switches (SW0, SW1, SW2 and SW3) for feeding a 4 bit binary pattern.
Output phase: A Reset button (pushbutton BTN0) that resets the value of counter, and a Go button (pushbutton BTN1)
that displays the counter value (number of times the virus pattern exists in a data file) on both seven segment displays
(in decimal form) and on 8 LEDs (in binary form). Considering the above example, the seven segment should display 1
as well as the LED should display the binary form of 1.
Design algorithmic state machine comprising of controller and data path implemented in RTL based model, which can
find how many times a 4-bit feedable virus pattern occurs in a data file (data file is attached).
a) Draw structural block diagram of controller and data path along with signals.
b) Draw ASMD chart of the state machine.
c) Give RTL level Verilog description of controller (FSM) and data path.
Example for pattern matching: In pattern matching, a sequence is scanned bit by bit and once a required pattern is
found, the scan restarts from the next bit. For example, we have 11011101011 in the data file and pattern to be fed is
1011, the scanning process start form the left, we have 11 at that start (first and second bit) that is different from the
virus pattern (1011), since it’s a mismatch, the scan starts form the second bit. Upon restarting the scan from second
bit, we have found that the virus pattern exists in the next four bits, so the counter is incremented to one and the scan
restarts form sixth bit and this process continues until the end of file.
Input phase: Data files that contains large strings of binary sequence; is downloaded, either in the flash or in FPGA
memory. Use slide switches (SW0, SW1, SW2 and SW3) for feeding a 4 bit binary pattern.
Output phase: A Reset button (pushbutton BTN0) that resets the value of counter, and a Go button (pushbutton BTN1)
that displays the counter value (number of times the virus pattern exists in a data file) on both seven segment displays
(in decimal form) and on 8 LEDs (in binary form). Considering the above example, the seven segment should display 1
as well as the LED should display the binary form of 1.