简体   繁体   English

在verilog中是否有一种可综合的方式将IP内部引脚绑定到顶部

[英]Is there a synthesizable way in verilog to bind IP internal pins to top

I have a IP subsys in my SoC project, there are many sram macro inside it.我的 SoC 项目中有一个 IP 子系统,里面有很多 sram 宏。 Based on the sram library, there are some extra pins for sram speed config.基于 sram 库,有一些额外的引脚用于 sram 速度配置。 I need connect these pins to top of the IP.我需要将这些引脚连接到 IP 的顶部。 Is there a synthesizable way to do this in verilog, instead of patch IP RTL code to connect the pins through every hierarchy inside IP.在verilog中是否有一种可综合的方法来执行此操作,而不是修补IP RTL代码来通过IP内的每个层次结构连接引脚。

No, you are going to have to connect the requisite pins up the module hierarchy in order to access the requisite signals from the top level module.不,您必须将必要的引脚连接到模块层次结构中才能访问来自顶层模块的必要信号。 In synthesizable SystemVerilog you are only able to instantiate modules, and modules only allow you to access the signals they expose in their ports.在可综合的 SystemVerilog 中,您只能实例化模块,而模块仅允许您访问它们在其端口中公开的信号。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM