Join a National Hang Gliding Organization:US Hawks at ushawks.org View my rating at:US Hang Gliding Rating System Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
In this video Ben shows how to use a single 2K EEPROM to decode from binary output to decimal. The EEPROM is multiplexed to output the segments for each digit.
Join a National Hang Gliding Organization:US Hawks at ushawks.org View my rating at:US Hang Gliding Rating System Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
In this video Ben builds the output register, builds the data bus, and begins connecting modules together through the data bus.
The output register will hold the value being displayed. This will be similar to the other registers, but doesn't need to put anything out on the bus. So it won't need the 74LS245 used in other registers. Ben uses a 74LS273 chip containing 8 D flip flops as the register's memory. An additional AND gate is needed to combine the system clock with the enable signal for synchronous operation.
After building the output register, Ben builds the actual data bus and connects various modules to it. Ben adds 8 LEDs to show what's on the bus.
With the modules connected to the bus, Ben is able to manually exercise each module and its interactions with the other modules.
Join a National Hang Gliding Organization:US Hawks at ushawks.org View my rating at:US Hang Gliding Rating System Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
In this video, Ben routes the various control signals from each module down to a central control area where the signals can be both displayed and controlled. To make operation easier, Ben inverts all of the active low signals so that each control signal is on when active.
Join a National Hang Gliding Organization:US Hawks at ushawks.org View my rating at:US Hang Gliding Rating System Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
In this video Ben begins working on the actual control logic.
Ben starts out by manually executing various operations required to perform a simple program. This leads to the definition of operation codes for performing each instruction. Ben emphasizes that he can make up whatever commands (operation codes and instruction mnemonics) that he wants.
Ben defines several command instructions and programs them into memory. Then he manually works his way through the program by sequentially setting the control signals needed to carry out each instruction. Ben also manually controls the clock to step through what needs to happen for each instruction. This leads to the definition of the microcode that will carry out each individual instruction.
Join a National Hang Gliding Organization:US Hawks at ushawks.org View my rating at:US Hang Gliding Rating System Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
In this video, Ben begins to demonstrate microcoding. Ben begins by reviewing the manual process that will be automated.
Ben uses a 74LS161 counter to clock the microinstructions needed for each (macro) instruction. Ben inverts the system clock to use for clocking the microcode. Ben uses a 74LS138 to decode the microcode clock into the individual microcode step signals.
Ben wires up a few of the microcode instructions to demonstrate how it works.
Join a National Hang Gliding Organization:US Hawks at ushawks.org View my rating at:US Hang Gliding Rating System Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
In this video, Ben replaces the temporary control logic with a mapping from the CPU state to the control signals needed at that CPU state.
Ben builds a table of the CPU states and associated microcode for each step in each command. He implements this table using two 28C16 EEPROMs to map the CPU states into microcode commands to the control lines. The CPU states will be connected to the address lines of the EEPROMs and the data lines of the EEPROMs will be connected to the control signal lines.
Ben uses his manual EEPROM programmer to program the microcode for the 4 instructions of his first simple program (LDA, ADD, OUT, HALT). Then Ben is able to single step his way through the program at the microcode level to verify that it works. Eventually Ben is able to run his first real program:
Join a National Hang Gliding Organization:US Hawks at ushawks.org View my rating at:US Hang Gliding Rating System Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
Join a National Hang Gliding Organization:US Hawks at ushawks.org View my rating at:US Hang Gliding Rating System Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
In this video Ben uses his Arduino EEPROM programmer to expand the instruction set in the microcode to include a subtract instruction. Ben demonstrates the new instruction by computing 5 + 6 - 7 to get 4.
Join a National Hang Gliding Organization:US Hawks at ushawks.org View my rating at:US Hang Gliding Rating System Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.
Join a National Hang Gliding Organization:US Hawks at ushawks.org View my rating at:US Hang Gliding Rating System Every human at every point in history has an opportunity to choose courage over cowardice. Look around and you will find that opportunity in your own time.