projects
/
litex.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use similar names for wishbone bridges and move wishbone drivers to [core]/software
[litex.git]
/
misoclib
/
cpu
/
peripherals
/
identifier
/
git.py
1
import
subprocess
2
3
4
def
get_id
():
5
output
=
subprocess
.
check_output
([
"git"
,
"rev-parse"
,
"HEAD"
]).
decode
(
"ascii"
)
6
return
int
(
output
[:
8
],
16
)