Research Article

SystemC Transaction-Level Modeling of an MPSoC Platform Based on an Open Source ISS by Using Interprocess Communication

Algorithm 1

Example of an IPC Call from the ISS.
or1ksim cpu or32 insnset.c
INSTRUCTION (1_sb)
if (add_s)
write (fd_sb_data, &PARAM1, strlen (&PARAM1));
write (fd_sb_add, &add, strlen (&add));
INSTRUCTION (1_1bz)
if (add_1)
write (fd_1bz_add, &add, strlen (&add));
read (fd_1bz_data, &data, strlen (&data))