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.
Did you click on 'Check and Save' button before running circuit? I think running circuit without checking and saving gives that error, I am not sure though.
okay. Then it's very easy. You need not create all those modules separately. just give cases as
3'b000: output = a+b;
3'b001: output = a>>1;
blah
blah
blah
Ah, Sorry, I didn't see that.
And I am not getting your exact question.
Can you please describe about your ALU and it's functioning(its operations) so that I can get your question?
You just have to call all those modules you have created in your main module(you have named it 'alu' i guess).
I hope you know calling one module in another module.
Yeah, and there's nothing like same state cannot be assigned twice or so. where would be state transition if input is 1 in state B or 0 in state C etc ? While drawing state diagram, take all possible cases into consideration, that would help you in complex problems for reducing circuit.
Question is bit unclear. what do you mean by 3 bit each? did you mean each location stores 3 bits of data?
By the way, for 2M locations, there will be 'n' address lines, where 2^n = 2M
And for 3 bits of data i guess there would be 3 data lines.
As you are designing non-overlapping sequence detector, if circuit is in E state and it gets input 0, it will go to state A with output being 0. You will write it as 0/0.
Do you need any other help with state machines?
All the best!
There are not specific rules for when to use which modelling. You can use any modelling type as per your needs, or even hybrid modelling too.
Usually we use behavioral modelling for sequential circuits and structural for combinational circuits.
It depends on whether you want synchronous circuit or asynchronous one. And there are many techniques to design it.
In synchronous you may first draw state diagram (moore or mealy), then according to flip flop conditions you may proceed (state assignment, nest states, equations etc).
In...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.