110 likes | 337 Views
OpCode 16-Bit Processor (CapC4). Steven Brown Sherry Bo Liu Sun-Ae Kim Robert Pawlak. Introduction. 16 Bit instructions 12 Bit addresses (2^12)Bits (==512KB) of memory Implement in Logic Works 4.0 Followed Dr.Hasegawa’s design, for the most part. General Layout. Parts of the Processor.
E N D
OpCode 16-Bit Processor(CapC4) Steven Brown Sherry Bo Liu Sun-Ae Kim Robert Pawlak
Introduction • 16 Bit instructions • 12 Bit addresses (2^12)Bits (==512KB) of memory • Implement in Logic Works 4.0 • Followed Dr.Hasegawa’s design, for the most part.
Control Unit (CU) • CLOCK • 160,10 / low, up • 7 buffers with delay of 10 • Run Flip Flop to control the on/off status. • State Flip Flop to control Fetch/Execute status. • Automatically switches back to Fetch Cycle after once through Execution Cycle.
The Register File • Compilation of the KB, One, PC, G, and IR registers. • G<15> hard wired to simplify wiring of JMI (Jump if Negative) instruction. • Colours • Green: Keyboard; Yellow: Input; Red: Output; Blue: BUS
Arithmetic Logic Unit (ALU) • Combinational circuits are our favourite. • Made up of 16 ALU Bit Units (one for each bit) • Each one performs operations for one bit • Contains three registers built in: X, Y, and Z. • X: memory contents; Y: G Register contents; Z: result register
Memory Unit (RAM + PROM) • Contains • MAR and MBR registers. • 2k RAM and 2k PROM • PROM • starts at address 800hex • contains interrupt handling (not in ours) • RAM • starts at address RAM at 000hex • Contents varies (by design) ( See circuit for visual)
Problems Encountered • Logic Works cannot be trusted. =) • Timing issues. • Integration problems. • Testing memory takes a long time.
Conclusion • Too much time spent on testing and debugging. • Logic Works seems inconsistent at times. • Wires sometimes… disappear. • But.. Good hands-on experience.