{"id":28862,"date":"2017-10-01T21:21:38","date_gmt":"2017-10-01T21:21:38","guid":{"rendered":"https:\/\/silvaco.com\/uncategorized\/smartspice-shared-mode-api\/"},"modified":"2021-07-08T18:14:36","modified_gmt":"2021-07-09T01:14:36","slug":"smartspice-shared-mode-api","status":"publish","type":"post","link":"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/","title":{"rendered":"SmartSpice Shared Mode API"},"content":{"rendered":"<div id='template_overview'  class='avia-section main_color avia-section-small avia-no-border-styling  avia-bg-style-scroll  avia-builder-el-0  el_before_av_section  avia-builder-el-first   container_wrap fullsize' style='background-color: #ffffff;  margin-top:0px; margin-bottom:0px; '  ><div class='container' ><main  role=\"main\" itemprop=\"mainContentOfPage\"  class='template-page content  av-content-full alpha units'><div class='post-entry post-entry-type-page post-entry-28862'><div class='entry-content-wrapper clearfix'>\n<div class='flex_column_table av-equal-height-column-flextable -flextable' style='margin-top:20px; margin-bottom:0px; '><div class=\"flex_column av_three_fourth  flex_column_table_cell av-equal-height-column av-align-top first  avia-builder-el-1  el_before_av_one_fourth  avia-builder-el-first  \" style='padding:0px 0px 0px 0px ; border-radius:0px; '><section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock  '   itemprop=\"text\" ><h1>SmartSpice Shared Mode API<\/h1>\n<p>SmartSpice API, shared mode, was developed in order to provide an easy to use solution for products requiring the analog SPICE core engine as an integral part of their functionality. It is a fast and reliable application programming interface used by several SILVACO\u2019s and customer\u2019s tools. The main idea is to allow a client tool to dynamically link with SPICE shared object from pre-installed SmartSpice release package. For convenience, there is a small static library, called \u2018testspice\u2019, which can be used to make integration process seamless. In this article we are going to use this library to demonstrate how to use SPICE shared mode API on simple example. The example is \u2018testLiteShared.cpp\u2019 can be found with testspice.<\/p>\n<p>First, we have to declare a server object which will provide basic services associated with the current application instance:<\/p>\n<blockquote>\n<p>CSpiceSharedServer oServer(argc, argv);<\/p>\n<\/blockquote>\n<p>The class declaration is in MySpiceShared.h file which must be included. The arguments (argc and argv) are those passed to the main program\u2019s procedure.<\/p>\n<p>Next, we have to initialize the server by calling \u2018Initialize\u2019 method of CSpiceSharedServer class:<\/p>\n<\/div><\/section><\/div><div class='av-flex-placeholder'><\/div><div class=\"flex_column av_one_fourth  flex_column_table_cell av-equal-height-column av-align-top av-zero-column-padding   avia-builder-el-3  el_after_av_three_fourth  avia-builder-el-last  \" style='border-radius:0px; ' id=\"whitepaper\" ><p><div  class='avia-builder-widget-area clearfix  avia-builder-el-4  el_before_av_image  avia-builder-el-first '><div id=\"nav_menu-29\" class=\"widget clearfix widget_nav_menu\"><div class=\"menu-simulation-standard-side-menu-japanese-container\"><ul id=\"menu-simulation-standard-side-menu-japanese\" class=\"menu\"><li id=\"menu-item-26253\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-26253\"><a href=\"https:\/\/silvaco.com\/ja\/technical-library\/simulation-standard\/\">Simulation Standard<\/a><\/li>\n<\/ul><\/div><\/div><\/div><br \/>\n<div  class='avia-image-container  av-styling-    avia-builder-el-5  el_after_av_sidebar  el_before_av_button  avia-align-center '  itemprop=\"image\" itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/ImageObject\"  ><div class='avia-image-container-inner'><div class='avia-image-overlay-wrap'><a href=\"\/dynamicweb\/jsp\/downloads\/DownloadDocStepsAction.do?req=download&amp;nm=simstd_Q4_2017_a5.pdf\" class='avia_image' target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" width=\"232\" height=\"300\" class='wp-image-19142 avia-img-lazy-loading-not-19142 avia_image' src=\"https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1-232x300.jpg\" alt='' title='simstd_Q4_2017_a5-1'  itemprop=\"thumbnailUrl\" srcset=\"https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1-232x300.jpg 232w, https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1-768x994.jpg 768w, https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1-545x705.jpg 545w, https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1-29x37.jpg 29w, https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1-43x55.jpg 43w, https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1-37x48.jpg 37w, https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1.jpg 782w\" sizes=\"(max-width: 232px) 100vw, 232px\" \/><\/a><\/div><\/div><\/div><br \/>\n<div  class='avia-button-wrap avia-button-center  avia-builder-el-6  el_after_av_image  avia-builder-el-last ' ><a href='\/dynamicweb\/jsp\/downloads\/DownloadDocStepsAction.do?req=download&amp;nm=simstd_Q4_2017_a5.pdf' class='avia-button  avia-color-grey   avia-icon_select-yes-right-icon avia-size-small avia-position-center ' target=\"_blank\" rel=\"noopener noreferrer\"><span class='avia_iconbox_title' >Download Simulation Standard<\/span><span class='avia_button_icon avia_button_icon_right' aria-hidden='true' data-av_icon='\ue875' data-av_iconfont='entypo-fontello'><\/span><\/a><\/div><\/p><\/div><\/div><!--close column table wrapper. Autoclose: 1 --><\/div><\/div><\/main><!-- close content main element --><\/div><\/div><div id='av_section_2'  class='avia-section main_color avia-section-small avia-no-border-styling  avia-bg-style-scroll  avia-builder-el-7  el_after_av_section  avia-builder-el-last   container_wrap fullsize' style='background-color: #ffffff;  margin-top:0px; margin-bottom:0px; '  ><div class='container' ><div class='template-page content  av-content-full alpha units'><div class='post-entry post-entry-type-page post-entry-28862'><div class='entry-content-wrapper clearfix'>\n<div class='flex_column_table av-equal-height-column-flextable -flextable' style='margin-top:20px; margin-bottom:0px; '><div class=\"flex_column av_one_full  flex_column_table_cell av-equal-height-column av-align-top first  avia-builder-el-8  avia-builder-el-no-sibling  \" style='padding:0px 0px 0px 0px ; border-radius:0px; '><\/div><\/div><!--close column table wrapper. Autoclose: 1 -->\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SmartSpice API, shared mode, was developed in order to provide an easy to use solution for products requiring the analog SPICE core engine as an integral part of their functionality. It is a fast and reliable application programming interface used by several SILVACO\u2019s and customer\u2019s tools. The main idea is to allow a client tool to dynamically link with SPICE shared object from pre-installed SmartSpice release package. For convenience, there is a small static library, called \u2018testspice\u2019, which can be used to make integration process seamless. In this article we are going to use this library to demonstrate how to use SPICE shared mode API on simple example. The example is \u2018testLiteShared.cpp\u2019 can be found with testspice.<\/p>\n","protected":false},"author":5,"featured_media":19142,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7570],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.0 (Yoast SEO v24.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SmartSpice Shared Mode API - \u30b7\u30eb\u30d0\u30b3\u30fb\u30b8\u30e3\u30d1\u30f3 : Silvaco Japan<\/title>\n<meta name=\"description\" content=\"SmartSpice API, shared mode, was developed in order to provide an easy to use solution for products requiring the analog SPICE core engine as an integral part of their functionality.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SmartSpice Shared Mode API\" \/>\n<meta property=\"og:description\" content=\"SmartSpice API, shared mode, was developed in order to provide an easy to use solution for products requiring the analog SPICE core engine as an integral part of their functionality.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/\" \/>\n<meta property=\"og:site_name\" content=\"\u30b7\u30eb\u30d0\u30b3\u30fb\u30b8\u30e3\u30d1\u30f3 : Silvaco Japan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SilvacoSoftware\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-01T21:21:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-09T01:14:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"782\" \/>\n\t<meta property=\"og:image:height\" content=\"1012\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ingrid Schwarz\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@SilvacoSoftware\" \/>\n<meta name=\"twitter:site\" content=\"@SilvacoSoftware\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ingrid Schwarz\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/\",\"url\":\"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/\",\"name\":\"SmartSpice Shared Mode API - \u30b7\u30eb\u30d0\u30b3\u30fb\u30b8\u30e3\u30d1\u30f3 : Silvaco Japan\",\"isPartOf\":{\"@id\":\"https:\/\/silvaco.com\/ja\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1.jpg\",\"datePublished\":\"2017-10-01T21:21:38+00:00\",\"dateModified\":\"2021-07-09T01:14:36+00:00\",\"author\":{\"@id\":\"https:\/\/silvaco.com\/ja\/#\/schema\/person\/0211ab818f74997d5a0ef83d09842d83\"},\"description\":\"SmartSpice API, shared mode, was developed in order to provide an easy to use solution for products requiring the analog SPICE core engine as an integral part of their functionality.\",\"breadcrumb\":{\"@id\":\"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/#primaryimage\",\"url\":\"https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1.jpg\",\"contentUrl\":\"https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1.jpg\",\"width\":782,\"height\":1012},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/silvaco.com\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SmartSpice Shared Mode API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/silvaco.com\/ja\/#website\",\"url\":\"https:\/\/silvaco.com\/ja\/\",\"name\":\"\u30b7\u30eb\u30d0\u30b3\u30fb\u30b8\u30e3\u30d1\u30f3 : Silvaco Japan\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/silvaco.com\/ja\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/silvaco.com\/ja\/#\/schema\/person\/0211ab818f74997d5a0ef83d09842d83\",\"name\":\"Ingrid Schwarz\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/silvaco.com\/ja\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d3bb75be07e3e2b63d0be26dc8912ffe?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d3bb75be07e3e2b63d0be26dc8912ffe?s=96&d=blank&r=g\",\"caption\":\"Ingrid Schwarz\"},\"url\":\"https:\/\/silvaco.com\/ja\/author\/ingrid\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"SmartSpice Shared Mode API - \u30b7\u30eb\u30d0\u30b3\u30fb\u30b8\u30e3\u30d1\u30f3 : Silvaco Japan","description":"SmartSpice API, shared mode, was developed in order to provide an easy to use solution for products requiring the analog SPICE core engine as an integral part of their functionality.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/","og_locale":"ja_JP","og_type":"article","og_title":"SmartSpice Shared Mode API","og_description":"SmartSpice API, shared mode, was developed in order to provide an easy to use solution for products requiring the analog SPICE core engine as an integral part of their functionality.","og_url":"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/","og_site_name":"\u30b7\u30eb\u30d0\u30b3\u30fb\u30b8\u30e3\u30d1\u30f3 : Silvaco Japan","article_publisher":"https:\/\/www.facebook.com\/SilvacoSoftware\/","article_published_time":"2017-10-01T21:21:38+00:00","article_modified_time":"2021-07-09T01:14:36+00:00","og_image":[{"width":782,"height":1012,"url":"https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1.jpg","type":"image\/jpeg"}],"author":"Ingrid Schwarz","twitter_card":"summary_large_image","twitter_creator":"@SilvacoSoftware","twitter_site":"@SilvacoSoftware","twitter_misc":{"\u57f7\u7b46\u8005":"Ingrid Schwarz","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/","url":"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/","name":"SmartSpice Shared Mode API - \u30b7\u30eb\u30d0\u30b3\u30fb\u30b8\u30e3\u30d1\u30f3 : Silvaco Japan","isPartOf":{"@id":"https:\/\/silvaco.com\/ja\/#website"},"primaryImageOfPage":{"@id":"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/#primaryimage"},"image":{"@id":"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/#primaryimage"},"thumbnailUrl":"https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1.jpg","datePublished":"2017-10-01T21:21:38+00:00","dateModified":"2021-07-09T01:14:36+00:00","author":{"@id":"https:\/\/silvaco.com\/ja\/#\/schema\/person\/0211ab818f74997d5a0ef83d09842d83"},"description":"SmartSpice API, shared mode, was developed in order to provide an easy to use solution for products requiring the analog SPICE core engine as an integral part of their functionality.","breadcrumb":{"@id":"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/#primaryimage","url":"https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1.jpg","contentUrl":"https:\/\/silvaco.com\/wp-content\/uploads\/2020\/03\/simstd_Q4_2017_a5-1.jpg","width":782,"height":1012},{"@type":"BreadcrumbList","@id":"https:\/\/silvaco.com\/ja\/simulation-standard\/smartspice-shared-mode-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/silvaco.com\/ja\/"},{"@type":"ListItem","position":2,"name":"SmartSpice Shared Mode API"}]},{"@type":"WebSite","@id":"https:\/\/silvaco.com\/ja\/#website","url":"https:\/\/silvaco.com\/ja\/","name":"\u30b7\u30eb\u30d0\u30b3\u30fb\u30b8\u30e3\u30d1\u30f3 : Silvaco Japan","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/silvaco.com\/ja\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/silvaco.com\/ja\/#\/schema\/person\/0211ab818f74997d5a0ef83d09842d83","name":"Ingrid Schwarz","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/silvaco.com\/ja\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d3bb75be07e3e2b63d0be26dc8912ffe?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d3bb75be07e3e2b63d0be26dc8912ffe?s=96&d=blank&r=g","caption":"Ingrid Schwarz"},"url":"https:\/\/silvaco.com\/ja\/author\/ingrid\/"}]}},"_links":{"self":[{"href":"https:\/\/silvaco.com\/ja\/wp-json\/wp\/v2\/posts\/28862"}],"collection":[{"href":"https:\/\/silvaco.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/silvaco.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/silvaco.com\/ja\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/silvaco.com\/ja\/wp-json\/wp\/v2\/comments?post=28862"}],"version-history":[{"count":1,"href":"https:\/\/silvaco.com\/ja\/wp-json\/wp\/v2\/posts\/28862\/revisions"}],"predecessor-version":[{"id":28867,"href":"https:\/\/silvaco.com\/ja\/wp-json\/wp\/v2\/posts\/28862\/revisions\/28867"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/silvaco.com\/ja\/wp-json\/wp\/v2\/media\/19142"}],"wp:attachment":[{"href":"https:\/\/silvaco.com\/ja\/wp-json\/wp\/v2\/media?parent=28862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/silvaco.com\/ja\/wp-json\/wp\/v2\/categories?post=28862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/silvaco.com\/ja\/wp-json\/wp\/v2\/tags?post=28862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}