- #1
sham_rulz
- 1
- 0
Homework Statement
Hello!
As a part of my course i am required to produce a 4 bit ALU using altera quartus. However i have very little experience with the software and cannot continue.
the input data is 2 4bit numbers A & B. The data should be read by the positive edge trigger of a clock plus and the data has to be output at a later pulse.
A and B are 4 bit binary numbers where A is greater always and the output is a 5 bit binary number.
IP instruction
0 0 Add A and B
0 1 Subtract B from A
1 0 Multiply A by 2
1 1 Divide A by 2
Homework Equations
The Attempt at a Solution
I tried solving this using the megawizard plug in manager where i found the ALU's for the functions but i cannot implement them in the design. Also am i supposed to use flip fllops or registers?
Any help would be appreciated!