完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我试图找到一个很好的解释如何写一个COE文件,要么没有一个好的写,或者我没有找到它。
对此表单进行搜索并未对分布式ROM的COE文件做出任何好的解释。 我有一个6个地址输入(64个存储单元)由6个数据输出分布式ROM实例由核心生成,使用ISE 4.4为S6部分。 我能找到的几乎所有内容如下: 但是没有任何解释这个向量是什么以及如何编写它。 我想它与初选中的init字段类似,但是,嘿,让我们确定,因为它不在文档中。 ************************************************** **************** ************分布式内存.COE文件示例*********** ************************************************** **************** ; 分布式内存v2.0和。的示例内存初始化文件 ; 后来。 ; ; 此.COE文件与分布式内存核心的v1.0不兼容。 ; ; 该示例指定深度= 32的内存的初始化值, ; 和宽度= 16。 在这种情况下,值以十六进制指定 ; 格式。 memory_initialization_radix = 16; memory_initialization_vector = 23f4 0721 11ff ABe1 0001 1 0A 0 23f4 0721 11ff ABe1 0001 1 0A 0 23f4 721 11ff ABe1 0001 1 A 0 23f4 721 11ff ABe1 0001 1 A 0;这在PG036中并没有好多少: memory_initialization_vector。 每行存储器元件用二进制,十进制或十六进制数定义,具有等效二进制值,表示沿行宽度的单个存储器元件是否设置为“1”或“0”。每行存储器初始化 由逗号或空格分隔,直到记忆的深度。 不允许使用负值。示例COE文件:; 16x32分布式ROMmemory_initialization_radix = 16的样本初始化文件; memory_initialization_vector = 23f4 0721 11ff ABe1 0001 1 0A 023f4 0721 11ff ABe1 0001 1 0A 023f4 721 11ff ABe1 0001 1 A 023f4 721 11ff ABe1 0001 1 A 0; 地址值在哪里? 输出值在哪里? 底部2个条目似乎缺少位。 伦纳德 以上来自于谷歌翻译 以下为原文 I'm trying to find a good explanation of how to write a COE file, either there is not a good write up or I'm not finding it. Doing a search on this form has not produced any good explanation on COE files for distributed ROM. I have a 6 address inputs (64 memory locations) by 6 data outputs distributed ROM instance generated by core gen using ISE 4.4 for a S6 part. Pretty much all I can find is below: But there is not any explanation what the vector is and how to write it. I imagine it is similar to the init field in the primatives but , hey lets be sure since it's not in the documentation. ****************************************************************************** Example of Distributed Memory .COE file *****************************************************************************; Sample memory initialization file for Distributed Memory v2.0 and ; later.; ; This .COE file is NOT compatible with v1.0 of Distributed Memory Core.; ; The example specifies initialization values for a memory of depth= 32, ; and width=16. In this case, values are specified in hexadecimal; format.memory_initialization_radix = 16;memory_initialization_vector = 23f4 0721 11ff ABe1 0001 1 0A 0 23f4 0721 11ff ABe1 0001 1 0A 0 23f4 721 11ff ABe1 0001 1 A 0 23f4 721 11ff ABe1 0001 1 A 0; This is in PG036 which is not much better: memory_initialization_vector. Each row of memory elements are defined with a binary, decimal, or hexadecimal number having an equivalent binary value that represents whether an individual memory element along the width of the row is set to ‘1’ or ‘0.’ Each row of memory initialization is separated by a comma or white space, up to the depth of the memory. Negative values are not allowed. An example COE file: ; Sample Initialization file for a 16x32 distributed ROM memory_initialization_radix = 16; memory_initialization_vector = 23f4 0721 11ff ABe1 0001 1 0A 0 23f4 0721 11ff ABe1 0001 1 0A 0 23f4 721 11ff ABe1 0001 1 A 0 23f4 721 11ff ABe1 0001 1 A 0; where are the address values? where are the output values? The bottom 2 entries seem to be missing bits. Leonard |
|
相关推荐
4个回答
|
|
你好
COE文件中的数据从上到下读取,位置0位于顶部,向下移动到深度-1,地址位置未在“.coe”文件中指定。 您可以通过以下过程生成一个简单的coe文件,检查文件中的格式,以便更好地了解值的表示方式。 1.可以从脚本文件访问内存编辑器。 在ISE安装附件下的Comand promt中使用mem_edit.bat。 2.将内存数据值直接输入Memory Editor GUI,然后选择File - > Generate - > COE files以创建COE文件。 我已生成一个简单的32深度和16宽度coe文件并附加它。 问候,萨蒂什----------------------------------------------- --- --------------------------------------------请注意 - 如果提供的信息有用,请将答案标记为“接受为解决方案”。给予您认为有用的帖子。感谢.-- ---------------------------- --------------------- ---------------------- 在原帖中查看解决方案 definition1_mem1.coe 1 KB 以上来自于谷歌翻译 以下为原文 Hi The data in the COE files are read from top to bottom, with location 0 at the top and moving down to depth-1, address locations are not specified in the ".coe" file. You can generate a simple coe file by below process check the format in the file to have a better idea on how the values are represented. 1.Memory Editor can be accessed from a script file. Use mem_edit.bat in the Comand promt available under the accessories of the ISE installation. 2.Enter your memory data values directly into the Memory Editor GUI and then select File -> Generate -> COE files(s) to create the COE files. I have generated a simple 32 depth and 16 width coe file and attached it. Regards, Satish ---------------------------------------------------------------------------------------------- Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful. Give Kudos to a post which you think is helpful. ---------------------------------------------------------------------------------------------View solution in original post definition1_mem1.coe 1 KB |
|
|
|
似乎只有空格用于分隔符,并且前导零不在文件中。
它是否正确? 大号 以上来自于谷歌翻译 以下为原文 It appears that only spaces are used for delimiters and the leading zeros are not in the file. Is this correct? L |
|
|
|
你好
COE文件中的数据从上到下读取,位置0位于顶部,向下移动到深度-1,地址位置未在“.coe”文件中指定。 您可以通过以下过程生成一个简单的coe文件,检查文件中的格式,以便更好地了解值的表示方式。 1.可以从脚本文件访问内存编辑器。 在ISE安装附件下的Comand promt中使用mem_edit.bat。 2.将内存数据值直接输入Memory Editor GUI,然后选择File - > Generate - > COE files以创建COE文件。 我已生成一个简单的32深度和16宽度coe文件并附加它。 问候,萨蒂什----------------------------------------------- --- --------------------------------------------请注意 - 如果提供的信息有用,请将答案标记为“接受为解决方案”。给予您认为有用的帖子。感谢.-- ---------------------------- --------------------- ---------------------- definition1_mem1.coe 1 KB 以上来自于谷歌翻译 以下为原文 Hi The data in the COE files are read from top to bottom, with location 0 at the top and moving down to depth-1, address locations are not specified in the ".coe" file. You can generate a simple coe file by below process check the format in the file to have a better idea on how the values are represented. 1.Memory Editor can be accessed from a script file. Use mem_edit.bat in the Comand promt available under the accessories of the ISE installation. 2.Enter your memory data values directly into the Memory Editor GUI and then select File -> Generate -> COE files(s) to create the COE files. I have generated a simple 32 depth and 16 width coe file and attached it. Regards, Satish ---------------------------------------------------------------------------------------------- Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful. Give Kudos to a post which you think is helpful. --------------------------------------------------------------------------------------------- definition1_mem1.coe 1 KB |
|
|
|
顺便说一句,由于某种原因,我无法通过cmd promt或点击它来获取mem_edit。
我在64位模式下运行Windows 7。 我试过两个版本的32位和64位mem_edit 以上来自于谷歌翻译 以下为原文 btw for some reason I can not get mem_edit to do anything, either from a cmd promt or clicking on it. I'm running Windows 7 in 64 bit mode. I have tried both versions the 32 bit and 64 bit mem_edit |
|
|
|
只有小组成员才能发言,加入小组>>
2420 浏览 7 评论
2823 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2294 浏览 9 评论
3374 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2461 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
1168浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
585浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
451浏览 1评论
2005浏览 0评论
729浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 12:36 , Processed in 1.470858 second(s), Total 84, Slave 68 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号