yosri ben salah Posted June 17, 2017 Report Posted June 17, 2017 HI all, i want to use the RIsc_cpu in systemC 2.3.1 library to execute an assembly code, my systemC environnement is microsoft visual studio 2015, how can i proceed to execute my code in the cpu thank you Quote
maehne Posted June 21, 2017 Report Posted June 21, 2017 Have you read the README file in the risc_cpu example directory? You have to compile your assembler program using the provided simple assembler and store it in the icache.img file, which gets loaded by the instruction cache module upon its construction. However, the instruction set is only documented in the source code of the risc_cpu example (see decode.cpp). It is also a very old example, which might not be easily extensible to achieve the goals of your project. Other platforms (such as the SoClib mentioned in one of my previous posts) are better documented. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.