git: How to ignore all present untracked files?

As already been said, to exclude from status just use: If you instead want to permanently ignore currently untracked files you can, from the root of your project, launch: Every subsequent call to git status will explicitly ignore those files. UPDATE: the above command has a minor drawback: if you don’t have a .gitignore file … Read more

XOR signal in verilog

There are a couple of ways of doing this. One way could be to build a 4-input XOR module, and then instantiate multiple copies. Another way would be to use a for-loop. This won’t work with all the cases, since you don’t have an evenly-divisible number of wires. There are some other tricks (like 0-padding … Read more

IEnumerable vs List – What to Use? How do they work?

IEnumerable describes behavior, while List is an implementation of that behavior. When you use IEnumerable, you give the compiler a chance to defer work until later, possibly optimizing along the way. If you use ToList() you force the compiler to reify the results right away. Whenever I’m “stacking” LINQ expressions, I use IEnumerable, because by … Read more