TAILIEUCHUNG - SystemVerilog For Design phần 7

Một định nghĩa giao diện có thể được lồng vào nhau trong một mô-đun, làm cho tên của giao diện địa phương để mô-đun. Chỉ có các mô-đun chứa có thể tạo một giao diện tại địa phương tuyên bố. Điều này cho phép việc sử dụng một giao diện được giới hạn trong phần một của hệ thống phân cấp thiết kế, chẳng hạn như chỉ trong vòng một mô hình IP. | 236 SystemVerilog for Design .reg file sel reg file sel .zero_enable zero_enable .carry_enable carry_enable .polarity polarity .option isoption .tris istris .instruct reg instruct reg register_files regs .dout reg_file_out .tmr0_reg tmr0_reg .status_reg status_reg .fsr reg fsr reg .port_a port_a .port_b port_b .port_c port_c .trisa trisa .trisb trisb .trisc trisc .option_reg option_reg .w_reg w_reg .instruct_reg instruct_reg .program_data program_data .port_a_pins port_a_pins .data_bus data_bus .address reg_file_addr .clk clk .resetN resetN .skip skip .reg_file_sel reg_file_sel .zero_enable zero_enable .carry_enable carry_enable .w_reg_enable w_reg_enable .reg_file_enable reg_file_enable .zero zero .carry carry .special_reg_sel special_reg_sel .isoption isoption .istris istris alu alu .y data_bus .carry_out carry .zero_out zero .a alu_a .b alu_b Chapter 9 SystemVerilog Design Hierarchy 237 .opcode alu_opcode .carry_in status_reg 0 glue_logic glue .port_b_pins port_b_pins .port c pins port c pins .alu_a alu_a .alu_b alu_b .expan_out expan_out .expan_addr expan_addr .reg_file_addr reg_file_addr .reg file enable reg file enable .special_reg_sel special_reg_sel .expan_read expan_read .expan_write expan_write .skip skip .instruct_reg instruct_reg .program counter program counter .port_a port_a .port_b port_b .port_c port_c .data_bus data_bus .expan_in expan_in .fsr_reg fsr_reg .tmr0_reg tmr0_reg .status_reg status_reg .w_reg w_reg .reg_file_out reg_file_out .alu_a_sel alu_a_sel .alu_b_sel alu_b_sel .reg_file_sel reg_file_sel .polarity polarity .zero zero endmodule Named port connection advantages named port An advantage of named port connections is that they reduce the risk connections are of an inadvertent design error because a net was connected to the a preferred style wrong port. In addition the named port connections better document the intent of the design. In the example above it is very obvious which signal is intended to be connected to which port of the 238 .

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã 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.