<?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=PICFUNC</id>
	<title>PICFUNC - 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=PICFUNC"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=PICFUNC&amp;action=history"/>
	<updated>2026-11-24T19:15:51Z</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=PICFUNC&amp;diff=673&amp;oldid=prev</id>
		<title>ConvertBot: ICE-PIC Enhanced Functions Primitive</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=PICFUNC&amp;diff=673&amp;oldid=prev"/>
		<updated>2020-04-27T19:19:47Z</updated>

		<summary type="html">&lt;p&gt;ICE-PIC Enhanced Functions Primitive&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-l63&quot; &gt;Line 63:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&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=PICFUNC&amp;diff=630&amp;oldid=prev</id>
		<title>ConvertBot: ICE-PIC Enhanced Functions Primitive</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=PICFUNC&amp;diff=630&amp;oldid=prev"/>
		<updated>2020-04-27T18:59:57Z</updated>

		<summary type="html">&lt;p&gt;ICE-PIC Enhanced Functions Primitive&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;ICE-PIC Enhanced Functions Primitive&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;mode&amp;gt;		Algorithm (GSM,E1MUX,PACK,UNPACK,etc...)&lt;br /&gt;
&amp;lt;device&amp;gt;	Name of PIC device or (FILE,SOCKET)&lt;br /&gt;
&amp;lt;file&amp;gt;		Ram file (or pipe/file) &lt;br /&gt;
&amp;lt;in/out 1:N&amp;gt;	Input/Output files 1:N&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
This command is the interface to the ICE-PIC running enhanced functions.&lt;br /&gt;
The functions share enough code to justify a single jacket for better reuse. &lt;br /&gt;
&lt;br /&gt;
In GSM mode, the IOC expects an E1 input stream.  The stream is synchronized,&lt;br /&gt;
and processed for E1 sync.  If found, blocks of 2k bits, or 8 E1 frames, are&lt;br /&gt;
restructured and packed as if 8bit, 4bit, 2bit, and 1bit data.  These four &lt;br /&gt;
blocks are copied to the host, where multiple channels with arbitrary width &lt;br /&gt;
and offset can be extracted with little CPU load.  &lt;br /&gt;
&lt;br /&gt;
In E321/E1MUX mode, the IOC expects an E3 input stream.  The stream is &lt;br /&gt;
processed for E3 sync.  If found, four E2 streams are extracted.  These&lt;br /&gt;
in turn are processed for sync and four E1s extracted from each E2.  The 16&lt;br /&gt;
E1s are processed for sync and output on frame boundaries.  E1 data is copied&lt;br /&gt;
to the host buffer in 32 bit packed words, each with a channel designator.  &lt;br /&gt;
The host then demultiplexes the 32 bit data words to the appropriate output.&lt;br /&gt;
&lt;br /&gt;
In 8E1/E1MUX mode, the IOC expects 8 E1 clock and data lines. The 8 serial&lt;br /&gt;
streams are optionally processed for sync and output on frame boundaries.  &lt;br /&gt;
Data is copied to the host buffer in pairs of 32 bit packed words, oriented&lt;br /&gt;
as 32b channel number followed by 32b data word.  The host then demultiplexes &lt;br /&gt;
the 32 bit data words to multiple continuous output streams.&lt;br /&gt;
&lt;br /&gt;
To run 8E1 the IOC must be loaded with:  pic reset &amp;quot;alias&amp;quot; &amp;quot;8e1&amp;quot;&lt;br /&gt;
The IOPORT call must include the flag FLG_DUAL.  &lt;br /&gt;
&lt;br /&gt;
The connector from LSB to MSB in 8E1 mode is:   &lt;br /&gt;
  dat0,clk0,dat1,clk1, ... dat7,clk7    with BIT=0 flag (default)&lt;br /&gt;
  clk0,dat0,clk1,dat1, ... clk7,dat7    with BIT=1 flag&lt;br /&gt;
&lt;br /&gt;
In PACK mode, the routine expects packetized data from multiple instances of&lt;br /&gt;
SOURCEPIC with the /PACKET switch.  This Channelized data can be forwarded&lt;br /&gt;
via an PIC device output port, Midas file/pipe or socket.&lt;br /&gt;
&lt;br /&gt;
In UNPACK mode, the routine expects packetized data from SOURCEPIC and SINKPIC&lt;br /&gt;
packet modes.  It demultiplexes the packets and sends the packet data to the&lt;br /&gt;
appropriate output pipe.  The packet header is removed unless /HDRS is applied.&lt;br /&gt;
&lt;br /&gt;
Switches:&lt;br /&gt;
  /PORT&lt;br /&gt;
  /FLAGS&lt;br /&gt;
  /TL&lt;br /&gt;
  /BPF&lt;br /&gt;
  /REPLAY&lt;br /&gt;
  /FMODE&lt;br /&gt;
  /AFN=n	Auto generate N filenames as &amp;lt;in/out&amp;gt;#&lt;br /&gt;
  /RENUM	Renumber packet channel numbers to match pipe index&lt;br /&gt;
  /HDRS		Include packet headers in UNPACK output files&lt;br /&gt;
 &lt;br /&gt;
Control widgets:&lt;br /&gt;
		1. M:REPLAY MODE&lt;br /&gt;
		2. L:CURR CYCLE&lt;br /&gt;
		3. L:BPC&lt;br /&gt;
		4. L:BCO&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>