reg [71:0] DC;output reg NOERROR, UCERR;integer syndrome [0:255];reg [71:0] C [1:8]; // Constants
2023-03-16 16:56
你好 我们正在尝试使用EEGR寄存器编写ECC检测的启动测试(参考手册RM0037的表524)。然而,似乎一旦数据反转被强制(导致IVOR 2异常),它就会在从中断返回(rfi)后继续发生,而不管ESR(和其他ECSM寄存器)清除。 这是预期的行为,和/或是否有推荐的序列从EEGR注入的ECC错误中恢复? 谢谢 凯文以上来自于谷歌翻译以下为原文 Hi We're trying to write a startup test for ECC detection using the EEGR register (table 524 of the reference manual RM0037). However it appears as if once a data inversion is forced (resulting in an IVOR 2 exception) it continues to occur following return from interrupt (rfi) regardless of ESR (and other ECSM register) clearing. Is this expected behaviour, and/or is there a recommended sequence to recover from an EEGR-injected ECC error? Thanks Kevin
2019-04-08 06:02
我正在把一个老的MPLABX项目改编成和声框架。这个项目有两个函数,即SpReWreByTE()和SpReByTyter(),它允许在SPI接口上写入/读取一个字节。现在我遇到了一些问题。MHC中的SPI配置是阻塞模式-轮询模式-主模式-标准缓冲模式- 8位模式,而我的代码ISI在这里看到了一个例子,在“DrvISPixBuffEdReCuffe2函数”部分。上面的代码不起作用,我不明白为什么。谁能给我一个例子来写一个字节或者告诉我为什么我的函数不起作用? 以上来自于百度翻译 以下为原文 I'm adapting an old MPLABX project to the Harmony framework. This project had two functions, SPIWriteByte() and SPIReadByte(), which allow to write/read one byte over the SPI interface. Now in Harmony I have some problem. The SPI configuration in the MHC is - Blocking Mode- Polled Mode- Master Mode- Standard Buffer Mode- 8-bit Mode and my code is appData.spi0Handle = DRV_SPI_Open(DRV_SPI_INDEX_0, DRV_IO_INTENT_READWRITE|DRV_IO_INTENT_BLOCKING);DRV_SPI_BUFFER_HANDLE bufferHandle, bufferHandle2;unsigned char SPIWriteByte(unsigned char byte) { bufferHandle = DRV_SPI_BufferAddWrite2(appData.spi0Handle, &byte, 1, NULL, NULL, &bufferHandle2); if((bufferHandle2 != DRV_SPI_BUFFER_HANDLE_INVALID) && (DRV_SPI_BUFFER_EVENT_COMPLETE & DRV_SPI_BufferStatus( bufferHandle2 )))return 1; elsereturn 0;} //This is a simple main loopwhile(1){ ADS_CHIP_SELECT_Assert(); SPIWriteByte(0x20); ADS_CHIP_SELECT_Deassert();} I saw an example in the "DRV_SPI_BufferAddWrite2 Function" section here. The above code doesn't work and I don't understand why.Can anyone show me an example to write a single byte or tell me why my function doesn't work?
2019-04-19 11:11
导语:人脸识别已经在我们生活中随处可见,但人脸识别将会给我们生活带来便利的同时,也会重新改写我们社交的本质,以及引发隐私、公平等方面的道德讨论。2017年9月的《经济学人》杂志就人脸识别带给我们的优点以及危机,进行了深入的探讨,告诉我们,人脸识别不只是另一种技术,它将改变社会。以下为文章全文:
2019-07-16 06:26
许多行业的数据密集型应用持续突破界限,需要快速高效地传输有效载荷数据。5G通信网络系统要求基础设施及其连接器件具有更大带宽。在航空航天和防务行业中,这相当于雷达应用和复杂数据分析仪器要在更短的时间内处理更多信息。相应地,对快速增长的高带宽进行测试与分析便意味着需要使用速度更快、容量更大的电子测试设备。 对数据不断增长的需求导致JEDEC固态技术协会需要引入新的 JESD204 标准,以实现数据转换器和逻辑器件之间的高速串行 链路。该标准B版于2011年发布,串行链路数据速率提高至 12.5 Gbps,并确保了从一个供电周期到下一个供电周期有确定 性延迟,同时满足当时基于转换器的应用的更高带宽需求。该标准的最新版本JESD204C于2017年底发布,以继续支持当前和下一代多千兆数据处理系统性能要求的上升趋势。JESD204C 小组委员会为该标准的新修订版制定了四个高水平目标:提高通道速率以支持更高带宽应用的需求,提高有效载荷传输的效 率,改进链路稳健性。此外,他们希望编写一个比JESD204B更清晰的规范,同时修复该版本标准中的一些错误。他们还希望提供向后兼容JESD204B的选项。完整的JESD204C规范可通过 JEDEC获得。 本入门文章由两部分组成,旨在介绍JESD204C标准,着重说明其与JESD204B的不同之处,并详细阐明为达成上述目标、提供对用户更友好的接口、实现各行各业的带宽能力需求而引入的关键新特性。本系列的第一部分概述版本差异和新特性,第二部分将深入探讨最重要的新特性。
2021-01-01 07:44
最近的一个帖子问了这个问题:'你可以多少次重新编程一个Spartan设备?',给出的答案是“没有限制,你可以无限次地重新编程它们。”从理论上讲,给出的答案是正确的。然而,作为一名设计工程师,某些实际考虑需要我们的关注,并且应该得到实际的实际答案。假设:设计工程师24岁,预期寿命大约为80岁,但到57岁时将从活跃的设计工作中消失。换句话说,他(或她)对(个人)重新编程斯巴达设备感兴趣可能会持续不超过33年。在这33年积极的Spartan设备编程中,只有在前5年内,这位设计师才能成为单身,每周工作7天,平均每天工作12小时。一旦工程师(让我们假设一个非生育的男性,为了讨论的目的)结婚,工作生活可能会减慢一点 - 大概每周5天(平均),每个工作只有10个小时天。结婚后大约14年,工程师的孩子将进入青少年时期。毫无疑问,这将导致极大的情绪困扰和分心,这将妨碍设计工程师的工作效率,并将有效工作时间限制在每天6小时左右。这种生活方式可能会持续大约6年,当时孩子们已经上大学(无疑是为了成为一名设计师),或者已经离开家去加入旅游马戏团。随着所有孩子的成长和离开家庭(但不一定是经济或情感上的自我支持),设计工程师的生产力应该(再次)扩展到每天8小时(并且每个工作周仍然是5天)。工程师的这个阶段大致在49岁时开始,并且可能会持续到57岁时,可能会发生下列情况之一:晋升为经理,在这种情况下,所有进一步的实践技术工作立即停止。面临无所事事的虚荣和虚荣的中年危机,设计工程师完全离开了技术行业领域,开了一家自行车修理店(或带饮料吧的小书店)。让我们总结一下这个典型工程师的职业生涯:5(单)年,每年7x51个工作日,每天12小时,共计21 420个工作小时14个年轻人,每年5x50个工作日,每天10个小时,总工作时间35000个6个青少年年龄,每年5x48个工作日,每天6个小时,共计8 640个工作小时8个幻灭前的年份,每年5x48个工作日,每天8个小时,共计15个工作小时职业工作总时数为80 420假设在每个工作小时内,您可以(如果您认真尝试)将Spartan设备编程多达45次。“你可以为Spartan设备重新编程多少次?”这个问题的答案。实际上是3 618 900.换句话说,正确答案与“无限制,你可以无限次地重新编程”完全不同。你不能。很久以前,你会因久坐不动的荧光办公室生活方式而心脏病发作。您可以重新编程Spartan设备的次数的实际限制大约为360万。 - 鲍勃埃尔金德签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。阅读手册或用户指南。你读过手册了吗?你能找到手册吗?2。搜索论坛(并搜索网页)以寻找类似的主题。不要在多个论坛上发布相同的问题。不要在别人的主题上发布新主题或问题,开始新的主题!5。学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。提供有用的详细信息(请与网页,数据表链接).7。您的代码中的评论不需要支付额外费用。我没有支付论坛帖子的费用。如果我写一篇好文章,那么我一无所获。以上来自于谷歌翻译以下为原文A recent thread asked this question:'How many times can you re-program a Spartan device?', and the answer given was 'no limit, you can re-program them an infinite number of times.' In theory, the answer which was given is correct.As a design engineer, however, certain practical considerations demand our attention, and a practical real-world answer is deserved. Assumptions: Design engineer is 24 years old, has a life expectancy of perhaps 80 years old, but will burn out from active design work by the age of 57.In other words, his (or her) interest in (personally) re-programming Spartan devices is likely to last no more than another 33 years. Of those 33 years of active Spartan device programming, only during the first 5 years will this designer be single and working 7 days a week and an average of 12 hours per day. Once the engineer (let's presume a non-child-bearing male, for the purposes of discussion) is married, work life is likely to slow down a bit -- to perhaps 5 days per week (on average) and only 10 hours per working day. Some 14 years after marriage, the engineer's children will enter their teens.This will undoubtedly cause great emotional distress and distraction which will hamper the design engineer's productivity and limit effective work time to perhaps 6 hours per day.This lifestyle is likely to continue for roughly 6 years, when the kiddies have gone on to college (to train to be a designengineer, no doubt), or have left home to join the traveling circus. With all the kids grown and out of the home (but not necessarily financially or emotionally self-supporting), design engineer productivity should expand (once again) to perhaps 8 hours per day (and still 5 days per work week).This phase of the engineer's like begins roughly at age 49, and likely continues to the point at age 57 when one of the following is likely to happen: promotion to manager, in which case all further hands-on technical work immediately ceases.mid-life crisis confronting the futility and vanity of everything takes hold, and the design engineer leaves the technology industry field entirely to open a bicycle repair shop (or a small bookstore with a beverage bar).Let's sum up this typical engineer's career: 5 (single) years at 7x51 work days per year, 12 hours per day, for21 420 total work hours14 young-married years at 5x50 work days per year, 10 hours per day, for35 000 total work hours 6 teen-raising years at 5x48 work days per year, 6 hours per day, for8 640 total work hours 8 pre-disillusionment years at 5x48 work days per year, 8 hours per day, for 15 360 total work hours The grand total number of career work hours is 80 420 Assume that in each work hour, you can (if you try in earnest) program a Spartan device as many as 45 times. The answer to the question 'How many times can you re-program a Spartan device?' is, in fact, 3 618 900.In other words, the correct answer is quite different from 'no limit, you can re-program them an infinite number of times.'No, you cannot.You will die of a heart attack from your sedentary fluorescent-lit office lifestyle long before then. The practical limit for the number of times you can re-program a Spartan device is roughly 3,6 million. -- Bob ElkindSIGNATURE:README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369Summary:1. Read the manual or user guide.Have you read the manual? Can you find the manual?2. Search the forums (and search the web) for similar topics.3. Do not post the same question on multiple forums.4. Do not post a new topic or question on someone else's thread, start a new thread!5. Students: Copying code is not the same as learning to design.6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).7. You are not charged extra fees for comments in your code.8. I am not paid for forum posts.If I write a good post, then I have been good for nothing.
2019-06-21 08:03
设计I/O电路时有哪些关注重点?如何建立一个安静的区域?
2021-04-22 06:30
量子是什么?各种量子技术都是啥?量子计算机有啥用?怎么做?
2021-10-14 06:40