This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# When notepad++ is available, use it | |
function npp() { | |
export IFS=$'\n' | |
NOTEPADPP_EXE='/c/Program Files/Notepad++/notepad++.exe' | |
if [[ -e "${NOTEPADPP_EXE}" ]]; then | |
echo 'notepad++.exe '$*' &' | |
"${NOTEPADPP_EXE}" $* & | |
return 0 | |
else | |
echo "notepad++ not found." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from amaranth import * | |
from amaranth_boards.ulx3s import ULX3S_12F_Platform as ulx3s_tgt | |
class LEDBlinker(Elaboratable): | |
""" | |
LED Blinker reference code pulled directly from the Amaranth reference implemenetation | |
https://amaranth-lang.org/docs/amaranth/latest/start.html#a-blinking-led |
OlderNewer