### Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

### Topics - Volkan

Pages: [1]
1
##### General Board / How do I add reception to a SysML block?
« on: September 12, 2016, 11:56:27 pm »
Hi! I tried to create reception for a SysML block, but I cannot find such an option within EA. How do I add reception to a SysML block? Thank you so much.

2
##### General Board / Does EA only generate a code template?
« on: June 19, 2016, 11:53:14 pm »
Hi! I am a beginner in learning EA system engineering edition.

I just watched a introduction on generating HDL code based State Machine model. The example used in that introduction is Portable Audio Player.
I read the VHDL code generated carefully and discovered that the code is only a template without doing any actual computation. You have add the computation to the code template to complete the implementation. Does it mean that EA only generate a code template? Is it possible to generate a code including the actual computation part using EA?

Thank you in advance!

3
##### General Board / Help! A simulation problem with EA!
« on: June 15, 2016, 11:41:18 pm »
Hi! I am a beginner in learning EA system engineering edition.
I practiced establishing a model using SysML. I want to simulate a constraint block for practice. The constraint block is intended to centre a very simple array [1,2,3,4].
I added some JavaScript to the constraint block and established a parametric diagram and then did the simulation. But I got nothing in the simulation result.
When I just changed the JavaScript into "OutputT=OutputT;" and output the input array, the simulation result was correct. Is there something wrong with my JavaScript?
Could someone please help me with this problem? Are there any tutorials on adding JavaScript to constraint blocks? Thank you in advance!

The following is the JavaScript I added:

var aa=new Array();
var sum;
var avg;
var mean=new Array();

aa=InputT;   //InputT is an array, the value is =[1,2,3,4];

for(var i=0;i<4;i++)

sum+=aa;
}

avg=sum/4;    //Calculate the mean value of aa.

for(var i=0;i<4;i++)
{
mean=avg;
}

aa=aa-mean; // Subtract each element in aa by the mean value.

OutputT=aa; //Output

4
##### General Board / Are there any books on Embedded Systems Development using SysML
« on: May 13, 2016, 12:40:04 am »
Recently I read a ebook named "Embedded Systems Development using SysML" by Doug Rosenberg, which is very helpful. Are there any similar books on Embedded Systems Development using SysML? Thank you very much!

5
##### General Board / A question about Embedded Systems Development using SysML
« on: April 07, 2016, 01:38:54 am »
I just read a ebook named "Embedded Systems Development using SysML: An Illustrated Example using Enterprise Architect" downloaded from iconixsw.com. I have a question concerning Chapter 3 Audio Player Behavior of the book. When modeling the system behaviors, why don't we establish activity diagrams for the example Audio Player? Thank you!

6
##### General Board / How to add constraint parameters to a constraint block?
« on: March 15, 2016, 08:57:33 pm »
I am doing modeling with SysML. How to add constraint parameters to a constraint block? Thank you!

Pages: [1]