mirror of https://github.com/efabless/caravel.git
Merge pull request #102 from d-m-bailey/remove_old
Remove pre-existing magic and gate level verilog because they may be. Testing on branch.
This commit is contained in:
commit
1179387306
|
@ -66,6 +66,7 @@
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
|
import glob
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
def usage():
|
def usage():
|
||||||
|
@ -213,6 +214,12 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
cellsused = [None] * 38
|
cellsused = [None] * 38
|
||||||
|
|
||||||
|
# Remove pre-existing versions of mag and verilog files because they may be out-of-date.
|
||||||
|
for old_mag_file in glob.glob(magpath + '/gpio_defaults_block_*.mag'):
|
||||||
|
os.remove(old_mag_file)
|
||||||
|
for old_verilog_file in glob.glob(glpath + '/gpio_defaults_block_*.v'):
|
||||||
|
os.remove(old_verilog_file)
|
||||||
|
|
||||||
for i in range(0, 38):
|
for i in range(0, 38):
|
||||||
config_name = '`USER_CONFIG_GPIO_' + str(i) + '_INIT'
|
config_name = '`USER_CONFIG_GPIO_' + str(i) + '_INIT'
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue