在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 2842|回复: 7

FSM问题

[复制链接]
发表于 2004-4-22 15:27:46 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
请教各位大虾,什么叫做verbose one-hot encoding,/simplified one-hot encoding以及one-hot with zero-idle encoding,它们之间有什么区别,哪种情况下应采用相应的FSM编码方式?
发表于 2004-4-22 23:15:35 | 显示全部楼层

FSM问题

1:?
2:简化的独热编码
3:0空闲的独热编码?就是1有效,0无效的那种?
错了就当搞笑了:)
发表于 2004-4-23 00:22:02 | 显示全部楼层

FSM问题

parameter [4:0] IDLE = 5'b00001,
S1 = 5'b00010,
S2 = 5'b00100,
S3 = 5'b01000,
ERROR = 5'b10000;
Example 2 - Parameter definitions for verbose one-hot encoding
parameter [4:0] IDLE = 5'd0,
S1 = 5'd1,
S2 = 5'd2,
S3 = 5'd3,
ERROR = 5'd4;
Example 3 - Parameter definitions for simplified one-hot encoding
The simplified one-hot encoding shown Example 3 uses decimal numbers to index into the state
register. This technique permits comparison of single bits as opposed to comparing against the
entire state vector using the full state parameters shown in Example 2.
parameter [4:1] // ERROR is 4'b0000
IDLE = 4'd1,
S1 = 4'd2,
S2 = 4'd3,
S3 = 4'd4;
Example 4 - Parameter definitions for one-hot with zero-idle encoding
The one-hot with zero-idle encoding can yield very efficient FSMs for state machines that have
many interconnections with complex equations, including a large number of connections to one
particular state. Frequently, multiple transitions are made either to an IDLE state or to another
common state (such as the ERROR-state in this example).
以上引自 《State Machine Coding Styles for Synthesis》 Clifford E. Cummings
发表于 2004-4-23 18:03:43 | 显示全部楼层

FSM问题

State Machine Coding styles for Synthesis
这本书哪里有
发表于 2004-4-23 18:07:44 | 显示全部楼层

FSM问题

找到了

5_1214_4.rar

121.29 KB, 下载次数: 16 , 下载积分: 资产 -2 信元, 下载支出 2 信元

 楼主| 发表于 2004-4-26 08:34:09 | 显示全部楼层

FSM问题

多谢了!
发表于 2004-7-15 20:59:39 | 显示全部楼层

FSM问题

ths
发表于 2004-7-16 21:59:19 | 显示全部楼层

FSM问题

好东西
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

小黑屋| 手机版| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-5-14 00:42 , Processed in 0.028274 second(s), 11 queries , Gzip On, MemCached On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表