<?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=ICE_Cores</id>
	<title>ICE Cores - 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=ICE_Cores"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=ICE_Cores&amp;action=history"/>
	<updated>2026-05-09T20:20:34Z</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=ICE_Cores&amp;diff=504&amp;oldid=prev</id>
		<title>Wikiadmin at 15:55, 14 April 2020</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=ICE_Cores&amp;diff=504&amp;oldid=prev"/>
		<updated>2020-04-14T15:55:15Z</updated>

		<summary type="html">&lt;p&gt;&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 15:55, 14 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-l3&quot; &gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;The ICE-CORE library is a collection of signal processing functions designed to run on multiple software/hardware implementations including ICE-FPGA cards. A common public interface is used to simplify development, testing, validation, and performance comparisons between the supported architectures.  The HALO or Hardware Abstraction Layer Object is a C/Java callable format definition supporting run-time selection of the underlying hardware implementation. Wrappers are auto-generated for code sharing between various Midas and non-Midas frameworks.&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;The ICE-CORE library is a collection of signal processing functions designed to run on multiple software/hardware implementations including ICE-FPGA cards. A common public interface is used to simplify development, testing, validation, and performance comparisons between the supported architectures.  The HALO or Hardware Abstraction Layer Object is a C/Java callable format definition supporting run-time selection of the underlying hardware implementation. Wrappers are auto-generated for code sharing between various Midas and non-Midas frameworks.&lt;/div&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;{{Catindex|category={{PAGENAME}}}}&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;{{Catindex|category={{PAGENAME}}}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Index_pages]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&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;div class=&amp;quot;clear&amp;quot;&amp;gt;&amp;lt;/div&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;div class=&amp;quot;clear&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&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;== Overview ==&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;== Overview ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wikiadmin</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=ICE_Cores&amp;diff=490&amp;oldid=prev</id>
		<title>Wikiadmin: Created page with &quot;{{Gotoparent|Software}} &lt;div class=&quot;description&quot;&gt;ICE's framework for developing ''Code Once, Run Everywhere'' library functions.&lt;/div&gt; The ICE-CORE library is a collection of...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=ICE_Cores&amp;diff=490&amp;oldid=prev"/>
		<updated>2020-04-14T15:02:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Gotoparent|Software}} &amp;lt;div class=&amp;quot;description&amp;quot;&amp;gt;ICE&amp;#039;s framework for developing &amp;#039;&amp;#039;Code Once, Run Everywhere&amp;#039;&amp;#039; library functions.&amp;lt;/div&amp;gt; The ICE-CORE library is a collection of...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Gotoparent|Software}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;description&amp;quot;&amp;gt;ICE's framework for developing ''Code Once, Run Everywhere'' library functions.&amp;lt;/div&amp;gt;&lt;br /&gt;
The ICE-CORE library is a collection of signal processing functions designed to run on multiple software/hardware implementations including ICE-FPGA cards. A common public interface is used to simplify development, testing, validation, and performance comparisons between the supported architectures.  The HALO or Hardware Abstraction Layer Object is a C/Java callable format definition supporting run-time selection of the underlying hardware implementation. Wrappers are auto-generated for code sharing between various Midas and non-Midas frameworks.&lt;br /&gt;
{{Catindex|category={{PAGENAME}}}}&lt;br /&gt;
[[Category:Index_pages]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;clear&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== Overview ==&lt;br /&gt;
The HALO currently supports the following architectures:&lt;br /&gt;
  JDK - the java reference implementation &lt;br /&gt;
  CPU - the native C implementation&lt;br /&gt;
  GPU - the GPU implementation&lt;br /&gt;
  VHS - the verilator HDL simulator implementation&lt;br /&gt;
  MLS - the MatLab Simulink implementation&lt;br /&gt;
  ICE - the ICE FPGA implementation&lt;br /&gt;
&lt;br /&gt;
The development methodology for ICE FPGA functions is as follows:&lt;br /&gt;
# Code a simple reference algorithm for the function in Java (with primitive and test suite)&lt;br /&gt;
# Code an optimized version in C (and validate)&lt;br /&gt;
# Convert to Verilog using the Verilator HDL simulator (and validate)&lt;br /&gt;
# Compile for FPGA and run on an ICE card (and validate)&lt;br /&gt;
 &lt;br /&gt;
The Core Library class can be found in nxm.ice.lib.Core.java.  &lt;br /&gt;
&lt;br /&gt;
This paradigm supports the development of software systems that can take advantage of special-purpose hardware, such as GPU's and ICE FPGA's, either as needed or as available. &lt;br /&gt;
&lt;br /&gt;
== Naming Conventions ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Library names should adhere to the following naming conventions:&amp;lt;/li&amp;gt;&lt;br /&gt;
 Foo.java   - the java implementation of the function Foo&lt;br /&gt;
 Foo.c      - the C implementation of Foo (conditionally compiled for CPU, GPU, VHS, or ICE)&lt;br /&gt;
&amp;lt;li&amp;gt;The Java reference implementation should put readability above performance.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The native and hardware implementations should stress performance.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The NeXtMidas wrappers to the Native functions are inner classes of Foo.java, creating Foo$CPU.class, Foo$ICE.class, etc.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Function ==&lt;br /&gt;
The Core class in nxm.ice.lib provides the standard framework for developing a Java callable Core. The wrappers for each hardware implementation are auto-generated by the inner class definitions in the Java reference class. This allows the &amp;lt;code&amp;gt;/CORE=x&amp;lt;/code&amp;gt; switch to select the desired implementation of the library function without altering the primitive.&lt;br /&gt;
&lt;br /&gt;
There is an example for each library language on their respective pages: [[CORE JDK]], [[CORE CPU]], [[CORE GPU]], [[CORE VHS]], [[CORE ICE]]&lt;br /&gt;
&lt;br /&gt;
== Primitive ==&lt;br /&gt;
It is recommended that you write a primitive that uses this class. The syntax to initialize a Core object from NeXtMidas is as follows:&lt;br /&gt;
 Core foo = Core.forName(&amp;quot;Foo&amp;quot;,MA);&lt;br /&gt;
&amp;lt;!--  &amp;lt;code&amp;gt;Core foo = Core.forName(&amp;quot;Foo&amp;quot;,MA);&amp;lt;/code&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/CORE=x&amp;lt;/code&amp;gt; switch is parsed in the &amp;lt;code&amp;gt;forName()&amp;lt;/code&amp;gt; method to select the implementation.  The switch argument must match the first letters of one of the implementations or an exception will be thrown.&lt;br /&gt;
&lt;br /&gt;
Here is an example NeXtMidas primitive icenoop.java:&lt;br /&gt;
&lt;br /&gt;
  /**&lt;br /&gt;
    Implements a NOOP function with reformat and decimation&lt;br /&gt;
  */&lt;br /&gt;
  public class icenoop extends Primitive implements Chainable {&lt;br /&gt;
  &lt;br /&gt;
    private int dec,tl=4096;&lt;br /&gt;
    private DataFile hi,ho;&lt;br /&gt;
    private Data dbi,dbo;&lt;br /&gt;
    private Core core;&lt;br /&gt;
  &lt;br /&gt;
    public int open() {&lt;br /&gt;
  &lt;br /&gt;
      dec = MA.getL(&amp;quot;DEC&amp;quot;,1);&lt;br /&gt;
  &lt;br /&gt;
      hi = MA.getDataFile (&amp;quot;IN&amp;quot;,&amp;quot;1000&amp;quot;,&amp;quot;S#,C#&amp;quot;,0);&lt;br /&gt;
      hi.open();&lt;br /&gt;
  &lt;br /&gt;
      ho = MA.getDataFile (&amp;quot;OUT&amp;quot;,hi,0);&lt;br /&gt;
      ho.setXDelta(hi.getXDelta()*dec);&lt;br /&gt;
      ho.open();&lt;br /&gt;
  &lt;br /&gt;
      core = Core.forName(&amp;quot;Noop&amp;quot;,MA);&lt;br /&gt;
      core.setFormats(hi.getFormat(),ho.getFormat());&lt;br /&gt;
      core.set(&amp;quot;DECIMATION&amp;quot;,dec);&lt;br /&gt;
      core.open();&lt;br /&gt;
  &lt;br /&gt;
      tl = MA.getL(&amp;quot;/TL&amp;quot;, tl);&lt;br /&gt;
      dbi = hi.getDataBuffer(tl);&lt;br /&gt;
      dbo = ho.getDataBuffer(tl);&lt;br /&gt;
  &lt;br /&gt;
      return (NORMAL);&lt;br /&gt;
    }&lt;br /&gt;
  &lt;br /&gt;
    public int process() {&lt;br /&gt;
      int n = hi.read(dbi);&lt;br /&gt;
      if (n&amp;lt;0) return (FINISH);&lt;br /&gt;
      n = core.process (dbi,n, dbo,tl);&lt;br /&gt;
      if (n&amp;gt;0) ho.write(dbo,n);&lt;br /&gt;
      return (NORMAL);&lt;br /&gt;
    }&lt;br /&gt;
  &lt;br /&gt;
    public int close() {&lt;br /&gt;
      core.close();&lt;br /&gt;
      hi.close();&lt;br /&gt;
      ho.close();&lt;br /&gt;
      return (NORMAL);&lt;br /&gt;
    }&lt;br /&gt;
  &lt;br /&gt;
    public Object getNextLink() { return core; }&lt;br /&gt;
    public Object getPrevLink() { return null; }&lt;br /&gt;
  &lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
== Example Calls == &lt;br /&gt;
&lt;br /&gt;
Some sample calls for the foo primitive would look as follows:&lt;br /&gt;
=== JDK ===&lt;br /&gt;
 nM&amp;gt; fooprim/core=java &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt;&lt;br /&gt;
&amp;lt;!--&amp;lt;code&amp;gt;nM&amp;gt; fooprim/core=java &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt;&amp;lt;/code&amp;gt;--&amp;gt;&lt;br /&gt;
=== CPU ===&lt;br /&gt;
 nM&amp;gt; fooprim/core=cpu &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt;&lt;br /&gt;
 nM&amp;gt; fooprim/core=c &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt;&lt;br /&gt;
&amp;lt;!--&amp;lt;code&amp;gt;nM&amp;gt; fooprim/core=cpu &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt;&amp;lt;/code&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;nM&amp;gt; fooprim/core=c &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt;&amp;lt;/code&amp;gt;--&amp;gt;&lt;br /&gt;
=== ICE ===&lt;br /&gt;
 nM&amp;gt; fooprim/core=ice &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt;&lt;br /&gt;
 nM&amp;gt; fooprim/core=ice/coredev=pic1:12 &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt;&lt;br /&gt;
&amp;lt;!--&amp;lt;code&amp;gt;nM&amp;gt; fooprim/core=ice &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt;&amp;lt;/code&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;nM&amp;gt; fooprim/core=ice/coredev=pic1:12 &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt; &amp;lt;arg&amp;gt;&amp;lt;/code&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Core Library ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Index_pages]]&lt;/div&gt;</summary>
		<author><name>Wikiadmin</name></author>
		
	</entry>
</feed>