Forum: FPGA, VHDL & Verilog Sequence detector

Author: Javier Fresneda (consus)
Posted on:

Rate this post
0 useful
not useful
Basically I have to do the Verilog code for a syncronic system that 
detects during consecutive clock cycles either of the sequences 0110 or 
01011 (written with the first bit received at the left, last bit on the 
right) in the single serial input x.

The input x is 1-bit. The circuit must use a FSM of Moore's type. The 
direction of the sequence must be indicated by making the output of the 
circuit z be a logic 1.

Those are the instructions (they were in Spanish, so translation may not 
be perfect), all I managed to do is obtain the state diagram and table. 
Problem lies that the professor is basically having us self learn 
Verilog and do this homework which I dont even know how to start with.

Dont need the full code though I dont want my homework done for me, just 
a hint or something to point me in the right direction so I could finish 
this by myself.


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.