diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-06-20 19:02:39 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-06-20 19:02:39 +0200 |
commit | f7aaec6245aea5a59e33b8e4f3aeb11375ef23b0 (patch) | |
tree | b7d094a130abb421008474bd95d1de270d5131e4 /libraries/openieee/build_numeric.py | |
parent | 34359272ed21fd699a9e277f8282678413904265 (diff) | |
download | ghdl-f7aaec6245aea5a59e33b8e4f3aeb11375ef23b0.tar.gz ghdl-f7aaec6245aea5a59e33b8e4f3aeb11375ef23b0.tar.bz2 ghdl-f7aaec6245aea5a59e33b8e4f3aeb11375ef23b0.zip |
openieee: use .vhdl extension
Diffstat (limited to 'libraries/openieee/build_numeric.py')
-rwxr-xr-x | libraries/openieee/build_numeric.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/openieee/build_numeric.py b/libraries/openieee/build_numeric.py index c00e74e5c..43bb04b67 100755 --- a/libraries/openieee/build_numeric.py +++ b/libraries/openieee/build_numeric.py @@ -1125,7 +1125,7 @@ def gen_body(proto_file): # Copy spec for log in logics: for std in ['87', '93']: - out=open('numeric_' + log + '.v' + std, 'w') + out=open('v' + std + '/numeric_' + log + '.vhdl', 'w') for line in open('numeric_' + log + '.proto'): if line == ' @COMMON\n': for lcom in open('numeric_common.proto'): @@ -1147,7 +1147,7 @@ for log in logics: v93=False for l in logics: logic = l - out=open('numeric_{0}-body.v87'.format(l), 'w') + out=open('v87/numeric_{0}-body.vhdl'.format(l), 'w') gen_body('numeric_{0}-body.proto'.format(l)) out.close() @@ -1155,6 +1155,6 @@ v93=True binary_funcs.append("xnor") for l in logics: logic = l - out=open('numeric_{0}-body.v93'.format(l), 'w') + out=open('v93/numeric_{0}-body.vhdl'.format(l), 'w') gen_body('numeric_{0}-body.proto'.format(l)) out.close() |