SeanChou Posted July 4, 2011 Report Share Posted July 4, 2011 (edited) hi all, My DUT has 2 kinds data in memory, one kinds needs to be 16 bytes alligned, another kinds does not. so I would ask how to request_region() to get regions for different purpose? My workaround currently is to request extra 15 bytes each time when needing 16 bytes alligned. do you have a better solution? Another 2 issues: 1. uvm_mem_mam_cfg on reference manual 1.1 does not contain start_offset. 2. how to handle the enum declaration problem in user code since the alloc_mode_e and locality_e is declared in uvm_mem_man? Edited July 4, 2011 by SeanChou Quote Link to comment Share on other sites More sharing options...
SeanChou Posted July 4, 2011 Author Report Share Posted July 4, 2011 I found there is uvm_mem_mam_policy could handle this. so Please forget this question and forgive me for the turbulence. Another minor question: is there any reason these classes are not extended from uvm_object? (for performance) 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.