2012年4月5日

NRZI encode

摘要: NRZI diagram[2]First part is encoder, second part is decoder. Small modification is in the bit_stream sampling part.Some comments:1. use DFF to buffer the input2. use 1'b1 instead of 1, because during synthesis, 1 will be viewed as integer type:example, like adder, cnt + 1'b1; 1'b1 will 阅读全文

posted @ 2012-04-05 12:14 单向度的人 阅读(613) 评论(0) 推荐(0) 编辑

Grey encoder and decoder

摘要: Author: RuiReference from the website and wikipediaSomething to mention:1.$display always to display the last sampled value,may cause some mismatch in the screen output2.parameterized module design help to scalingGrey encoder//greyencoder,frombinaryinputtogreyoutput//algorithm://fromrightmost,x[i]xo 阅读全文

posted @ 2012-04-05 09:43 单向度的人 阅读(344) 评论(0) 推荐(0) 编辑

导航