Skip to content

Instantly share code, notes, and snippets.

View xiaohanhaowei's full-sized avatar
🎯
Focusing

William xiaohanhaowei

🎯
Focusing
  • Peking
View GitHub Profile
@xiaohanhaowei
xiaohanhaowei / notes.md
Created May 8, 2024 08:19 — forked from sgherbst/notes.md
Installing Verilator on Windows 10 using a fresh MSYS2 install
  1. Download and install MSYS2: https://sourceforge.net/projects/msys2/
  2. Open MSYS2 shell and run pacman -Syu
  3. After some time you will be prompted to close the MSYS2 shell by clicking the "X" button, which you should do :-)
  4. Relaunch MSYS2 shell and run pacman -Su
  5. Install the required packages for Verilator:
> pacman -S git make autoconf gcc flex bison man perl
  1. Clone the Verilator source and build the latest stable release:
@xiaohanhaowei
xiaohanhaowei / For Mac 4.2.6 unlimited trial.md
Created October 12, 2019 06:13 — forked from rise-worlds/For Mac 4.2.6 unlimited trial.md
Beyond Compare 4 license for Windows, Mac, Linux

for 4.2.4 or higher,4.2.5,4.2.6 ,it's works , this is the way which makes Always in evaluation mode 。

  1. go to the dir : /Applications/Beyond Compare.app/Contents/MacOS
  2. change the name BCompare to BCompare.bak
  3. touch a file name BCompare , and chmod a+u BCompare
  4. insert BCompare the content :
#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@