SteveF Posted August 30, 2019 Report Share Posted August 30, 2019 I am looking at building a Bus Functional model for the purpose of verifying hardware targets. If I want to simply run a C program to drive the simulation what is the best method to interface between the program and the BFM? I was thing that this is a TLM application, however most of the info I have found about that seems to point at high level syste modelling. Thanks for any insight. Quote Link to comment Share on other sites More sharing options...
David Black Posted September 1, 2019 Report Share Posted September 1, 2019 When you say "verifying hardware targets", may we assume you mean physical (not modeled)? Quote Link to comment Share on other sites More sharing options...
SteveF Posted September 18, 2019 Author Report Share Posted September 18, 2019 Thanks for the response. This would be for verifying RTL code, possibly also systemC. Quote Link to comment Share on other sites More sharing options...
Roman Popov Posted September 18, 2019 Report Share Posted September 18, 2019 Question is too generic. If you have cycle-accurate pin-level model you need to interface with, you will have to write a transactor class that converts functional TLM interface to pin-level protocol. Usually it is implemented as SC_THREAD process sensitive to clock edge. Quote Link to comment Share on other sites More sharing options...
SteveF Posted September 18, 2019 Author Report Share Posted September 18, 2019 OK Thanks, I have been looking at some examples and trying to figure out how to code it. I guess the advantage of using the TLM Socket interface between to the C program and the Cycle accurate BFM is that it makes the BFM more generic then? Quote Link to comment Share on other sites More sharing options...
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.