Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
dmt
Commits
cfca4001
Commit
cfca4001
authored
Dec 11, 2020
by
Thanassis Tsiodras
Browse files
GMV/CoRA: Fix coverage.
parent
02d81ca7
Pipeline
#2888
passed with stage
in 3 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dmt/B_mappers/simulink_B_mapper.py
View file @
cfca4001
...
...
@@ -452,7 +452,7 @@ class SimulinkGlueGenerator(SynchronousToolGlueGenerator):
self
.
C_SourceFile
.
write
(
" %s_initialize();
\n
"
%
self
.
g_FVname
)
# If there are HW(FPGA) configurations defined, initialize also the HW side (the device driver: <self.g_FVname>_Simulink.vhdl.c).
if
sp
.
_fpgaConfigurations
!=
''
:
self
.
C_SourceFile
.
write
(
" init_%s_Fpga();
\n
"
%
maybeFVname
)
self
.
C_SourceFile
.
write
(
" init_%s_Fpga();
\n
"
%
maybeFVname
)
# pragma: no cover
self
.
C_SourceFile
.
write
(
" }
\n
"
)
def
ExecuteBlock
(
self
,
unused_modelingLanguage
:
str
,
unused_asnFile
:
str
,
unused_sp
:
ApLevelContainer
,
unused_subProgramImplementation
:
str
,
unused_maybeFVname
:
str
)
->
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment