
디지털시스템설계실습_HW_WEEK7
본 내용은
"
디지털시스템설계실습_HW_WEEK7
"
의 원문 자료에서 일부 인용된 것입니다.
2023.06.14
문서 내 토픽
-
1. DFF with synchronous reset and enable이번 실습에서는 DFF with synchronous reset and enable를 구현하였습니다. 실습 강의노트에 주어진 코드를 입력했지만, 결과 파형을 분석할 때 Q와 QBAR의 값이 반전되지 않는 결과가 생겼습니다. 이는 변수명을 잘못 입력해 생긴 결과였지만, 강의노트에 있는 모듈 코드에서 posedge clk과 'negedge reset'을 추가한 것이 asynchrous 일 때 쓰는 것처럼 보였습니다. 또한 D-FF의 동작원리에 대해서도 다시 한 번 복습할 수 있었습니다.
-
2. 8-bit Register8-bit Register를 구현하면서 register의 동작원리를 이해할 수 있었습니다. 과제에서는 ld = 1이면 input값인 D가 Q에 저장되면서 메모리의 역할을 하는 것을 알 수 있었고, 8bit로 선언했기 때문에 8bit가 저장되는 것을 알 수 있었습니다.
-
3. 4-digit Seven Segment Display4-digit Seven Segment를 구현하면서 Hierarchical Modeling을 조금 이해할 수 있었습니다. 실습 강의노트에 있는 이미 구현된 하위모듈들을 TOP 모듈에 가져와 동작하는 것은, 이전에 했던 4bit full adder를 구현하는 방법과 비슷해보였습니다. 하지만 이번 과제에서는 named association과 같이 변수 옆에 () 를 추가해 C언어에서 매개변수의 역할처럼 이용되는 것을 경험해볼 수 있었습니다.
-
1. DFF with synchronous reset and enableDFF (D Flip-Flop) with synchronous reset and enable is a fundamental digital circuit component that is widely used in various digital systems. The synchronous reset feature ensures that the flip-flop's state is reset to a predefined value (typically 0) on the active edge of the clock signal, regardless of the input data. The enable feature allows the flip-flop to be selectively updated, providing more control over the circuit's behavior. This combination of reset and enable functionalities makes the DFF with synchronous reset and enable a versatile and reliable building block for digital logic design. It is commonly used in counters, registers, and other sequential circuits where the ability to reset and enable the state of individual flip-flops is crucial for proper system operation. The synchronous nature of the reset also helps to simplify the design and improve the overall reliability of the circuit by avoiding potential race conditions or metastability issues that can arise with asynchronous reset mechanisms.
-
2. 8-bit RegisterAn 8-bit register is a fundamental digital circuit component that is used to store and manipulate 8-bit data. It consists of eight individual flip-flops, each capable of storing a single bit of information. The 8-bit register provides a convenient way to handle and process 8-bit data, which is a common data width in many digital systems, such as microprocessors, microcontrollers, and digital signal processing (DSP) applications. The ability to read, write, and shift the contents of the register makes it a versatile building block for a wide range of digital circuits and systems. 8-bit registers are often used in CPU registers, memory address registers, and data buffers, where the need to temporarily store and manipulate 8-bit data is crucial for the overall functionality of the system. The synchronous operation and the ability to enable or disable the register's update provide designers with the necessary control and flexibility to integrate the 8-bit register into complex digital designs.
-
3. 4-digit Seven Segment DisplayThe 4-digit seven segment display is a versatile and widely used output device in digital systems. It consists of four individual seven segment displays, each capable of displaying a single decimal digit (0-9) or a limited set of alphanumeric characters. The 4-digit configuration allows for the representation of numbers up to 9999, making it suitable for a variety of applications, such as digital clocks, counters, and measurement instruments. The seven segment display is a simple and cost-effective solution for displaying numerical information, as it requires a relatively small number of input signals to control the individual segments. The ability to multiplex the four digits, by activating one digit at a time, further reduces the number of required input signals and allows for a more compact and efficient design. The 4-digit seven segment display is a common interface between digital circuits and human-readable output, providing a clear and intuitive way to present numerical data to the user. Its widespread use in various electronic devices and its ease of integration with microcontrollers and other digital logic make it an essential component in many embedded systems and digital design projects.