Deepak_K Posted February 6, 2022 Report Posted February 6, 2022 Do we have any tool for auto systemc TLM model generation from spec ? I am looking to get the basic register/interface level model up automatically. Don't want to re-invent the wheel if something open source is available. Quote
Eyck Posted February 6, 2022 Report Posted February 6, 2022 This depends on your spec. Besides tools like SNPS TLM Creator there are solutions to generate code from SystemRDL or IPXact. One example would be to use te tlm_target of the SCC (https://github.com/Minres/SystemC-Components) and generate the registers from a SystemRDL using RDL Editor (https://github.com/Minres/RDL-Editor) to generate the register declarations. This would look like this set of peripherals: https://github.com/Minres/HIFIVE1-VP/tree/master/platform/incl/sysc/SiFive Quote
Deepak_K Posted February 7, 2022 Author Report Posted February 7, 2022 Thanks Eyck. I don't prefer TLM creator since this creates dependency on their library and needs their tool license etc. I will checkout your SiFive examples. 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.