⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.ksr

📁 spice中支持多层次元件模型仿真的可单独运行的插件源码
💻 KSR
字号:
Building TCGMSG on the KSR1---------------------------To compile TCGMSG for the KSR1 just do the following:        1) cd tcgmsg        2) make all MACHINE=KSRInteger Parameters to TCGMSG library routines---------------------------------------------The TCGMSG library routines that take integer arguments passed byreference all expect 8 byte integers.  This means that C programsshould always pass longs and Fortran programs should always passINTEGER*8s.  Unpredictable behavior can result if 4 byte integers arepassed to the TCGMSG routines.  The internal type indicator MSGINT alsorefers to INTEGER*8 or long data, but users should be aware that the external representation (i.e. XDR format) is 4 byte, thus large valuescan lose precision.Problems with Shared Memory---------------------------If you get an error message that looks like this:  0: CreateSharedRegion: failed to create shared region -1 (0xffffffffffffffff).system error message: Invalid argumentwhen running a TCGMSG program, this means that you could not allocateenough shared memory for the buffer space that TCGMSG uses to passmessages.  TCGMSG allocates the buffer space using the System V sharedmemory routines.  Older versions of the KSR OS limit the amount ofshared memory that can be allocated this way to 4 Mbytes.  This limithas been increased to 512 Mbytes in the newest version of the OS.If you have this problem, you can still use TCGMSG.  You'll need tochange one file that controls how much buffer space is allocated byTCGMSG and recompile the entire library.  The file that needs to bechanged is "ipcv4.0/ksr.h".  Find the #define for KSR_NUM_SLOTS.Change the value specified from 256 to 8.  Now, recompile the library,and your TCGMSG programs.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -