removing *.vh file for opae build

This commit is contained in:
Blaise Tine
2020-04-20 15:07:27 -04:00
parent 8e7046a388
commit b76f8696bd
70 changed files with 79 additions and 81 deletions

View File

@@ -61,7 +61,7 @@ translation_rules = [
(re.compile(r'^( *)`ifndef ([^ ]+)$'), r'\1#ifndef \2'),
(re.compile(r'^( *)`define ([^ ]+)$'), r'\1#define \2'),
# (re.compile(r'^( *)`include "\./VX_define_synth\.v"$'), r'\1#include "VX_define_synth.h"'),
(re.compile(r'^( *)`include "VX_user_config\.vh"$'), r''),
(re.compile(r'^( *)`include "VX_user_config\.v"$'), r''),
(re.compile(r'^( *)`define ([^ ]+) (.+)$'), r'\1#define \2 \3'),
(re.compile(r'^( *)`endif$'), r'\1#endif'),
(re.compile(r'^( *)// (.*)$'), r'\1// \2'),
@@ -93,9 +93,9 @@ if args.outc != 'none':
// auto-generated by gen_config.py. DO NOT EDIT
// Generated at {date}
// Translated from VX_config.vh:
// Translated from VX_config.v:
'''[1:].format(date=datetime.now()), file=f)
with open(path.join(script_dir, '../rtl/VX_config.vh'), 'r') as r:
with open(path.join(script_dir, '../rtl/VX_config.v'), 'r') as r:
for line in r:
if in_expansion:
f.write(post_process_line(line))