发布到yvtu.WP 01/29/2015

Posted from Diigo. The rest of my favorite links are here.

发布到yvtu.WP 08/26/2014

    • Note that when running with the -j command it will look like dj is running through all the entities before that point but in reality it is marking those entities as done and it does not actually perform those actions.
    • To build the tree and csimulator you can use: 

       dj -v -e 'stdgen::csimulator(:<config>).flow_csim_build'
    • To build a specific directory: 

       

       dj -v -e '<component>(<variant>)::<entity_name>.build'
    • How do I build a configuration with dj?

       

       

       dj -v -e ‘config(:config_name).build’
    • Please specify what you want to dump in the dumpctrl.f file. The levels of hierarchy that you get are defined in bia/ifrit (because bia/ifrit generates the gpu_dumpctrl.vh file). Inside this file you will see that there are normally two defined dumping options. Normally it will be <block_name>_only and <block_name>_all.
    • DJ_GCF_OPTS is an environment variable that controls the switches that are passed to bsub when dj is running in LSF mode.
    • To check for these, put the following within the problematic do…end for the component in question: 
      if !variant     puts caller end
    • How do I get DV debug output when it is invoked from DJ?

       I’m debugging m4 macros in my dv file and I need the intermediate outputs, and the m4 stderr output (e.g. from errprint()) — neither seem to be kept around in normal runs. SLN: Pass: 

        “run_test ‘suite test -endp –dvdebug 1′” 

       to get the temporary files. The temporary files can be found in the current working directory.

    • How do I quickly re-build and re-run the GC emulator?

       There is an action in $STEM/album.dj for emu_rebuild and run_emu.  

       From $STEM, run this: 

      > dj –e here.emu_rebuild

       

       From $STEM, run this to re-run the GC emulator for textri:  

      > dj –e here.run_emu

Posted from Diigo. The rest of my favorite links are here.

发布到yvtu.WP 07/08/2014

    • Step 1: 安装Notepad++(当然,你也可以和我一样使用绿色版本).然后打开浏览器访问Textmate Theme Directory~

       

      Step 2: 找一个适合自己的theme,下载.tmTheme文件到本地.

       

      Step 3: 用Notepad++打开这个.tmTheme文件并全选复制.

       

      Step 4: 打开浏览器访问theme converter page,将.tmTheme中的内容全部复制到表单中,并点击下载按钮下载.

    • 进行以上操作后Notepad++的默认字体会消失,因此请打开菜单 – 设置 – 语言格式设置进行选定即可.
    • 已经内置了theme更替的功能,囧. 里面还内置了Monokai这款我很欣赏的theme,欢天喜地啊~~~

Posted from Diigo. The rest of my favorite links are here.