Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

ASM for comparing 2 data streams

Status
Not open for further replies.

jonnybgood

Full Member level 4
Full Member level 4
Joined
Dec 28, 2010
Messages
214
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,298
Activity points
3,011
I designed a hardware block diagram for a system that checks if two data streams (each 32-bits long) are identical.

As a black box, the system has Data A, data B, Start, Clk, reset, Ready (for when all 32-bits are checked), Identical (after 32-bits checked and all the same), Not_equal (when the two stream are not identical). Each output signal must be only after all the 32-bits are checked.

Attached is my attempt for the hardware block diagram, and ASM. Are there an flaws in my design so far? After I need to convert the ASM to an FSM but I am not sure I have to consider all the states since the FSM would need 64 states due to the 32-bit long stream (log_2_32 = 5) and the A==B bit (to remember). thanks
 

Attachments

  • comparer_asm.png
    comparer_asm.png
    71.6 KB · Views: 90
  • data_comp.png
    data_comp.png
    23.5 KB · Views: 92

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top