<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=PIC</id>
	<title>PIC - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=PIC"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=PIC&amp;action=history"/>
	<updated>2026-04-14T10:06:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=PIC&amp;diff=647&amp;oldid=prev</id>
		<title>ConvertBot: Peripheral Interconnect Component access/test macro</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=PIC&amp;diff=647&amp;oldid=prev"/>
		<updated>2020-04-27T19:19:36Z</updated>

		<summary type="html">&lt;p&gt;Peripheral Interconnect Component access/test macro&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:19, 27 April 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l162&quot; &gt;Line 162:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 162:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:ICE_Explain]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=PIC&amp;diff=604&amp;oldid=prev</id>
		<title>ConvertBot: Peripheral Interconnect Component access/test macro</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=PIC&amp;diff=604&amp;oldid=prev"/>
		<updated>2020-04-27T18:59:48Z</updated>

		<summary type="html">&lt;p&gt;Peripheral Interconnect Component access/test macro&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Peripheral Interconnect Component access/test macro&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;function&amp;gt;	Function to perform (RESET, ACQUIRE, PLAY, ...)&lt;br /&gt;
&amp;lt;device name&amp;gt;   PIC alias in HW file (i.e. PIC, PIC1, PIC2, ...)&lt;br /&gt;
&amp;lt;address/file&amp;gt;	Address for READ/WRITE, File for ACQUIRE/PLAY/LOAD/NVWRITE&lt;br /&gt;
&amp;lt;value/result&amp;gt;	Value for WRITE, result name for READ, format for TEST&lt;br /&gt;
&lt;br /&gt;
This macro is a high-level interface to the ICE-PIC card.  It can be&lt;br /&gt;
used to perform data acquisition/playback into/from a Midas file, load user&lt;br /&gt;
programs into the SHARC, or for test and debug purposes.  Most functions are&lt;br /&gt;
handed off to the PICDRIVER primitive.  Those functions are described in the&lt;br /&gt;
PICDRIVER explain.  The functions handled by this macro are described below:&lt;br /&gt;
&lt;br /&gt;
The valid functions are:&lt;br /&gt;
&lt;br /&gt;
	HELP &amp;lt;routine&amp;gt; &amp;lt;category&amp;gt;&lt;br /&gt;
		access the ICE help files&lt;br /&gt;
&lt;br /&gt;
	AUX &amp;lt;ramaux&amp;gt;	&lt;br /&gt;
		sets the RAMDISK aux&lt;br /&gt;
&lt;br /&gt;
	DIR	&lt;br /&gt;
		shows files on the RAMDISK&lt;br /&gt;
&lt;br /&gt;
	COPY &amp;lt;diskfile&amp;gt; &amp;lt;ramdiskfile&amp;gt;	&lt;br /&gt;
		copies a file to the RAMDISK with proper format&lt;br /&gt;
&lt;br /&gt;
	CLEAN	&amp;lt;aux&amp;gt;&lt;br /&gt;
		erase all files on the RAMDISK or specified auxiliary.&lt;br /&gt;
		Use /BATCH to avoid prompt and erase ALL files.&lt;br /&gt;
&lt;br /&gt;
	CREATE &amp;lt;filename&amp;gt; &amp;lt;format&amp;gt; &amp;lt;samples&amp;gt; &amp;lt;rate&amp;gt; &amp;lt;shape&amp;gt; &amp;lt;amp&amp;gt; &amp;lt;freq&amp;gt;&lt;br /&gt;
		creates a DMA compatible Midas file. The file size will be&lt;br /&gt;
		rounded to a multiple of the card buffer (def=64Kby) unless &lt;br /&gt;
		the /EXACT switch is specified.  To specify the rounding value,&lt;br /&gt;
		apply the /ROUND=N switch, where N is in bytes.  The proper&lt;br /&gt;
		value of N for a given device is calculated by,&lt;br /&gt;
			PICD GET &amp;lt;device&amp;gt; CBUFSZ &amp;lt;result&amp;gt; &lt;br /&gt;
		although the 64Kby default works for most applications.&lt;br /&gt;
		Shape is NONE,RAMP,TRAMP,WHITE,BITS,SINE,TONES (for special test patterns)&lt;br /&gt;
		Amplitude is in db from near full scale if &amp;lt;= 6, otherwise actual magnitude&lt;br /&gt;
		Frequency is in Hz (for SINE only)&lt;br /&gt;
&lt;br /&gt;
	DETECT &lt;br /&gt;
		lists all known PIC devices on the system with some detail.&lt;br /&gt;
		This does NOT use any Hardware Config Files&lt;br /&gt;
&lt;br /&gt;
	FLASH &amp;lt;device number&amp;gt; &amp;lt;loadfile&amp;gt;&lt;br /&gt;
		loads the named file into the card's EEPROM flash&lt;br /&gt;
