Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Building a certain machine

Status
Not open for further replies.

EngIntoHW

Member
Hey.

The question goes like this:
The machine has one input and one output.
The machine receive a series of M bits each time (in each clock, a bit is received).
The machine returns a series of M bits, in which if in the input series, '1' appeared firstly in index 'i', then the machine would return '1' in the same index, and zero in the rest.

For example:
for M=3:
CLK:____ 1-2-3-4-5-6-7-8-9
Input:___ 1-1-0-1-0-1-0-0-1
Output:__1-0-0-1-0-0-0-0-1

That is what I did so far:
untitled-jpg.45770


However, How can I nicely restart everything after M-bit series is received?

Thanks! :)
 

Attachments

  • untitled.JPG
    untitled.JPG
    26.1 KB · Views: 331
Last edited:
Status
Not open for further replies.

Latest threads

Back
Top