Sign in
foss-fpga-tools
/
symbiflow-arch-defs
/
refs/heads/bot-conda-lock-update
/
.
/
lattice
/
ice40
/
utils
/
fasm_icebox
/
asc2fasm.py
blob: 1df74fad86078bfbaea3d6a6e4feacc584217e72 [
file
] [
log
] [
blame
] [
edit
]
#!/usr/bin/env python3
import
sys
from
fasm_icebox_utils
import
asc_to_fasm
def
main
(
args
):
# parse args
with
open
(
args
[
1
],
"w"
)
as
f
:
asc_to_fasm
(
args
[
0
],
f
)
if
__name__
==
"__main__"
:
main
(
sys
.
argv
[
1
:])