&lt;br /&gt;
	PFAT &amp;lt;device name&amp;gt; &amp;lt;npass&amp;gt;&lt;br /&gt;
		runs the Post Factory Acceptance Tests with the given loop count&lt;br /&gt;
		Note: this also tests Processor Modules but NOT I/O Modules&lt;br /&gt;
		Note: the /NOX switch will skip all tests requiring graphics&lt;br /&gt;
&lt;br /&gt;
	SNAP &amp;lt;device name&amp;gt; &amp;lt;flags&amp;gt;&lt;br /&gt;
		calls SNAPPER macro - see snapper explain&lt;br /&gt;
&lt;br /&gt;
  NeXtMidas Only:&lt;br /&gt;
	APPS &lt;br /&gt;
		list all available apps in nxm.ice.mcr.snapapp.tbl&lt;br /&gt;
&lt;br /&gt;
	APP &amp;lt;app-1 tag&amp;gt; &amp;lt;app-2 tag&amp;gt;&lt;br /&gt;
		calls SNAPAPP macro with default config table - see snapapp explain&lt;br /&gt;
&lt;br /&gt;
	APPSET &amp;lt;host:port&amp;gt; &amp;lt;control name&amp;gt; &amp;lt;control value&amp;gt;&lt;br /&gt;
		sends an RMIF SET message to a server APP, useful for oneshot actions like;&lt;br /&gt;
		PIC APPSET NODENAME:9000 MODE EXIT &lt;br /&gt;
		to shut down a server macro&lt;br /&gt;
&lt;br /&gt;
	DELAYLINE &amp;lt;device name&amp;gt; &amp;lt;format&amp;gt; &amp;lt;rate&amp;gt; &amp;lt;size&amp;gt; &amp;lt;delay&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        FSTATS/PLOT &amp;lt;filename&amp;gt;&lt;br /&gt;
		converts a /FSTATS file to Midas files and displays them&lt;br /&gt;
		this /PLOT is optional, results are in test_fstats&lt;br /&gt;
&lt;br /&gt;
	MAKE &amp;lt;type&amp;gt; - see ICEMAKE explain&lt;br /&gt;
&lt;br /&gt;
Valid file-to-file functions are:&lt;br /&gt;
&lt;br /&gt;
	TUNE &amp;lt;device name&amp;gt; &amp;lt;input file&amp;gt; &amp;lt;output file&amp;gt; &amp;lt;format&amp;gt; &amp;lt;bandwidth&amp;gt; &amp;lt;freq&amp;gt;&lt;br /&gt;
		Uses device resources to Tuner/Filter/Decimate one or more signals&lt;br /&gt;
		from a snapshot on disk.  Output format is SI or CI.&lt;br /&gt;
		The list must be a 3000 file containing records FREQ, BW, &lt;br /&gt;
		and NAME, where name is the name for each tuned output file.&lt;br /&gt;
&lt;br /&gt;
	TUNE/LIST &amp;lt;device name&amp;gt; &amp;lt;input file&amp;gt; &amp;lt;list file&amp;gt; &amp;lt;format&amp;gt; &lt;br /&gt;
		Performs the TUNE function for a list of signal freq and bandwidths.&lt;br /&gt;
		The list must be a 3000 file containing records FREQ, BW, &lt;br /&gt;
		and NAME, where name is the name for each tuned output file. The&lt;br /&gt;
		macro will use as many tuners per pass as possible and keep&lt;br /&gt;
		executing passes&lt;br /&gt;
&lt;br /&gt;
The valid test/system functions are:&lt;br /&gt;
&lt;br /&gt;
	TEST &amp;lt;device name&amp;gt; &amp;lt;test #&amp;gt;      &lt;br /&gt;
		- basic communications tests&lt;br /&gt;
		1 = reset&lt;br /&gt;
		2 = PCI register/mailboxes&lt;br /&gt;
		3 = SHARC memory&lt;br /&gt;
		4 = PCI/SHARC FIFOs&lt;br /&gt;
		5 = IOC Registers &lt;br /&gt;
		6 = SHARC DMA&lt;br /&gt;
		7 = PCI DMA &lt;br /&gt;
		0 = all of the above&lt;br /&gt;
&lt;br /&gt;
	TEST/LOOP &amp;lt;device name&amp;gt; &amp;lt;test #&amp;gt; &lt;br /&gt;
		- basic test looped 10000 times for diagnostics&lt;br /&gt;
&lt;br /&gt;
	TEST/SPEC &amp;lt;device name&amp;gt;  &lt;br /&gt;
		- real-time plot of maximum transfer rate over PCI bus&lt;br /&gt;
