首页> 外文会议>Annual ACM SIGPLAN-SIGACT symposium on principles of programming languages >Geometry of Synthesis Ⅲ Resource Management Through Type Inference
【24h】

Geometry of Synthesis Ⅲ Resource Management Through Type Inference

机译:通过型推断的合成Ⅲ资源管理几何

获取原文

摘要

Geometry of Synthesis is a technique for compiling higher-level programming languages into digital circuits via their game semantic model. Ghica (2007) first presented the key idea, then Ghica and Smith (2010) gave a provably correct compiler into asynchronous circuits for Syntactic Control of Interference (SCI), an affine-typed version of Reynolds's Idealized Algol. Affine typing has the dual benefits of ruling out race conditions through the type system and having a finite-state game-semantic model for any term, which leads to a natural circuit representation and simpler correctness proofs. In this paper we go beyond SCI to full Idealized Algol, enhanced with shared-memory concurrency and semaphores (Ghica and Murawski, 2008). Compiling ICA proceeds in three stages. First, an intermediate type system called Syntactic Control of Concurrency (SCC), (Ghica et al., 2006) is used to statically determine "concurrency bounds" on all identifiers in the program. Then, a program transformation called serialization is applied to the program to translate it into an equivalent SCC program in which all concurrency bounds are set to the unit. Finally, the resulting program can be then compiled into asynchronous circuits using a slightly enhanced version of the GoS II compiler, which can handle assignable variables used in non-sequential contexts.
机译:合成几何形状是一种通过他们的游戏语义模型将更高级别的编程语言编译到数字电路的技术。 Ghica(2007)首先介绍了关键的想法,然后加入Ghica和Smith(2010)将一个可怕的编译器给了一个可用于异步电路的异步电路,用于干扰(SCI)的句法控制,雷诺的理想化藻类的仿射版本。仿射键入具有通过类型系统测定竞争条件的双重效益,并为任何术语具有有限状态游戏语义模型,这导致自然电路表示和更简单的正确性证明。在本文中,我们超越了SCI到完整的理想化藻类,增强了共享内存并发和信号量(GHICA和MURAWSKI,2008)。编制ICA的三个阶段。首先,称为并发性语法控制的中间类型系统(SCC),(GHICA等,2006)用于静态地确定程序中所有标识符的“并发界限”。然后,将称为序列化的程序转换应用于程序以将其转换为等效的SCC程序,其中将所有并发界限设置为设备。最后,可以使用略微增强的GOS II编译器的版本将生成的程序编译成异步电路,该GOS II编译器可以处理在非顺序上下文中使用的可分配变量。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号