tailieunhanh - Validation of Communications Systems with SDL phần 7

Phân tích các lỗi Để hiểu được lỗi, bạn sẽ tìm kiếm trong đó nhà nước quá trình công văn (trong khối dlcb) khi quá trình DLC truyền tín hiệu dlcstopped. A. Trong các mô phỏng, nhấn nút Thêm và chọn Hoa: một chiếc đồng hồ xuất hiện, thể hiện trong Hình , hiển thị trạng thái của mỗi trường hợp quá trình. Bạn thấy rằng quá trình công văn trong khối dlcb waitparmresp nhà nước. | Random Simulation 173 Figure Adding the stop condition Analyze the error To understand the bug you will search in which state process dispatch was in block dlcb when process DLC transmitted to it the signal dlcstopped. A. In the Simulator press the button Watch and select States a watch appears shown in Figure displaying the state of each process instance. You see that process dispatch in block dlcb is in state waitparmresp. Figure The watch window B. In the Editor open the partition part1 of process dispatch you see that in state waitparm-resp the only input is L_SetParmResp therefore when a v76frame is first in the process queue it is discarded. If required the MSC trace corresponding to the bug can be generated by pressing the buttons Start MSC undo H and then redoH. We will not correct this bug because we will learn how to find it with exhaustive simulation. 174 Validation of Communications Systems with SDL Multiple random simulations The random simulation algorithm used in the Simulator is based on a pseudorandom number called seed. The initial default seed value 619430284 in the version used can be changed using Edit Configuration. At each random simulation step the Simulator executes a transition selected among the firable transitions according to the current seed value for example if there are two firable transitions depending on the seed value the first or the second transition is executed computes the new seed value function of the current seed value. It means that the seed changes at every simulation step. Also if you go back undo or init commands to previous simulation steps seed does not return to its previous value this is to simulate different branches easily. Otherwise using the same seed from the same model s state would simulate the same scenario. To illustrate this A. Quit the Simulator start the Simulator as indicated in Section and enter the stop condition rstep 500. B. Press on á to start the random simulation

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.