赛灵思
直播中

尹丽

7年用户 199经验值
私信 关注
[问答]

无法获取是否启用和重置Spartan6 BRAM信号

嗨,我正在尝试使用spartan6块rams作为真正的双端口ram,数据宽度为20bits。所以实例化的宏由xilinx.i提供.Spartan-6库指南用于HDL设计,但我无法获取是否启用和重置信号
ENA,ENB,RSTA和RSTB是高电平有效或低电平有效信号。进一步写入使能WEA和WEB为4位,数据宽度为19-36位。它的优点是什么?
提前致谢。

以上来自于谷歌翻译


以下为原文

Hi,i'm trying to use spartan6 block rams as true dual port ram,for data widths of 20bits.So instantiated macro as given by xilinx.i referred Spartan-6 Libraries Guide for HDL Designs,but i m not getting whether enable and reset signals  ENA,ENB,RSTA & RSTB are active high or active low signals.Further write enable WEA and WEB  are of 4 bits,for data widths of 19-36 bits.Whats the advantage of it?  


Thanks in Advance.

回帖(3)

杨玲

2019-7-26 13:28:40
1)所有控制信号均为高电平有效。
这适用于几乎所有内部​​信号和每个Xilinx原语。
清楚地注明了例外,并且信号名称中通常有一个尾随“N”。
2)“字节”写使能允许您使用BRAM的多字节接口,并且仍然一次写入一个字节而不使用读/修改/写周期。
对于小于32的位宽,这不是那么有趣,但对于使用32位或36位接口同时具有字节或16位数据类型的嵌入式处理器而言,它会产生很大的不同。
对于大多数其他应用程序,您可以将相同的值应用于所有4位。
-  Gabor
在原帖中查看解决方案

以上来自于谷歌翻译


以下为原文

1) All control signals are active high.  This applies to almost every internal signal and every Xilinx primitive.  Exceptions are clearly noted and usually have a trailing "N" in the signal name.
 
2) "byte" write enables allow you to use a multi-byte interface to the BRAM and still write one byte at a time without using read/modify/write cycles.  For bit widths less than 32 this is not so interesting, but it makes a big difference for embedded processors that use a 32 or 36 bit interface while having byte or 16-bit data types.  For most other applications you can just apply the same value to all 4 bits.
-- GaborView solution in original post
举报

杨玲

2019-7-26 13:37:25
1)所有控制信号均为高电平有效。
这适用于几乎所有内部​​信号和每个Xilinx原语。
清楚地注明了例外,并且信号名称中通常有一个尾随“N”。
2)“字节”写使能允许您使用BRAM的多字节接口,并且仍然一次写入一个字节而不使用读/修改/写周期。
对于小于32的位宽,这不是那么有趣,但对于使用32位或36位接口同时具有字节或16位数据类型的嵌入式处理器而言,它会产生很大的不同。
对于大多数其他应用程序,您可以将相同的值应用于所有4位。
-  Gabor

以上来自于谷歌翻译


以下为原文

1) All control signals are active high.  This applies to almost every internal signal and every Xilinx primitive.  Exceptions are clearly noted and usually have a trailing "N" in the signal name.
 
2) "byte" write enables allow you to use a multi-byte interface to the BRAM and still write one byte at a time without using read/modify/write cycles.  For bit widths less than 32 this is not so interesting, but it makes a big difference for embedded processors that use a 32 or 36 bit interface while having byte or 16-bit data types.  For most other applications you can just apply the same value to all 4 bits.
-- Gabor
举报

周玮

2019-7-26 13:54:33
谢谢Gabor。

以上来自于谷歌翻译


以下为原文

Thanks Gabor.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分