acc_sysC Posted June 7, 2022 Report Share Posted June 7, 2022 For example, should the model have same number of ports as the RTL? or are we allowed to add additional ports in the model to make it work logically? Thanks Quote Link to comment Share on other sites More sharing options...
Eyck Posted June 8, 2022 Report Share Posted June 8, 2022 The answer is a clear: it depends. In general you are allowed to do whatever is beneficial. If your SC module is supposed to replace the RTL module it should pin compatible. If this is not the case you may add additional ports or leave unused ports ouf. The same applies to the architecture. If the SC module should behave exactly the same you will end up with the same architecture. But then you have the same module in another language - I doubt that this is a goal as you do not gain anything. Usually you want to have a similar behavior e.g. when doing cycle-approximate models. In this case the architecture might be enirely different although usually you end up with a similar structure. But since you abstract some details away you can implement the behavior much more efficient and thus gain simulation performance. Quote Link to comment Share on other sites More sharing options...
acc_sysC Posted June 9, 2022 Author Report Share Posted June 9, 2022 Hi @Eyck, that makes sense. Thanks for the explanation! 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.