Jump to content

how to get the siumulation time of a specific step with ovp..


Recommended Posts

Hey everyone. I´m a newbie in this area. 

 

Recently I´m trying to do something with systemC, TLM and OVP..What I´m doing is to

1. model the adc, gpio, memory, uart..(peripherals of ARM-Cortex-M3) with systemC

2. let the adc do some simple tasks and gather the simulation time for a specific step. I guess sc_time_stamp() is a good stuff for gathering the starting and endling time..

3. give the simulation time the specific current consumption of each peripherals and the cortex..

 

What´s confusing for me is that

 

1. when I should put the start time label, and end time label. since there is b_transport between the peripherals and cortex m3. 

2. I´m using efm32TG-stk3300. it´s datasheet (http://cdn.energymicro.com/dl/devices/pdf/d0011_efm32tg840_datasheet.pdf,  page 26) gives me some details about how the adc on the board works. there are input current, average active current, current consumption of internal voltage reference. Just not sure, which one is for what state. Or there are any two states, idel(input current, current consumption of internal voltage reference), and active (input current, average active current, current consumption of internal voltage reference)?

 

I hope I have made my question clearly

 

thanks in advance

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...