Skip to content
Snippets Groups Projects
Commit 41f4f735 authored by Ezekiel Dohmen's avatar Ezekiel Dohmen
Browse files

Starting to add dolphin timing xmit indicator

parent 49f03f46
No related branches found
No related tags found
1 merge request!642Adding Xmit indicator
......@@ -25,7 +25,7 @@ if ($::dolphinTiming > -1 or $::virtualiop == 2) {
}
print OUTM "USE_DOLPHIN_TIMING:=1\n";
}
if ($::dolphin_time_xmit > -1) {
if ($::dolphin_time_xmit > 0) {
if ( $::pciNet < 0 )
{
die "Error: Model is configured to transmit dolphin time (dolphin_time_xmit) but is not configured to be a dolphin node (pciRfm).";
......@@ -182,7 +182,7 @@ if ($::iopModel > -1) { #************ SETUP FOR IOP ***************
print OUTM "ccflags-y += -DTEST_1PPS\n";
}
# Set to run IOP as time master for the Dolphin Network
if ($::dolphin_time_xmit > -1) {
if ($::dolphin_time_xmit > 0) {
if ( $::pciNet < 0 )
{
die "Error: Model is configured to transmit dolphin time (dolphin_time_xmit) but is not configured to be a dolphin node (pciRfm).";
......
......@@ -216,6 +216,12 @@ sub createGdsMedm
$xpos = 125; $ypos = 120; $width = 50; $height = 16;
$medmdata .= ("CDS::medmGen::medmGenTextDyn") -> ($xpos,$ypos,$width,$height,"ExtClk",$ecolors{green},"(A&255) == 0","$ifo\:FEC-$dcuid\_TIME_ERR");
if($iopModel == 1 && $::dolphin_time_xmit > 0 )
{
$xpos = 125; $ypos = 140; $width = 50; $height = 16;
$medmdata .= ("CDS::medmGen::medmGenText") -> ($xpos,$ypos,$width,$height,"timing xmit master",$ecolors{red});
}
# Following only for IOP
if($iopModel == 1 and $ioptype == 0 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment