Profiel van WenweiIntermilan Forever FanFoto'sWeblogLijstenMeer Extra Help

Wenwei Zha

Beroep
Plaats
Interesses
18岁前:芜湖人(育红幼儿园-〉安师大附小-〉芜湖一中)
18岁--22岁:北京人(海淀区-〉清华电机)
22岁--24岁:密苏立大学罗拉分校
24岁--25:ESS Technology的ASIC Engineer。工作真的是比学校累啊,不过人还是忙一些好,特别是年轻、还能学得动的时候。
25--?? @VT,也许是我的宿命吧,哪怕是注定要犯的错……
吾不能变心以从俗兮,
故将愁苦而终穷!

Windows Media Player

Intermilan Forever Fan

My life can be an open book, but will you understand? (intermilan00 @ newsmth, zixia and mitbbs)
free hit counter
Walmart
请务必点击类别,以防被废话烦死
16 december

我太牛了!

早上拿着杂七八啦的东西这儿那儿的办事,9:40左右离开系里,去Orlando开会的登机牌、停车、吃饭的收据还在那个信封里,10:05左右到Student Insurance Office,忽然发现信封里的东西不见了。10:20出来,坐Bus回去,快11点回到West Campus Dr & Perry Street的车站。猛发现,站牌旁边草地上不正是一张登机牌吗?于是以站牌为圆心,搜寻半径200米以内的270度大圆……4张登机牌不费吹灰之力的在这里那里找到了,可是最要紧的一张停车收据、一张Berger King收据仍然再逃——这两张估计是能报销的。经过10分钟艰苦卓绝的搜寻,居然都找到了……我真是太天才了!完成这样的任务,冷静的分析、尖锐的观察、从容的执行,缺一不可啊!!(且不管收据能否最终报销,我已然十分Happy了!!)
 
好久没和同学聊天了,晚上勾搭了一下SS和红哥。SS刚遭横祸,电脑主机被盗——小偷撬窗而入,好不嚣张;红哥重返台球桌威风不减,就是找工作找的些许上火……
 
两个半月没在这里耕种了,我真是懒得可以……慢说没在这儿写流水账,就是兄弟姐妹们的space也很少去。不过比起某些一年没写的,还是要强一些,哇哈哈……平时晚上在实验室的多(虽然没干啥正事),周末基本都在Lynchburg,不在那儿的周末基本都是实验室忙得不可开交。其实在实验室很多时间,可以写写Blog(比如最近同步进行资治通鉴三国部分、毛批三国演义、袁阔成评书三国演义,比如终于再次开始整理音乐),可是,上个星期三,也就是差不多是我装了scim近10个月之后,我终于发现了如何在Ubuntu里输入中文。原来Firefox的文本框不行,在VI里是可以的……nnd,我真白痴……于是马上兴奋的用中文给老沈回了一个信。
 
年纪大了,身体还真是不行了。10月底被流感击倒,极似猪的——持续低烧,胃口不好,剧烈咳嗽,唯一奇怪的是一直没怎么鼻塞、留鼻涕。居然修养了2周,其中有几天甚至基本卧床不起!貌似有十几年没病成这样了,居然沦落到去校医院的地步了,还去了两次——第一次虽然病重,人家根本不希得我,护士量体温说正常,开点免费药把我踢走了。我的体温也正是不争气,早上起来到中午前,也就是我第一次去校医院的时段,还真是正常,人也没啥不舒服。到了中午,就开始头晕,下午晚上外带四肢都舒服……可不是得卧床不起。第二次再去医院,倒是看了一个医生,也没说啥,开了些我认为挺贵的药了事。还有就是11月底赶12月的CHREC的年会。前后熬了2、3个通宵,另外4、5次搞到3、4点,身体居然极度疲惫了……最后两天愣是靠着3罐红牛撑下来的。我命苦啊!好多东西别人帮不上忙,我只得“心太软,所有问题都自己扛了”……可惜老板也没bonus给我,其实在他看来,最重要的是project完成与否,内部平衡、分配啥的,应该我这个博士生负责。。。
 
