mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-24 22:07:41 -04:00
fix opae build
This commit is contained in:
parent
3cbecfcef0
commit
d79e36912f
76 changed files with 84 additions and 84 deletions
|
@ -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\.v"$'), r''),
|
||||
(re.compile(r'^( *)`include "VX_user_config\.vh"$'), 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.v:
|
||||
// Translated from VX_config.vh:
|
||||
'''[1:].format(date=datetime.now()), file=f)
|
||||
with open(path.join(script_dir, '../rtl/VX_config.v'), 'r') as r:
|
||||
with open(path.join(script_dir, '../rtl/VX_config.vh'), 'r') as r:
|
||||
for line in r:
|
||||
if in_expansion:
|
||||
f.write(post_process_line(line))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue