URL
https://opencores.org/ocsvn/a-z80/a-z80/trunk
[/] [a-z80/] [trunk/] [cpu/] [export.py] - Diff between revs 17 and 19
Show entire file |
Details |
Blame |
View Log
Rev 17 |
Rev 19 |
Line 1... |
Line 1... |
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
#
|
#
|
# This script exports all core A-Z80 Verilog files to a destination folder of your choice.
|
# Run this script to export necessary CPU files away and into your project.
|
# Add all Verilog files (*.v) to your project and ensure that Verilog include files (*.vh)
|
|
# are on the include path.
|
|
#
|
#
|
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
# Copyright (C) 2014,2017 Goran Devic, www.baltazarstudios.com
|
# Copyright (C) 2014,2018 Goran Devic, www.baltazarstudios.com
|
#
|
#
|
# This program is free software; you can redistribute it and/or modify it
|
# This program is free software; you can redistribute it and/or modify it
|
# under the terms of the GNU General Public License as published by the Free
|
# under the terms of the GNU General Public License as published by the Free
|
# Software Foundation; either version 2 of the License, or (at your option)
|
# Software Foundation; either version 2 of the License, or (at your option)
|
# any later version.
|
# any later version.
|
Line 21... |
Line 19... |
import os
|
import os
|
from shutil import copyfile
|
from shutil import copyfile
|
|
|
if len(sys.argv) != 2:
|
if len(sys.argv) != 2:
|
print ("\nUsage: export.py <destination-folder>\n")
|
print ("\nUsage: export.py <destination-folder>\n")
|
print ("Copies all core A-Z80 Verilog files to a destination folder of your choice.")
|
print ("Exports all necessary A-Z80 Verilog files to a project folder of your choice.")
|
exit(-1)
|
exit(-1)
|
|
|
dest = sys.argv[1]
|
dest = sys.argv[1]
|
total = 0
|
total = 0
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.