Jump to content

Recommended Posts

Posted

Hello ,

 

well i am working on a systemC model of an serial protocol IP ...

My problem is : in this model i have to wait for some particular reg to be set ...then

start the control logic ...then update a few status reg ....

My problem is how to handle this registers in the above scenerio....

 

Could any one suggest me a sol for the above ....i have also heard about GREENSoC

which has GREENREG which could solve this  ???

Anyone tried GREENReG before or could help me used it ???

 

Posted

Hello ,

 

well i am working on a systemC model of an serial protocol IP ...

My problem is : in this model i have to wait for some particular reg to be set ...then

start the control logic ...then update a few status reg ....

My problem is how to handle this registers in the above scenerio....

 

Could any one suggest me a sol for the above ....i have also heard about GREENSoC

which has GREENREG which could solve this  ???

Anyone tried GREENReG before or could help me used it ???

Hello Sir,

Request that some details be provided. As it is IP, maybe

details cannot be disclosed, but then it is impossible to

provide any appropriate solution. Also, when the current

system is proving so difficult to tackle, why complicate

things even more by introducing something that one has

no good working knowledge of ?

working knowledge of ?

Posted

Well Mohit,

 

I don't think its been so difficult to handle,

 

I have used events for the similar case and it does well.

 

What's the problem in using events?

 

Lets have a scenario:

 

1. any write on config reg (lets say) will enable the control for statemachine:

 

     Now create an event sensitive control fsm , the event which is fired from config reg API.

 

2. When the protocol does some work , lets say FIFO's full - empty in between the communication, so generate an event to which the so called interrupt API is sensitive to.

 

I think, events could solve your problem well, just create various API's (processes or functions) and play with them on events.

 

Think of real world scenarios, hardware parallelism is done by SYSTEMC CO-OPERATIVE MULTITASKING scheme for you , its the compilers task to arrange parallelism for various events.

 

Good Luck !!! 

 

Rgs,

KS ;)

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...