&lt;br /&gt;
	TEST/RT   &amp;lt;port name&amp;gt;  &amp;lt;filename&amp;gt; &amp;lt;fft size&amp;gt; &amp;lt;decimation&amp;gt; &amp;lt;tuner freq&amp;gt;&lt;br /&gt;
		- basic single channel real-time acquisition test&lt;br /&gt;
&lt;br /&gt;
	TEST/RT   &amp;lt;port1|port2&amp;gt;  &amp;lt;file1|file2&amp;gt; &amp;lt;fft&amp;gt; &amp;lt;decimation&amp;gt; &amp;lt;tuner freq&amp;gt;&lt;br /&gt;
		- basic dual channel real-time acquisition test&lt;br /&gt;
&lt;br /&gt;
	TEST/TUN &amp;lt;device name&amp;gt;   &lt;br /&gt;
		- basic on-board tuner test&lt;br /&gt;
&lt;br /&gt;
	TEST/MOD/RT &amp;lt;device name&amp;gt; &amp;lt;1|2&amp;gt; &amp;lt;nfft&amp;gt; &amp;lt;dec&amp;gt; &lt;br /&gt;
		- basic module site loop-back test &amp;lt;addr&amp;gt;=1|2&lt;br /&gt;
&lt;br /&gt;
	TEST/TUN/RT &amp;lt;device name&amp;gt; &amp;lt;1|2&amp;gt; &amp;lt;nfft&amp;gt; &amp;lt;dec&amp;gt; &amp;lt;freq&amp;gt; &amp;lt;shape&amp;gt;&lt;br /&gt;
		- basic real-time on-board tuner test&lt;br /&gt;
&lt;br /&gt;
	TEST/TCGEN &amp;lt;device name&amp;gt; &amp;lt;samplerate in MHz&amp;gt;&lt;br /&gt;
		- generate two channel white noise with single and double clutch timecode&lt;br /&gt;
&lt;br /&gt;
	TEST/TCGEN/I &amp;lt;device name&amp;gt; &amp;lt;samplerate in kHz&amp;gt;&lt;br /&gt;
		- generate two channel white noise with single clutch timecode only&lt;br /&gt;
&lt;br /&gt;
	TEST/TCGLITCH &amp;lt;device name&amp;gt; &amp;lt;samplerate in MHz&amp;gt;&lt;br /&gt;
		- create a 1 sample time code glitch in the TCGEN output&lt;br /&gt;
&lt;br /&gt;
	TEST/TC  &amp;lt;device name&amp;gt; &amp;lt;samplerate in MHz&amp;gt; &amp;lt;tuner decimation&amp;gt; &amp;lt;tuner format&amp;gt;&lt;br /&gt;
		- performs tuner timecode calibration by acquiring NB/WB at the same time&lt;br /&gt;
		  and comparing the digitally tuned WB with the cards NB.  Assumes white &lt;br /&gt;
		  noise with timecode is at the input.&lt;br /&gt;
&lt;br /&gt;
	TEST/TCMEAS &amp;lt;device name&amp;gt; &amp;lt;samplerate in MHz&amp;gt; &amp;lt;tuner decimation&amp;gt; &amp;lt;number tuners&amp;gt; &amp;lt;center freq in MHz&amp;gt;&lt;br /&gt;
		- loop through tuner channels, compute TDOA, report timecode difference&lt;br /&gt;
&lt;br /&gt;
NeXtMidas Only:&lt;br /&gt;
&lt;br /&gt;
	TEST/SDDSGEN  &amp;lt;host:port&amp;gt; &amp;lt;format&amp;gt; &amp;lt;amplitude&amp;gt; &amp;lt;rate&amp;gt; &amp;lt;shape&amp;gt;&lt;br /&gt;
		- generates an SDDS packet stream (data=SIN) to named host:port address (def=192.9.200.177:9001)&lt;br /&gt;
	TEST/SDDSGEN2 &amp;lt;host:port&amp;gt; &amp;lt;format&amp;gt;&lt;br /&gt;
		- generates an SDDS packet stream (data=SAW) to named host:port address (def=192.9.200.177:9002)&lt;br /&gt;
	TEST/CHAIN &amp;lt;file1|file2|file3&amp;gt;&lt;br /&gt;
		- test DMA Chaining algorithm&lt;br /&gt;
	TEST/PPC/PEEK &amp;lt;device name&amp;gt; &amp;lt;address&amp;gt; &amp;lt;elements&amp;gt;&lt;br /&gt;
		- display contents of PPC memory space&lt;br /&gt;
	TEST/PPC/DMA &amp;lt;device name&amp;gt; &lt;br /&gt;
		- display contents of PPC memory space mapped to the DMA channels&lt;br /&gt;
&lt;br /&gt;
Switches:&lt;br /&gt;
&lt;br /&gt;
Widgets: NONE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>