dmt issueshttps://gitrepos.estec.esa.int/taste/dmt/-/issues2022-02-10T16:11:33Zhttps://gitrepos.estec.esa.int/taste/dmt/-/issues/6B mappers are not generated for QGenAda functions.2022-02-10T16:11:33ZAngel Perez MuñozB mappers are not generated for QGenAda functions.Hello,
I was testing the current integration of QGenAda in the TASTE toolchain. However, DMT tools do not create the mediator that connects **(i)** the autogenerated Ada code with `qgen`, and **(ii)** the wrappers. Therefore, projects w...Hello,
I was testing the current integration of QGenAda in the TASTE toolchain. However, DMT tools do not create the mediator that connects **(i)** the autogenerated Ada code with `qgen`, and **(ii)** the wrappers. Therefore, projects with QGenAda functions cannot be built, and these wrappers need to be created by hand.
`QGenAda B mappers` is part of the asynchronous club, although the ![`synchronousTool`](https://gitrepos.estec.esa.int/taste/dmt/-/blob/feature_bullseye/dmt/B_mappers/synchronousTool.py#L133) is the one that contains rules for this mediator and `QGenAda B mappers` use [`c_B_mapper.C_GlueGenerator`](https://gitrepos.estec.esa.int/taste/dmt/-/blob/feature_bullseye/dmt/B_mappers/qgenada_B_mapper.py#L51). Is this correct?
Thanks!Thanassis TsiodrasThanassis Tsiodrashttps://gitrepos.estec.esa.int/taste/dmt/-/issues/5asnParser.py ascii codec error2020-09-01T07:20:18ZArnaud MouraasnParser.py ascii codec errorHello,
A codec error with some ASN1 files may occur.
```
Traceback (most recent call last):
File "/root/.local/bin/asn2aadlPlus", line 11, in <module>
load_entry_point('dmt===2.2-r52d2db4', 'console_scripts', 'asn2aadlPlus')()
...Hello,
A codec error with some ASN1 files may occur.
```
Traceback (most recent call last):
File "/root/.local/bin/asn2aadlPlus", line 11, in <module>
load_entry_point('dmt===2.2-r52d2db4', 'console_scripts', 'asn2aadlPlus')()
File "/root/.local/lib/python3.6/site-packages/dmt/asn2aadlPlus.py", line 336, in main
asnParser.ParseAsnFileList(asnFiles)
File "/root/.local/lib/python3.6/site-packages/dmt/commonPy/asnParser.py", line 406, in ParseAsnFileList
filehash.update(open(each).read().encode('utf-8'))
File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 5867: ordinal not in range(128)
```
To resolve this error, I change the line 406 by this:
```
with open(each, "r", encoding="utf-8") as myFile:
filehash.update(myFile.read().encode('utf-8'))
```https://gitrepos.estec.esa.int/taste/dmt/-/issues/4FPGA support2018-01-17T14:44:12ZTiago JorgeFPGA supportHi,
3 questions:
1. In the FPGA demo video (very helpful btw!) a single VHDL Function block is used. Does TASTE already support multiple VHDL Function blocks (each with its single PI)?
2. If a new entry is added to the Language list i...Hi,
3 questions:
1. In the FPGA demo video (very helpful btw!) a single VHDL Function block is used. Does TASTE already support multiple VHDL Function blocks (each with its single PI)?
2. If a new entry is added to the Language list in the Function Attributes, does that mean a new dedicated code generator is created and should be somehow implemented? If yes, what exactly is to be developed and in which TASTE submodules?
3. What definition would you give to a B mapper (for instance, in comparison with an A mapper)?
Thank you for your help.https://gitrepos.estec.esa.int/taste/dmt/-/issues/3pip3 install fails2018-01-06T08:13:02ZKonrad Grochowskipip3 install failsexecuting command:
```
sudo pip3 install --upgrade .
```
fails with message:
```
Installing collected packages: dmt, six
Found existing installation: dmt 2.1.0
Uninstalling dmt:
Successfully uninstalled dmt
Run...executing command:
```
sudo pip3 install --upgrade .
```
fails with message:
```
Installing collected packages: dmt, six
Found existing installation: dmt 2.1.0
Uninstalling dmt:
Successfully uninstalled dmt
Running setup.py install for dmt
Installing msgPrinter script to /usr/local/bin
Installing asn2dataModel script to /usr/local/bin
Installing asn2aadlPlus script to /usr/local/bin
Installing aadl2glueC script to /usr/local/bin
Installing smp2asn script to /usr/local/bin
Installing dmt script to /usr/local/bin
Installing msgPrinterASN1 script to /usr/local/bin
File "/usr/local/lib/python3.4/dist-packages/dmt/commonPy2/AadlParser.py", line 5403
except antlr.RecognitionException, pe:
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.4/dist-packages/dmt/commonPy2/AadlLexer.py", line 347
except antlr.RecognitionException, e:
^
SyntaxError: invalid syntax
```
Environment: Debian8, Python 3.4
https://gitrepos.estec.esa.int/taste/dmt/-/issues/2DMT does not support empty sequences2018-01-06T08:13:06ZThanassis TsiodrasDMT does not support empty sequencesEmpty sequence support to be added to DMT:
MySeq ::= SEQUENCE {}Empty sequence support to be added to DMT:
MySeq ::= SEQUENCE {}Thanassis TsiodrasThanassis Tsiodrashttps://gitrepos.estec.esa.int/taste/dmt/-/issues/1DMT does not support NULL type2020-09-18T07:58:10ZThanassis TsiodrasDMT does not support NULL typeNULL type to be added to DMT!
e.g. in a CHOICE, when you have a choice with no parameter:
Hello ::= CHOICE { a INTEGER, b NULL }
NULL type to be added to DMT!
e.g. in a CHOICE, when you have a choice with no parameter:
Hello ::= CHOICE { a INTEGER, b NULL }
Thanassis TsiodrasThanassis Tsiodras