当前位置:首页 > EDA > 电子设计自动化
[导读]在IC设计中,我们有时会使用深度很大,位宽很小的ram。例如深度为1024,位宽为4bit的ram。此类的ram有个明显的缺点:形状狭长,不利于布局布线、导致读写接口走线过长,不利于时序收敛。

IC设计中,我们有时会使用深度很大,位宽很小的ram。例如深度为1024,位宽为4bit的ram。此类的ram有个明显的缺点:形状狭长,不利于布局布线、导致读写接口走线过长,不利于时序收敛。

此时为了方便布局布线和时序收敛,我们通常会进行折叠设计。如下图所示,深度为1024,位宽为4bit的双端口1r1w的ram,有一个读接口,一个写接口,支持同时读写操作,出于以上考虑,我们会进行折叠设计,采用2个128x32的1r1w的ram实现。如图所示:两个2个128x32存储的内容完全一致。

无论是否进行折叠设计,ram接口信号位宽均一致。读写地址位宽为10bit,读写数据位宽为4bit。部分ram读写接口信号如下

信号

位宽

描述

waddr

10

写地址

wen

1

写使能信号,1表示写有效

wdata

4

写数据

raddr

10

读地址

ren

1

读使能信号,1表示读有效

rdata

4

读数据


IC设计:ram的折叠设计

信号位宽描述

waddr10写地址

wen1写使能信号,1表示写有效

wdata4写数据

raddr10读地址

ren1读使能信号,1表示读有效

rdata4读数据

RAMMXHYEtzSHBX2/N0eQAWUEqxAyDpiLhVP/wJ+CDBQqWw3VqlGroqqkdO7roGY1gWdWZUqL0PTZkKlEVdSpb4EGFrVRo3o1VK0qwletgirVaqPKgC3YYxv/0ORvCPrwHLaikzp79hwsD16HnZvokDV3kyps57Qxidnmb+93YOcQozhri/TTHChYeSb22IXJ5wrF7hojJO45WKZla2Hh9c94aWuLh5fP4PyFy7h88ZLQy7hy5RrOXTiDfYuGYXANU2mNl5JGGrMysBiyCnvP3cStG9dgJcqJcS5duISrVldx0+YAZjSqoHHckkGrTMeK5/748mIN5lpo7JVQizGbcVkeLhLv+QWelydgUFnNdDaTvMjQZwHWX3qIl46fhWN6F9dX90DD7PwYYIysZUdj4lnnfxx5EPZ0K5a0yYF0P2xdHlTvvhVX4lb9HxL3HKz6qLrgAZyCQ4SX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SRfzPmLC8DwUqC8GUVw6LWoOtTWBQDwTIQLF3kd2LOePpgzrSJuYFg6SbJhbka0RdzxiXm/NVVFMzVYKaNuZq8Mw7T1gdzA8EyEKykijbmaiQ5MGd8NfWNYiBYBoKli/ybMWd5GQhWEoQvqxgWtQZdn8KiGAiWgWDpIr8Tc8bTB3OmTcwNBEs3SS7M1Yi+mDMuMeevrqJgrgYzbczV5J1xmLY+mBsIloFgJVW0MVcjyYE546upbxQDwTIQLF3k34w5y8tAsJIgfFnFsKg16PoUFsVAsAwESxf5nZgznj6YM21ibiBYuklyYa5G9MWccYk5f3UVBXM1mGljribvjMO09cHcQLAMBCupoo25GkkOzBlfTX2jGAiWgWDpIv9mzFle/zcIFvD/AHFyiuAiw7xSAAAAAElFTkSuQmCC" alt="IC设计:ram的折叠设计" />

进行写操作时:

使用waddr[9:5] 作为读地址,读128x32_ram_u0,获得rdata[31:0]

使用waddr[4:0] 选择rdata[31:0]中一个bit,

使用wdata[0:0]进行替换,得到写入数据wdata_inter[31:0]

使用waddr_dly[9:5] 作为写地址,将wdata_inter[31:0]作为写数据同时写入128x32_ram_u0和128x32_ram_u1。 进行读操作时:

使用raddr[9:5] 作为读地址,读128x32_ram_u1,获得rdata1[31:0]

使用raddr[4:0] 选择rdata1[31:0]中一个bit,赋值给o_rdata。

IC设计:ram的折叠设计

为什么需要用两个128x32的ram?

因为1024x1_1r1w_ram_wrapper需要同时支持读写操作,而在折叠设计中,写操作需要先读ram,读操作也需要读ram,如果仅仅使用1个128x32的ram,就会出现有两个读请求同时产生,因此为了避免出现此冲突,需要2个128x32的ram才能实现

本站声明: 本文章由作者或相关机构授权发布,目的在于传递更多信息,并不代表本站赞同其观点,本站亦不保证或承诺内容真实性等。需要转载请联系该专栏作者,如若文章内容侵犯您的权益,请及时联系本站删除。
换一批
延伸阅读

9月2日消息,不造车的华为或将催生出更大的独角兽公司,随着阿维塔和赛力斯的入局,华为引望愈发显得引人瞩目。

关键字: 阿维塔 塞力斯 华为

加利福尼亚州圣克拉拉县2024年8月30日 /美通社/ -- 数字化转型技术解决方案公司Trianz今天宣布,该公司与Amazon Web Services (AWS)签订了...

关键字: AWS AN BSP 数字化

伦敦2024年8月29日 /美通社/ -- 英国汽车技术公司SODA.Auto推出其旗舰产品SODA V,这是全球首款涵盖汽车工程师从创意到认证的所有需求的工具,可用于创建软件定义汽车。 SODA V工具的开发耗时1.5...

关键字: 汽车 人工智能 智能驱动 BSP

北京2024年8月28日 /美通社/ -- 越来越多用户希望企业业务能7×24不间断运行,同时企业却面临越来越多业务中断的风险,如企业系统复杂性的增加,频繁的功能更新和发布等。如何确保业务连续性,提升韧性,成...

关键字: 亚马逊 解密 控制平面 BSP

8月30日消息,据媒体报道,腾讯和网易近期正在缩减他们对日本游戏市场的投资。

关键字: 腾讯 编码器 CPU

8月28日消息,今天上午,2024中国国际大数据产业博览会开幕式在贵阳举行,华为董事、质量流程IT总裁陶景文发表了演讲。

关键字: 华为 12nm EDA 半导体

8月28日消息,在2024中国国际大数据产业博览会上,华为常务董事、华为云CEO张平安发表演讲称,数字世界的话语权最终是由生态的繁荣决定的。

关键字: 华为 12nm 手机 卫星通信

要点: 有效应对环境变化,经营业绩稳中有升 落实提质增效举措,毛利润率延续升势 战略布局成效显著,战新业务引领增长 以科技创新为引领,提升企业核心竞争力 坚持高质量发展策略,塑强核心竞争优势...

关键字: 通信 BSP 电信运营商 数字经济

北京2024年8月27日 /美通社/ -- 8月21日,由中央广播电视总台与中国电影电视技术学会联合牵头组建的NVI技术创新联盟在BIRTV2024超高清全产业链发展研讨会上宣布正式成立。 活动现场 NVI技术创新联...

关键字: VI 传输协议 音频 BSP

北京2024年8月27日 /美通社/ -- 在8月23日举办的2024年长三角生态绿色一体化发展示范区联合招商会上,软通动力信息技术(集团)股份有限公司(以下简称"软通动力")与长三角投资(上海)有限...

关键字: BSP 信息技术
关闭