赛灵思
直播中

张一珠

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

怎么使用LUT设计一个4位二进制上变频计数器

嗨,
我需要使用LUT设计一个4位二进制上变频计数器。
我正在尝试遵循多路复用器方法。
任何想法都非常感谢。
谢谢
小学

以上来自于谷歌翻译


以下为原文

Hi ,

I need to design a 4bit binary up down counter using LUTs .  I am trying to follow multiplexer approach. Any Ideas are really appreciated.

Thanks
Pri

回帖(1)

张晓宁

2019-2-14 11:49:00
Verilog示例:
总是@(posedge clock)计数器
是的,这使用LUT,但它也使用寄存器。
寄存器对于实现计数器非常有用。
- 鲍勃埃尔金德
签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。
阅读手册或用户指南。
你读过手册了吗?
你能找到手册吗?2。
搜索论坛(并搜索网页)以寻找类似的主题。
不要在多个论坛上发布相同的问题。
不要在别人的主题上发布新主题或问题,开始新的主题!5。
学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。
提供有用的详细信息(请与网页,数据表链接).7。
您的代码中的评论不需要支付额外费用。
我没有支付论坛帖子的费用。
如果我写一篇好文章,那么我一无所获。

以上来自于谷歌翻译


以下为原文

Verilog example:
 
always @(posedge clock) counter <= upcount ? counter + 1 : counter - 1 ;
 
Yes, this uses LUTs, but it also uses registers.  Registers are quite useful for implementing counters.
 
-- Bob Elkind
SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
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.
举报

更多回帖

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