Thursday, March 4, 2010

Virtual Box and Fedora 12 Guest

Installing Guest Additions on Virtualbox enables you to use some very powerful  features such as seamless integration and full screen resolution mode.

for a fresh fedora 12 install

  1. su -
  2. yum –y install dkms gcc kernel-devel kernel-headers
  3. reboot
  4. cd /media/VBOXADDITIONS_3.1.4_57640 (version 3.1.4)
  5. ./VBoxLinuxAdditions-x86.run (for 32bit)
  6. reboot
  7. done!

for more detail

http://digitizor.com/2009/05/26/how-to-install-virtualbox-guest-additions-for-a-linux-guest/

and..

Fedora 12 Installation and Post-Installation Guide

http://www.my-guides.net/en/content/view/174/26/

Wednesday, March 3, 2010

异步FIFO设计

很多人在论坛上发过Peter Alfke 的那篇

Simulation and Synthesis Techniques for Asynchronous FIFO Design with Asynchronous Pointer Comparisons

但是具体设计却没什么人提及,可能是由于技术的保留吧,这里送一份schematcis 吧, verilog嘛,因为是公司项目的一部分,所以就不便透露了.

 

fifo

read_ptr和write_ptr都没什么特别的,一个4位的k-walk gray counter.

n0(V)是指针比较.

dir1,dir0 给出quadrant 结果.

然后进行empty,full evaluation.

剩下就是指针控制了.

enjoy~

Wednesday, February 10, 2010

天鹅之美

她在湖中中嬉戏,在天空中翱翔,飞越珠峰,停歇长城.

我欣赏她的温柔,优雅,无惧山高海深.

一生闯荡,一生厮守.

爱情,伴侣一生的结合,在天鹅身上得到了诗意般的升华.

活着如何精彩,如何感动,我想到天鹅.

也许是这种纯粹,让人回到原始,反思自我.

世界没有完美,人生充满了现实的残酷.

面对得失,我该如何.

有时信仰真是唯一的解药,

希望,对未来的寄托

但愿明天更好

但愿爱可爱,非常爱