Jump to content
Sign in to follow this  
hongping

More details on component declaration

Recommended Posts

Per 1.0 release, the component declaration in DSL syntax is as follow:

component_declaration ::= component component_identifier [ : component_super_spec ] { { component_body_item } } [ ; ]
component_super_spec ::= : type_identifier

Hence when declaring component with a super, is it has that to be double ":"?

component DMA_child_c :: DMA_parent {
	bla
	bla
}

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×