Binary divisor user guide, version 1.0
User guide.Release notes.
The "Binary Divisor" has four main areas:
- Input area: |
It has two input fields, "Dividend" and "Divisor". The input type of those two fields must be binary(a maximum of four characters [0-1] are only allowed). In case of error a note with some suggestions for the correction will be shown ("Error, Type only [0-1] characters"). |
- Change Language |
It has four links ("It", "Eng", "Help", "Info"). The first, "It", allow the user to change the language of the page to italian. The second, "Eng", allow the user to change the language of the page to english. The third, "Help", show suggestions regarding way of use of Binary divisor application. The fourth, "Info", show the information and specifications regarding the application. |
- Circuit area: |
It has the Binary divisor's graphic circuit representation. The following are the main components: Divisor M, it has the "Divisor" input field data, it's a register (an array of bit) and it's constant; Dividend Q, in the beginning it has the "Dividend" input field(it's a register), but in the end, when all operation are done, it will contain the quozient of the division; A register, initialized to "00000" will contain, step by step, the result of subtraction between itself and M(Divisor) register and, if is negative (in "With Restore" modality), it will be restored adding the value of "Divisor" subtracted in the last operation. When all operation are done, it will contain the rest of the division; Adder to n+1 bit (to prevent a possible overflow), sum A and M register; Controll sequentializer, check the a register last bit and determin determine if the number is positive or negative; |
- Functions area: |
It has three buttons ("Start", "Reset", "With restore/Without restore"): "Start" button will be replaced with "Next" button, that will allow to execute a single step. "Reset" button allow to reset registers, input fields, etc... the click on it, the user can start a new operation. "Modalities" button, by default setted to "With restore", allow to change the division methods ("With restore" or "Without restore"). When a division is requested, if the input field are empty, or if de divisor is 0, or if the divisor is greater than the dividend, the field will be marked by red and/or a pop up will warn the user of the error, otherwise if the two input are valid numbers, a table will be added and values will be initialized. |
- Operation area: |
Each row of the table will contain the executed operation and the values of the registers after this step. Under the table will be shown the information of the computational step executed (the executed operation). The circuit area will be updated, and will show in red, the "Rest" and "Quozient" labels near the relative registers. When all steps are done, a message will be shown to advise the user of the completion of the operation, showing at the same time information like the resto and the quozient. Lastly, on the right of the information of the computational step executed, a "New operation" button will be added, to allow to reset all and start a new operation. |
Dat: 23 July 2014
Simulator of Architettura degli elaboratori (2013-2014, U. Catania, DMI)