TAILIEUCHUNG - Behaviotal Modeling part 3

[ Team LiB ] Timing Controls Various behavioral timing control constructs are available in Verilog. In Verilog, if there are no timing control statements, the simulation time does not advance. Timing controls provide a way to specify the simulation time at which procedural statements will execute | Team LiB Timing Controls Various behavioral timing control constructs are available in Verilog. In Verilog if there are no timing control statements the simulation time does not advance. Timing controls provide a way to specify the simulation time at which procedural statements will execute. There are three methods of timing control delay-based timing control event-based timing control and level-sensitive timing control. Delay-Based Timing Control Delay-based timing control in an expression specifies the time duration between when the statement is encountered and when it is executed. We used delay-based timing control statements when writing few modules in the preceding chapters but did not explain them in detail. In this section we will discuss delay-based timing control statements. Delays are specified by the symbol . Syntax for the delay-based timing control statement is shown below. delay3 delay_value delay_value delay_value delay_value delay2 delay_value delay_value delay_value delay_value unsigned_number parameter_identifier specparam_identifier mintypmax_expression Delay-based timing control can be specified by a number identifier or a mintypmax_expression. There are three types of delay control for procedural assignments regular delay control intra-assignment delay control and zero delay control. Regular delay control Regular delay control is used when a non-zero delay is specified to the left of a procedural assignment. Usage of regular delay control is shown in Example 7-10. Example 7-10 Regular Delay Control define parameters parameter latency 20 parameter delta 2 define register variables reg x y z p q initial begin x 0 no delay control 10 y 1 delay control with a number. Delay execution of y 1 by 10 units latency z 0 Delay control with identifier. Delay of 20 units latency delta p 1 Delay control with expression y x x 1 Delay control with identifier. Take value of y. 4 5 6 q 0 Minimum typical and maximum delay values. Discussed in gate-level

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.