TAILIEUCHUNG - Công nghệ Số - Mạch Điện Tử part 2

Đại số Boole và các phương pháp biểu diễn hàm. Cổng logic TTL và CMOS. Mạch logic tổ hợp. Mạch logic tuần tự. Mạch phát xung và tạo dạng xung. Bộ nhớ bán dẫn. Ngôn ngữ mô tả phần cứng VHDL | What good are registers Flip-flops are limited because they can store only one bit. - We had to use two flip-flops for our two-bit counter examples. - Most computers work with integers and single-precision floatingpoint numbers that are 32-bits long. A register is an extension of a flip-flop that can store multiple bits. Registers are commonly used as temporary storage in a processor. - They are faster and more convenient than main memory. - Nm registers can help speed up complex calculations. bien Tu So 2 13 A basic register Basic registers are easy to build. We can store multiple bits just by putting a bunch of flip-flops together A 4-bit register from LogicWorks Reg-4 is on the right and its internal implementation is below. - This register uses D flip-flops so it s easy to store data without worrying about flip-flop input equations. - All the flip-flops share a common CLK and CLR signal. I CLK D3 Q3 D2 Q2 D1 Q1 DO QO Cl R D3 D2 D1 DO CLR CLK Q1 Q3 Q2 QO bien Tu So 2 14 Adding a parallel load operation The input b3-b0 is copied to the output Q3-Qo on every clock cycle. How can we store the current value for more than one cycle Let s add a load input signal Lb to the register. - If Lb 0 the register keeps its current contents. - If Lb 1 the register stores a new value taken from inputs b3-b0. D3 D2 DI DO CLR Lb CLK Q3 Q2 Q1 QO bien Tu So 2 .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.