Add 'hw/' from commit 'd812378c4d61f7c957ac4bcba15a8344fb7fb458'
git-subtree-dir: hw git-subtree-mainline:e4af98b4aa
git-subtree-split:d812378c4d
This commit is contained in:
14
hw/bin/litex_simple
Executable file
14
hw/bin/litex_simple
Executable file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
||||
# This script lives in the "bin" directory, but uses a helper script in the parent
|
||||
# directory. Obtain the current path so we can get the absolute parent path.
|
||||
script_path = os.path.dirname(os.path.realpath(
|
||||
__file__)) + os.path.sep + os.path.pardir + os.path.sep
|
||||
sys.path.insert(0, script_path)
|
||||
import lxbuildenv
|
||||
|
||||
from litex.boards.targets.simple import main
|
||||
main()
|
Reference in New Issue
Block a user