Skip to content
Snippets Groups Projects

Allow IPC table to be built in a simulation mode that allows the receiver to fill it

Merged Ezekiel Dohmen requested to merge ezekiel.dohmen/advligorts:export-ipc-info into master
2 files
+ 35
4
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 11
3
@@ -144,7 +144,7 @@ sub frontEndInitCode {
for ($l = 0; $l < $::ipcxCnt; $l++) {
if ($::ipcxParts[$l][6] == $i) {
$found = 1;
if ( ($::ipcxParts[$l][7] =~ /^Ground/) || ($::ipcxParts[$l][7] =~ /\_Ground/) ) {
$calcExp .= "ipcInfo[$::ipcxInitDone]\.mode = IRCV;\n";
}
@@ -570,8 +570,16 @@ $ipcxRcvrCnt = 0;
$kk = $::ipcxParts[$ii][6];
if ( ($::partInput[$kk][0] =~ /^Ground/) || ($::partInput[$kk][0] =~ /\_Ground/) ) {
$ipcxAdd[$ipcxNotFound][1] = 2;
$ipcxRcvrCnt++;
if(defined $ENV{'SIMULATION_BUILD'})
{
$ipcxAdd[$ipcxNotFound][1] = 1;
}
else
{
$ipcxAdd[$ipcxNotFound][1] = 2;
$ipcxRcvrCnt++;
}
}
else {
if ($::partOutCnt[$kk] != 0) {
Loading