想想看自己这个学期还真是没太注意,生病之前,没注意啥时睡觉,生病之后虽然注意了要12点左右睡,但经常还是做不到,更不要提忙的时候在实验室熬夜了;锻炼比上学期也少多了,都1个半月没摸篮球了;吃也马马虎虎,反正填饱自己就行了。看来这个结论是……我还真不太适应一个人的日子了,呵呵。一个人,虽说不用照顾别人,可顺带着自己也懒得照顾了……
 
我的坏毛病……写起来就不想停了,充分发挥流水账、裹脚布……还有好多事情在脑子里想写,算了吧,睡了吧,明儿得闲了再说……
(未完待续)
02 oktober

Very interesting finding about V4 CLB configuration bits

The logic function bits (LUT, DFF, MUX ...) for a column of 16 CLBs
are in 4 continuous frames (LUT function are in frame 1, 3; DFF bits
are in frame 0, 2).

I'm make some change in the LUT truth tables (with fpga_editor or ise
or whatever) and these changes affect frames 1 and 3. Actually, my
logic change will turn off 4 LEDs.

I can make bitgen to generate a partial bitstream file. I can then
download this pr bit file using impact or ICAP. This works - and the
pr bit file only write to frame 1 and 3.

I tried another approach: I read back the configuration bits of the 4
frames from ICAP, I made modification to the bits of frame 1 and frame
3 - I know how to change the internal bits for LUT and they look
exactly the same as the bits in the pr bit file generated by bitgen.

Then I write the 4 frames back through ICAP and interesting cases
occurs:
1) if I only write frame 1 and 3, this is essentially the same as
downloading the pr bit file, and the logic change is perfect; all LEDs
are off.
2) if I write the 4 frames in the oder frame 0, 1, 2, 3, hoops ... LED
3 and 4 are on! And even downloading the pr bit file again can't turn
them off. Something weird happens! Yet, from ICAP read back, the LUT
bits are changed ...
3) if I write 4 frames 0, 1, 2, (3), where frame (3) is not modified,
LED 1 & 3 are on and 2 & 4 are off - make sense;
4) if I write 4 frames 0, (1), 2, 3, where frame (1) is not modified,
LED 2 & 4 are on and 1 & 3 are off - make sense;
......
x) if I write 4 frames in the order 1, 3, 0, 2, again it works.

I spent a whole day to look for reasoning behind this ... but it just
seems non-sense.

While, a fix for 4 frames of CLB logic bits could be just write frame
1&3 together and frame 0&2 together; but how about the other 18 frames
of CLB routing bits? How to debug similar weird case and get a fix?

One night at lab ...

A whole night ... I missed the last bus so I have to stay until the first bus at 7:15am.

Should finish the logic bits generation program though WAR ICAP, but a demo of inserting a counter might still fail to meet the deadline today ...
22 september

A Sudoku Solver

Wrote for a course project. Original intention was hardware implementation, but only finished this software emulation as an early step.

It can not solve very hard problems - only applies simple rules. The good thing is it shows how to solve a problem; the bad thing is that the problem pool is too small. Run in Linux.

Main program:
http://zhawenwei.googlepages.com/sudoku

Problem pool:
http://zhawenwei.googlepages.com/sudoku.dat

(main program randomly pick up a problem in the pool.)

Another version:
http://zhawenwei.googlepages.com/sudoku_1
(It always pick up the first problem in the pool. So you can manually add a problem in sudoku.dat. Note that each problem consists of 50 lines of text and the first line should be the number of effective lines.)
13 september

出离愤怒了!

凌晨在实验室搞到快2点才回家(小概率事件……纯属临时抱佛脚……),早上9点爬起来看国米的比赛。Sopcast画面质量不错,但是90分钟的比赛里,网断了2~3次——进球都没看到!!NND!下次坚决用有线看球!
 
Foto 1 van 7
Deze Space bevat geen muzieklijsten.
*