TAILIEUCHUNG - The VHDL Cookbook phần 5

Phần khai báo tờ khai cấu hình cho phép cấu hình để sử dụng các mục từ các thư viện và các gói. Cấu hình khối ngoài cùng trong việc khai báo cấu hình xác định cấu hình cho một kiến trúc của thực thể được đặt tên. Ví dụ, trong Chương 3, chúng tôi đã có một ví dụ về một thực thể xử lý và kiến trúc, đã phác thảo một lần nữa trong | 5. Model Organisation 5-3 entity processor is generic max_clock_speed frequency 30 MHz port port list end processor architecture block_structure of processor is declarations begin control_unit block port port list port map association list declarations for control_unit begin statements for control_unit end block control_unit data_path block port port list port map association list declarations for data_path begin statements for data_path end block data_path end block_structure Figure 5-1. Example processor entity and architecture body. port_map_aspect port map port_association_list The declarative part of the configuration declaration allows the configuration to use items from libraries and packages. The outermost block configuration in the configuration declaration defines the configuration for an architecture of the named entity. For example in Chapter 3 we had an example of a processor entity and architecture outlined again in Figure5-1. The overall structure of a configuration declaration for this architecture might be configuration test_config of processor is use work. for block_structure configuration items end for end test_config In this example the contents of a package called processor_types in the current working library are made visible and the block configuration refers to the architecture block_structure of the entity processor. Within the block configuration for the architecture the submodules of the architecture may be configured. These submodules include blocks and component instances. A block is configured with a nested block configuration. For example the blocks in the above architecture can be configured as shown in Figure5-2. Where a submodule is an instance of a component a component configuration is used to bind an entity to the component instance. To illustrate suppose the data_path block in the above example contained an 5-4 The VHDL Cookbook configuration test_config of processor is use work. for .

TỪ KHÓA LIÊN QUAN
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.